[FFmpeg-devel] avformat_find_stream_info optimisation

Michael Niedermayer michaelni at gmx.at
Fri Dec 21 05:42:44 CET 2012

On Thu, Dec 20, 2012 at 11:09:37PM +0100, Julian Scheel wrote:
> Hi,
> after I realized that avformat_find_stream_info takes quite a long time when trying to open a mpeg-ts live stream I digged into the code and saw there is a todo mark. It asks for some options to allow the user to specify which information should be acquired by avformat_find_stream_info and which can be skipped because they would not be needed.
> Are there any suggestions what kind of filter options would make sense there? Maybe a bitmask which allows to set query flags like STREAM_FPS, STREAM_RATE, STREAM_DURATION, etc.

that would be a possibility

> As I require to start playback of a mpeg-ts stream in shortest possible time I'd like to give optimisation a try. So if I get some hints on what would be expected by the main developers for this feature, I'd be thankful.
> Regards,
> Julian
> _______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

No snowflake in an avalanche ever feels responsible. -- Voltaire
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20121221/8c3ae620/attachment.asc>

More information about the ffmpeg-devel mailing list