[Libav-user] Speeding up codec detection of raw bitstream
Carl Eugen Hoyos
ceffmpeg at gmail.com
Mon Feb 12 23:38:56 EET 2018
2018-02-12 16:36 GMT+01:00 Wiebe Cazemier <wiebe at halfgaar.net>:
> ----- Original Message -----
>> From: "Carl Eugen Hoyos" <ceffmpeg at gmail.com>
>> To: "This list is about using libavcodec, libavformat, libavutil, libavdevice and libavfilter." <libav-user at ffmpeg.org>
>> Sent: Monday, 12 February, 2018 14:56:02
>> Subject: Re: [Libav-user] Speeding up codec detection of raw bitstream
>>>
>>> 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?
>
> No, actually. Is there a reason to think that makes a difference?
If the for the performance issue you see is auto-detection (as I strongly
suspect), it may make sense to remove demuxers to allow faster
auto-detection.
Carl Eugen
More information about the Libav-user
mailing list