[FFmpeg-devel] Multi-threaded decoding via C++?
Kevin Kowalewski
kowalewski.kevin.bulk at gmail.com
Fri May 25 20:58:36 CEST 2012
To be honest I wouldn't know where to start when it comes to implementing
frame threads in the WMV2 decoder.
Thank you for your reply though.
Kevin
On Fri, May 25, 2012 at 1:06 PM, Michael Niedermayer <michaelni at gmx.at>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.
>
>
> [...]
>
> --
> 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
>
> _______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-devel
>
>
More information about the ffmpeg-devel
mailing list