[Libav-user] Decoding H264 frames on Windows

Carl Eugen Hoyos ceffmpeg at gmail.com
Mon Oct 3 14:58:30 EEST 2016


2016-10-03 13:55 GMT+02:00 Alex Grosu <agrosu at c-s.ro>:

> 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


More information about the Libav-user mailing list