2018-02-12 9:53 GMT+01:00 Wiebe Cazemier <wi...@halfgaar.net>:
> ----- Original Message -----
>> From: "Carl Eugen Hoyos" <ceffm...@gmail.com>
>> To: "This list is about using libavcodec, libavformat, libavutil,
>> libavdevice and libavfilter." <firstname.lastname@example.org>
>> Sent: Sunday, 11 February, 2018 19:51:56
>> Subject: Re: [Libav-user] Speeding up codec detection of raw bitstream
>> 2018-02-11 19:09 GMT+01:00 Wiebe Cazemier <wi...@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?
> I was able to register only AC3 by creating an AVCodec with 'AVCodec*
> avcodec_find_decoder (enum AVCodecID id)' and using avcodec_register
What I meant was:
Did you test to only enable the needed demuxers (and decoders) at build time?
Libav-user mailing list