[Libav-user] "Circular buffer overrun" error when reading UDP stream
Kalileo
kalileo at universalx.net
Tue Jul 30 16:53:22 CEST 2013
On Jul 30, 2013, at 21:26 , Adi Shavit wrote:
>>
>> You can also try to use multithreaded decoder. But this is not going
>> to help if you have more video streams in parallel than CPU cores.
>
> I can give it a shot.
> How do I set it up?
I think Alex means something like this, here as an example with 2 threads:
AVDictionary *opts = NULL;
av_dict_set(&opts, "threads", "2", 0);
if (avcodec_open2(pVideoCodecCtx, pVideoCodec, &opts)
…
More information about the Libav-user
mailing list