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

Reimar Döffinger Reimar.Doeffinger at gmx.de
Fri May 25 21:29:08 CEST 2012


On Fri, May 25, 2012 at 07:06:57PM +0200, Michael Niedermayer wrote:
> 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.

I believe there is hardly any ARM/NEON optimization for them either,
so that is something else contributions would be welcome and helpful
for...


More information about the ffmpeg-devel mailing list