[FFmpeg-devel] [PATCH] flac demuxer

Mike Melanson mike
Fri May 2 23:53:28 CEST 2008

Justin Ruggles wrote:
> applied.
> flac demuxer patches to follow in the near future.

Using luckynight.flac from


$ flac -d luckynight.flac -o luckynight-flacdec.wav
$ ffmpeg -i luckynight.flac luckynight-ffmpegdec.wav
$ ls -al luckynight*

10653740 luckynight-ffmpegdec.wav
10668716 luckynight-flacdec.wav
 6663512 luckynight.flac

So FFmpeg does not decode as much data as the official FLAC
implementation. Can this be corrected? Fortunately, the bytes that are
present seem to be pretty close:

$ tiny_psnr luckynight-flacdec.wav luckynight-ffmpegdec.wav 2 0 44
stddev:  0.00 PSNR:99.99 bytes:10653696

	-Mike Melanson

More information about the ffmpeg-devel mailing list