[Libav-user] Speeding up codec detection of raw bitstream

Carl Eugen Hoyos ceffmpeg at gmail.com
Sun Feb 11 20:51:56 EET 2018


2018-02-11 19:09 GMT+01:00 Wiebe Cazemier <wiebe at halfgaar.net>:

> Correction, it's the following line that takes a while:
>
>   avformat_find_stream_info(avFormatContext, NULL);
>
> In the docs I find this note with that function: "TODO: Let
> the user decide somehow what information is needed so
> that we do not waste time getting stuff the user does not
> need. ".
>
> Still any options available to speed this up?

Did you test to only enable the demuxers (and decoders) that you need?

Carl Eugen


More information about the Libav-user mailing list