FLAC: Difference between revisions
(revisions) |
(some more codecs) |
||
Line 19: | Line 19: | ||
FLAC is distinguished from general lossless algorithms such as ZIP and gzip in that it is specifically designed for the efficient packing of audio data; while ZIP may compress a CD-quality audio file 20–40%, FLAC achieves compression rates of 30–70%. | FLAC is distinguished from general lossless algorithms such as ZIP and gzip in that it is specifically designed for the efficient packing of audio data; while ZIP may compress a CD-quality audio file 20–40%, FLAC achieves compression rates of 30–70%. | ||
While lossy codecs can achieve ratios of 80–90+%, they do this at the expense of discarding data from the original stream. | While lossy codecs can achieve ratios of 80–90+%, they do this at the expense of discarding data from the original stream. Though FLAC uses a similar technique in its encoding process, it also adds "residual" data to allow the decoder to restore the original waveform flawlessly. | ||
FLAC has become the preferred lossless format for trading live music online. It has a smaller file size than Shorten, and unlike MP3, it's lossless, which ensures the highest fidelity to the source material, which is important to live music traders. It has recently become a favorite trading format of non-live lossless audio traders as well. | FLAC has become the preferred lossless format for trading live music online. It has a smaller file size than Shorten, and unlike MP3, it's lossless, which ensures the highest fidelity to the source material, which is important to live music traders. It has recently become a favorite trading format of non-live lossless audio traders as well. | ||
FLAC compiles on many platforms: most Unices (including Linux, *BSD, Solaris, and Mac OS X), Windows, BeOS, and OS/2. There are build systems for autoconf/automake, MSVC, Watcom C, and Project Builder. | There are other lostless audio codecs, however: WAVPACK (marginally better compression, slower), TAK, Monkey's audio and some more. | ||
FLAC compiles on many platforms: most Unices (including Linux, *BSD, Solaris, and Mac OS X), DOS, Windows, BeOS, and OS/2. There are build systems for autoconf/automake, MSVC, Watcom C, and Project Builder. | |||
== More information == | == More information == |
Revision as of 21:48, 5 June 2007
FLAC stands for Free Lossless Audio Codec. FLAC is an audio compression codec that is lossless. Unlike lossy codecs such as Vorbis and MP3, it does not remove any information from the audio stream.
On January 29th, 2003, the Xiph.Org Foundation) announced the incorporation of FLAC under their flag, to go along with Vorbis, Theora, and Speex.
The Project
The FLAC project consists of:
- the stream format
- libFLAC, a library of reference encoders and decoders, and a metadata interface
- libFLAC++, an object wrapper around libFLAC
- flac, a command-line wrapper around libFLAC to encode and decode .flac files
- metaflac, a command-line metadata editor for .flac files
- input plugins for various music players (Winamp, XMMS, foobar2000, and more in the works)
"Free" means that the specification of the stream format is in the public domain (the FLAC project reserves the right to set the FLAC specification and certify compliance), and that neither the FLAC format nor any of the implemented encoding/decoding methods are covered by any patent. It also means that the sources for libFLAC and libFLAC++ are available under The New BSD license and the sources for flac, metaflac, and the plugins are available under the GPL.
Comparisons
FLAC is distinguished from general lossless algorithms such as ZIP and gzip in that it is specifically designed for the efficient packing of audio data; while ZIP may compress a CD-quality audio file 20–40%, FLAC achieves compression rates of 30–70%.
While lossy codecs can achieve ratios of 80–90+%, they do this at the expense of discarding data from the original stream. Though FLAC uses a similar technique in its encoding process, it also adds "residual" data to allow the decoder to restore the original waveform flawlessly.
FLAC has become the preferred lossless format for trading live music online. It has a smaller file size than Shorten, and unlike MP3, it's lossless, which ensures the highest fidelity to the source material, which is important to live music traders. It has recently become a favorite trading format of non-live lossless audio traders as well.
There are other lostless audio codecs, however: WAVPACK (marginally better compression, slower), TAK, Monkey's audio and some more.
FLAC compiles on many platforms: most Unices (including Linux, *BSD, Solaris, and Mac OS X), DOS, Windows, BeOS, and OS/2. There are build systems for autoconf/automake, MSVC, Watcom C, and Project Builder.
More information
- FLACDecoders: List of decoders
- FLACEncoders: List of encoders
Non-PC playback support
FLAC is supported by a wide range of devices such as:
- Rio Karma http://www.digitalnetworksna.com/rioaudio/
- iAudio http://www.iaudio.com
- PhatNoise Phatbox
- PhatNoise Home Media Player
- Kenwood Music Keg
- SlimDevices Squeezebox http://www.slimdevices.com
External links
- Project homepage
- Unofficial FLAC installer for Windows
- MacFLAC GUI frontend to encode/decode FLAC on Mac OS X
- Wikipedia: FLAC
- The Lossless Audio Blog Lossless Audio News & Information Site.