[FFmpeg-devel] [RFC] use ff_avc_find_startcode in ff_find_start_code

Måns Rullgård mans
Tue Feb 19 16:06:37 CET 2008

Reimar D?ffinger wrote:
> Hello,
> On Tue, Feb 19, 2008 at 03:28:27PM +0100, Reimar D?ffinger wrote:
>> For decoding my THX_Science_FLT_1920.gxf, ff_find_start_code in
>> mpeg_decode_frame
>> is called 73754 times for 353 frames, the average amount of data skipped is
>> 1272.626343 bytes.
> And uh... yes, this does indeed mean that 90% of the file's data is
> trash...
> Probably there is not much point in concentrating on this kind of thing,
> but I'd expect these kind of long skips might be common for DVDs in
> order to try to get a more constant bitrate as well...

DVDs generally use the standard MPEG2-PS padding stream, so this should
not be an issue there.

M?ns Rullg?rd
mans at mansr.com

More information about the ffmpeg-devel mailing list