[Libav-user] FFmpeg parallel H264 Decoding

Christian Brümmer christian.bruemmer at gmx.de
Sun Aug 5 15:31:40 CEST 2012


I m using FFmpeg (v 0.8) on Android to decode H264 encoded Videoframes 
received over network. For the new multicore Smartphone devices i would 
like to optimize the decoding process by parallelization.

The frames are encoded via x264 and the zerolatency tune so each frame 
contains a whole videoframe (if i got it right).

As soon as i try to use avcodec_decode_video2 parallel at the same time 
i got many ffmpeg log errors and the videoframe is messed up

There was a ffmpeg-mt branch and as far as i know it was merged some 
time ago.

My question: Is it possible to use avcodec_decode_video2 parallel and if 
yes - how can i do it?

Best regards,

More information about the Libav-user mailing list