On 10/4/2016 12:52 PM, Simon Brown wrote:


    2016-10-03 14:26 GMT+02:00 Alex Grosu <[email protected]
    <mailto:[email protected]>>:
    > 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


_______________________________________________
Libav-user mailing list
[email protected]
http://ffmpeg.org/mailman/listinfo/libav-user
Thank you Simon, I am following the info you gave me
Kind regards
Alex
_______________________________________________
Libav-user mailing list
[email protected]
http://ffmpeg.org/mailman/listinfo/libav-user

Reply via email to