[FFmpeg-devel] [PATCH] flac demuxer
matthieu castet
castet.matthieu
Sat May 3 00:59:02 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.
AFAIK there is a similar problem with alac and maybe other audio codec.
If you decompress luckynight.m4a, it will be shorter than
luckynight.wav.bz2.
$ffmpeg -i luckynight.m4a luckynight-ffmpegdec.wav
[alac @ 0xa7cf46b0]Error : Wrong End Of Frame/s
[alac @ 0xa7cf46b0]Error : 892 bits left
$ls -l luckynight*.wav
10668588 luckynight-ffmpegdec.wav
10668716 luckynight.wav
$cmp -l luckynight*.wav | head
5 44 244
41 0 200
10666029 315 205
10666031 316 246
10666032 377 0
10666033 347 257
10666035 350 217
10666036 377 0
10666037 5 342
10666038 0 377
Matthieu
More information about the ffmpeg-devel
mailing list