[Libav-user] multithreading video decoding support using ffmpeg
Carl Eugen Hoyos
cehoyos at ag.or.at
Thu Jan 2 20:24:21 CET 2014
Ierum Shanaya <ierumshanaya85 at ...> writes:
> I tried looking into the documentation of how to use
> multithreading to decode a h264 or mpg video static file,
> but could not find any detailed note.
> Could you please help me understand - how can we use
> multithreading to decode an incoming static video stream.
Set thread_count in AVCodecContext to the number of threads
that libavcodec should use, 0 for autodetection of cpu cores.
Note that some decoders do not support multithreading (h264 does).
More information about the Libav-user