[FFmpeg-devel] [PATCH] Lost VBR header

Peter Belkner pbelkner at snafu.de
Sun Apr 17 15:49:26 CEST 2011


On 17.04.2011 14:32, Reimar Döffinger wrote:
> you end up with a VBR header in the middle.

This can easily fixed at playback/decoding time by applying the test for 
VBR headers proposed for the decoder not only to the first frame but to 
each. I think the test in the decoder is a good idea on its own, 
independent on how the MP3 demuxer deals with it, because the MP3 stream 
may not come from an MP3 format.

I would prefer to have the test at each frame.

BTW: It took me some time to figure out how to identify the first frame ...

Peter


More information about the ffmpeg-devel mailing list