[FFmpeg-devel] Multi-threaded decoding via C++?

Michael Niedermayer michaelni at gmx.at
Fri May 25 19:06:57 CEST 2012

On Fri, May 25, 2012 at 12:41:58PM -0400, Kevin Kowalewski wrote:
> Hi,
> I am decoding WMV streams via the C++ API but performance is lack luster.
> On a 1.4 Ghz ARM CPU I can only eek out about 15 FPS if a 720p stream. I've
> used all the compiler options I can but the performance is still not
> enough. I've set the codec thread_count to 4, but it does not seem like
> ffmpeg is actually using more than 1 thread as only a single CPU core is
> used. I'm not sure if GPU acceleration can happen with FFMpeg under Android
> yet.
> *    codecCtx->thread_count = thread_count;*
> This is called before *avcodec_open(codecCtx, codec).*
> Does anyone have some advice? This is from the latest FFMpeg pulled
> yesterday.

none of the WMV decoders has support for frame threads implemented
if i didnt miss one ...

its possible to implement, if you are interrested to work on this.


Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Let us carefully observe those good qualities wherein our enemies excel us
and endeavor to excel them, by avoiding what is faulty, and imitating what
is excellent in them. -- Plutarch
-------------- 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/20120525/0082eb5f/attachment.asc>

More information about the ffmpeg-devel mailing list