(De)Compress Audio Files with FLAC
[Posted September 14, 2005 by cook]
FLAC, the
Free Lossless Audio CODEC, is an audio application that is
used for compressing and de-compressing audio files.
FLAC is being developed by the
Xiph.org Foundation.
FLAC is similar in functionality to
shorten, another
lossless audio compression utility.
FLAC contrasts with popular lossy compression schemes such as
Vorbis and
MP3.
The
FLAC comparison document contains a lot of useful information
on FLAC and other encoder/decoder systems.
The FLAC software includes the flac command line utility,
the metaflac command-line metadata editor, a
library of reference encoders and decoders, and
input plugins for music players.
Some of the FLAC source code has been released
under a variant of the BSD license, and the rest is licensed under the GPL.
The FLAC format is open, as explained by the
FLAC license
document:
"The FLAC and Ogg FLAC formats themselves, and their specifications, are fully open to the public to be used for any purpose (the FLAC project reserves the right to set the FLAC specification and certify compliance). They are free for commercial or noncommercial use."
The FLAC features
include:
- Lossless audio encoding and decoding.
- Support for 1 to 8 channels of audio.
- Support for audio from 4-32 bits/sample and 1-655350 samples/second.
- Designed for fast decoding, encoding is more processor intensive.
- Capable of supporting hardware decoders.
- Data frames are atomic, allowing seeking and editing, and improving operation in the presence of errors.
- Support for forward-compatible metadata definitions.
- Contains CD cue-sheets in the metadata.
The
features documentation has an amusing take on FLAC's copy protection:
"Another way to look at it is that since copy protection is futile, it really carries no information, so you might say FLAC already losslessly compresses all possible copy protection information down to zero bits!"
Details on the inner workings of FLAC can be found in the
project documentation.
FLAC is used
by a long list of hardware vendors, organizations and web sites.
The software runs on a wide variety of platforms.
The current release of FLAC is version 1.1.2, it
was released
last February.
If you surf any of the numerous free (not to be confused with pirate)
music sites, chances are you will need a copy of FLAC.
You can download a copy
here.
(
Log in to post comments)