[Libav-user] Decoding H264 frames on Windows

Simon Brown simon.k.brown at gmail.com
Tue Oct 4 12:52:42 EEST 2016


2016-10-03 14:26 GMT+02:00 Alex Grosu <agrosu at c-s.ro>:
> > I am just calling avcodec_alloc_context(). This sets thread_count
> > to 1. I tried set it to 4, but it seems there is no difference.
>
> When I asked about increasing thread count, someone helpfully pointed me
at this thread:
https://ffmpeg.org/pipermail/libav-user/2016-July/009365.html
In particular, points to note are to set thread count BEFORE opening the
codec, and setting
thread count to "auto" seems to work well - but from my tests it defaults
to 1, so does need changing.
Regards,
Simon
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://ffmpeg.org/pipermail/libav-user/attachments/20161004/35161e6f/attachment.html>


More information about the Libav-user mailing list