[FFmpeg-devel] [PATCH] shortcut av_find_stream_info for flvdec

Michael Niedermayer michaelni
Wed Apr 21 23:41:06 CEST 2010

On Wed, Apr 21, 2010 at 01:32:07PM -0700, Howard Chu wrote:
> Michael Niedermayer wrote:
>> On Wed, Apr 21, 2010 at 12:51:37AM -0700, Howard Chu wrote:
>>> This patch pulls more codec parameters out of the FLV metadata. It cuts 
>>> the
>>> number of packets needed in av_find_stream_info() from ~60 down to just 
>>> 2.
>> this patch reverts bugfixes, and introduces more bugs then there where
>> see r19362 and issue977
>> PS: maybe we should add te file from issue977 to fate ...
> Bummer. Thanks for the references.
> Can someone comment on why tb_unreliable() says the H264 codec timebase is 
> unreliable?

i would guess telecine but there might have been other things i am just
missing atm

> If it has a variable frame rate, how does checking the first 20 
> frames tell you any more about it than just the first 2 frames?

checking more frames will give a more accurate estimate, its still an
estimate though


Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

When the tyrant has disposed of foreign enemies by conquest or treaty, and
there is nothing more to fear from them, then he is always stirring up
some war or other, in order that the people may require a leader. -- Plato
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20100421/1207915f/attachment.pgp>

More information about the ffmpeg-devel mailing list