Difference between revisions of "FLAC"

From VideoLAN Wiki
Jump to navigation Jump to search
(container format, source)
Line 10: Line 10:
 
* '''300MB as FLAC'''
 
* '''300MB as FLAC'''
 
* 40MB as MP3 (128 [[kbps]])
 
* 40MB as MP3 (128 [[kbps]])
 +
 +
== Container format ==
 +
{{mux|id=flac|encoder=n}}
 +
FLAC can be used inside several [[container formats]], such as [[ogg]] and [[matroska]], but can also be stored in it's own container.
 +
 +
VLC can only decode this type of container, and cannot encode it. To encode files in FLAC format use the flac command line tool from [http://flac.sf.net FLAC's website].
 +
 +
== Source code ==
 +
{{file|modules/demux/flac.c|input demuxer}}

Revision as of 01:24, 17 December 2006

FLAC is short for Free Lossless Audio Compression. It is an open source codec and file format which provides a perfect quality audio file. Normally, FLAC files contain CD quality audio.

FLAC provides a smaller size of file than PCM WAV (about half the size), but much larger than lossy codecs like MP3. MP3s are about 5-10% the size of WAV files, but are lower quality.

A CD's worth of data is...

  • 700MB as a CD
  • 700MB as WAV
  • 300MB as FLAC
  • 40MB as MP3 (128 kbps)

Container format

flac
VLC can decode this container.
The module name to use at the command line is flac.

FLAC can be used inside several container formats, such as ogg and matroska, but can also be stored in it's own container.

VLC can only decode this type of container, and cannot encode it. To encode files in FLAC format use the flac command line tool from FLAC's website.

Source code