Ierum Shanaya <ierumshanaya85@...> 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).

Carl Eugen

_______________________________________________
Libav-user mailing list
[email protected]
http://ffmpeg.org/mailman/listinfo/libav-user

Reply via email to