[FFmpeg-devel] [PATCH] flac demuxer

Justin Ruggles justinruggles
Sat May 3 00:17:40 CEST 2008


Mike Melanson wrote:
> Justin Ruggles wrote:
>> applied.
>>
>> flac demuxer patches to follow in the near future.
> 
> Using luckynight.flac from
> 
>   http://samples.mplayerhq.hu/A-codecs/lossless/
> 
> $ 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

I'll take a look. Probably the last partial-frame is not decoded. I
vaguely remember this issue, but I don't remember the specifics of the
problem.

-Justin





More information about the ffmpeg-devel mailing list