by angus77 · 15y ago · 0 comments
EDIT: Looking at http://wiki.hydrogenaudio.org/index.php?title=Lossless_compa... it looks like the only clear advantage ALAC has is iTunes/iDevice support. FLAC has faster encoding/decoding speeds, and it's unknown if ALAC has error handling (which FLAC has). FLAC also supports RIFF chunks, has pipe support and is ReplayGain compatible, and has some support for embedded CUE sheets.
So, store your music in flac and convert as needed.
That would definitely be better, but the fact is that they can't (reasonably) re-write all of the previous iDevice firmwares to support FLAC, so open sourcing ALAC benefits all of the users with those devices. If open source codecs is the route Apple is going down, then perhaps they will ad support for FLAC to new versions of iOS, but for everyone not using those versions, this would still help. Throwing weight behind FLAC is good, just throwing weight behind FLAC is slightly less good. All that said, using lossless codecs on an iPod, like you said, is a bit overkill.
What I think would really be nice is if Apple would open source the music database on the iPod -- not being able to load an iPod from Linux/not iTunes (easily) is much more of an issue for me than support for a lossless codec.
FLAC is honestly one of the happier OSS success stories.
A decade later, many developers are still supporting IE6's peculiar dialect of HTML. And a few are still supporting IE5's even more peculiar dialect.
Shouldn't take us long to find out now.
Then you have the metadata problem — ALAC is in a normal mp4 container so everything's uniform and well-used, with FLAC you're stuck with the ogg container or its proprietary system. That wouldn't be so bad, except that almost nobody puts metadata in their FLAC files, instead preferring to bundle along separate text files with a description of the tracks and info about the rip. I think they do it so that the whole file's hash stays constant.
Better still, FLAC provides excellent command-line tools for encoding, decoding and tagging so I can script batch operations easily. I'm not aware of anything similar for ALAC. Maybe with the codec in the open these tools will emerge?
Other theories included better PPC support, and better designed to be decoded in low power hardware like the Airport Express.
To be honest some combination of NIH syndrome and residual squeamishness about using open source code seems far more likely.
From which git repository do you clone your encoding software?
Have you used WAV files recently? I haven't read about major progress on that front either.