03.01.2014, 00:38, "Ierum Shanaya" <[email protected]>: > hi, > > 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. > > If you can share me some sample programs , it would be of great help. > > Thanks, > Ierum
threads for multithreading decoding (AVCodecContext::thread_count) must be set _before_ call to avcodec_open(). -- С уважением, Евгений Гарифуллин. e-mail: [email protected] jabber: [email protected] ICQ : 387906261 _______________________________________________ Libav-user mailing list [email protected] http://ffmpeg.org/mailman/listinfo/libav-user
