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

2018-02-12 Thread Wiebe Cazemier
- Original Message - > From: "Carl Eugen Hoyos" > To: "This list is about using libavcodec, libavformat, libavutil, libavdevice > and libavfilter." > Sent: Monday, 12 February, 2018 14:56:02 > Subject: Re: [Libav-user] Speeding up codec

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

2018-02-12 Thread Wiebe Cazemier
- Original Message - > From: "Wiebe Cazemier" <wi...@halfgaar.net> > To: "This list is about using libavcodec, libavformat, libavutil, libavdevice > and libavfilter." <libav-user@ffmpeg.org> > Sent: Monday, 12 February, 2018 16:36:45 > Subjec

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

2018-02-12 Thread Wiebe Cazemier
gt; 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); >> >&g

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

2018-02-11 Thread Wiebe Cazemier
Hi, I'm working on an application for a hardware device I built. In essence, I obtain raw data from an optical receiver, which can be AC3, DTS, etc, and use ffmpeg to decode this into multi-channel analog output. It all works, but I was wondering what I can do to speed up the detection of the

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

2018-02-11 Thread Wiebe Cazemier
- Original Message - > From: "Wiebe Cazemier" <wi...@halfgaar.net> > To: libav-user@ffmpeg.org > Sent: Sunday, 11 February, 2018 12:51:01 > Subject: [Libav-user] Speeding up codec detection of raw bitstream > Hi, > > I'm working on an application for