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. Is there any
other flag I should set along with thread_count?
Thank you
Alex
On 10/3/2016 2:58 PM, Carl Eugen Hoyos wrote:
2016-10-03 13:55 GMT+02:00 Alex Grosu <[email protected]>:
I built libavcodec some time ago on Windows and I am calling the API
functions from my C app. (avcodec_find_decoder, avcodec_open,
avcodec_decode_video2, sws_scale). Now, having big frames with a lot of
details, the time decoding increased > 55 ms, which is greater than the time
a frame should be displayed (40 ms). I have to do some threading logic
programatically, using libavcodec, not from command line.
To which value do you currently set AVCodecContext->thread_count for
decoding?
Please do not top-post here, Carl Eugen
_______________________________________________
Libav-user mailing list
[email protected]
http://ffmpeg.org/mailman/listinfo/libav-user
_______________________________________________
Libav-user mailing list
[email protected]
http://ffmpeg.org/mailman/listinfo/libav-user