[Libav-user] "Circular buffer overrun" error when reading UDP stream

Vahid Kowsari vahid at kowsari.com
Tue Jul 30 17:18:30 CEST 2013


Doesnt the decoder do this as default? If I just use the API to decode a 
video it creates multiple threads automatically.


Kalileo wrote:
> 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)
>>
>
>
> _______________________________________________
> Libav-user mailing list
> Libav-user at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/libav-user

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://ffmpeg.org/pipermail/libav-user/attachments/20130730/4399a15d/attachment.html>


More information about the Libav-user mailing list