Live data from Hacker News

Apple Lossless Audio Codec is now open source (Apache license)

alac.macosforge.org

61–70 of 182 posts

Re: Apple Lossless Audio Codec is now open source (Apache license)

#61
post #16

Earlier quoted context omitted.

MP3 was great for its time. It’s not a crap format, there are merely better formats available today. They weren’t when MP3 came to the market. (Specifically AAC was developed as a successor to MP3.) I’m also not sure whether this tells you anything. Apple started selling AAC encoded music at a time when no† music player could play it. Many mistakenly thought that AAC was some sort of proprietary Apple codec and it mi…

ALAC is used in AirPlay streaming (it was first announced along with the AirPort Express in mid 2004). This might be a plan to make AirPlay audio streaming more ubiquitous.

The nice thing about ALAC with AirPlay is it does not transcode to a compressed format for streaming.

Re: Apple Lossless Audio Codec is now open source (Apache license)

#62
post #53
post #49

What I don't get is why don't places like iTunes and Amazon offer Lossless options for downloading? I mean, here they are bragging about 720p, 1080p, high definition video which is gigantic in size, approaching or exceeding gigabytes for a typical 2 hour movie. Yet, we can't spare the extra space or bandwidth for a higher quality audio file which is still a fraction of the size? I don't get it.

That video isn't lossless either. The mostly-indistinguishable-from-lossless point has already been reached for downloadable audio, whereas video is still creeping up on it.

Not even remotely. H.264 is wondrous, but it can't compete with even ProRes. If we all had gigabit pipes, Apple would be selling/renting the latter over the former, believe you me.

EDIT: Of course, at comparable bitrates, H.264 would likely be superior to ProRes (75-250Mb/s), but the computational complexity involved in decoding even intra-frame only H.264 versus a mezzanine format like ProRes would certainly point towards sending the latter rather than the former down the pipe, ceteris paribus.

Re: Apple Lossless Audio Codec is now open source (Apache license)

#63
post #12
post #9

This is fantastic. Apple uses AAC partly because of the patent royalty ( http://mp3licensing.com/ ) which they have to pay on every iPad/pod/etc sold, as well as because it is just a better format. MP3 is a total racket held by Thompson Technicolor, on top of being a pretty crap format. Hopefully this is a portends Apple offering lossless through ITMS on top of the 1080p rights they are hunting down right now.

MP3 may be a crap format, but it's the VHS of the digital world.

It's the DVD of the audio world, ten years from now. It's supported everywhere. The quality is good enough, but we have better.

Re: Apple Lossless Audio Codec is now open source (Apache license)

#64
post #29

Earlier quoted context omitted.

I only buy lossless music. I usually end up buying WAV/AIFF/FLAC direct from the artist, from their record label, or from Beatport. Once in a while, if I can't find something, I'll buy it on CD. Earlier today, I actually bought vinyl because I couldn't find a lossless digital version of this track anywhere: http://www.youtube.com/watch?v=AwsUfEvmKwI Lossy formats are useless to me since I can't remix them without it…

Do you really think you could hear the difference between 256kbps AAC and Lossless? Even if your hearing is way above average, most audio players and earphones aren't that good. (Also, given the less-than-subtle music you linked to, I doubt that it really matters.)

My guess is that a lot of the psychoacoustic models used by lossy codecs aren't tuned for electronic music. The resonant distortion on the bassline of the linked track, for example, might sound different in the original. I have one song in which I can tell a difference for sure: Who Said by Planet Funk, about 1:30 in, has a rising modulated treble sound that sounds awful in 320kbit MP3 compared to the original.

Re: Apple Lossless Audio Codec is now open source (Apache license)

#65

I hope Google adds (hardware) support for this to Android - it would add another option for patent un-encumbered audio formats, outside of Vorbis.

FLAC has been around longer and is also part of the Xiph.org project along with Vorbis. If Google wanted to add a lossless codec, they certainly could have before now. (Disclaimer: I am associated with Xiph.org.)

It looks like it's been done, as of Honeycomb for tablets and Ice Cream Sandwich for phones: https://code.google.com/p/android/issues/detail?id=1461

Re: Apple Lossless Audio Codec is now open source (Apache license)

#67
post #23
post #2

What's the point of this over flac?

I'm not familiar with the current state of FLAC but as of a few years ago ALAC offered better meta-data in the MP4 container. Part of the reason I abandoned FLAC years ago was constant problems with meta-data. I would often end up corrupt files post-tagging or the player would simply not show meta-data I had meticulously added to my bootleg collection. I got the sense at the time that there was a lack of agreement on…

Note to uriel: your last few posts are all [dead] for some reason.

  uriel 2 hours ago | link [dead]

  Afaik FLAC this days uses an ogg container, which is where
  the metadata goes, so support should be as good as for Ogg
  Vorbis.

  In practical terms, I have a huge collection of FLAC, and
  never had trouble with metadata, sounds like a bug in
  whatever player you were using.

Re: Apple Lossless Audio Codec is now open source (Apache license)

#68
post #24

I've got all my CDs ripped in ALAC so that I can use the iTunes option to have the tracks automatically transcoded to smaller, lossy AAC when putting them on iDevices. I welcome this open sourcing because it makes my 'archival' format slightly less oddball.

ffmpeg already can transcode from alac to flac, I rip with itunes and transcode to flac for my Sansa Clip.

Re: Apple Lossless Audio Codec is now open source (Apache license)

#69
post #6

Earlier quoted context omitted.

It plays on iPods and other iOS devices. Other than that, not much -- FLAC's compression ratio is a bit better on average, and more non-Apple devices support it. The release of this code isn't really all that exciting, as there's already a free reverse-engineered implementation in libav. (It might not support all the modes described in this source release, though.)

he means ffmpeg

ffmpeg renamed themselves to libav

Re: Apple Lossless Audio Codec is now open source (Apache license)

#70
post #49

What I don't get is why don't places like iTunes and Amazon offer Lossless options for downloading? I mean, here they are bragging about 720p, 1080p, high definition video which is gigantic in size, approaching or exceeding gigabytes for a typical 2 hour movie. Yet, we can't spare the extra space or bandwidth for a higher quality audio file which is still a fraction of the size? I don't get it.

Boomkat.com is an excellent source for lossless music. They offer almost everything as FLAC, which unfortunately I have to convert to ALAC in order to make it available in iTunes/on my iPhone. Quobuz.com on the other hand offers ALAC, WAV and FLAC. Basic french language skills will enable you to buy music there.
Post reply on HN