[FFmpeg-devel] slice or frame based multi-threading libavcodec

Michael Niedermayer michaelni at gmx.at
Sat Feb 18 04:41:36 CET 2012


On Fri, Feb 17, 2012 at 04:23:57PM +0000, bhagya wrote:
> hi everyone,
> 
> i am new to this group and have been looking at the ffmpeg libavcodec for h264
> decoding for the past 2 weeks.
> 
> i understand that both frame level and slice level multithreading are
> implemented. but i could not figure out who is deciding whether to go for frame
> level, slice level or both multithreading. basically it boils down to what value
> the variable avctx->active_thread_type is set. please let me know if anyone is
> aware of this.

you can set it with -thread_type from the command line

for the c code side see validate_thread_parameters() and the
surrounding code

[...]

-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

In a rich man's house there is no place to spit but his face.
-- Diogenes of Sinope
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20120218/4532a08d/attachment.asc>


More information about the ffmpeg-devel mailing list