[FFmpeg-devel] [PATCH] stop av_find_stream_info per packet dts

Baptiste Coudurier baptiste.coudurier
Sun Mar 15 04:25:25 CET 2009


It seems stopping av_find_stream_info by packet duration causes a
problem when a packet with long duration (still image, sub) is very long.

1 video stream containing a single image with very long duration
1 video stream cfr.

Demuxing will happen in this order since dts are in this order.

av_find_stream_info will stop after the single image, while the next
packet dts will still be < max analyze duration.

I'd like your opinion on this I don't know if this might have side effects.

Baptiste COUDURIER                              GnuPG Key Id: 0x5C1ABAAA
Key fingerprint                 8D77134D20CC9220201FC5DB0AC9325C5C1ABAAA
checking for life_signs in -lkenny... no
FFmpeg maintainer                                  http://www.ffmpeg.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: check_max_duration_by_dts.patch
Type: text/x-diff
Size: 1280 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20090314/9eec37f5/attachment.patch>

More information about the ffmpeg-devel mailing list