[libav-api] Multithreading in H264 decoder.

Ronald S. Bultje rsbultje at gmail.com
Fri Oct 28 17:10:21 CEST 2011


On Fri, Oct 28, 2011 at 8:05 AM, wl2776 <wl2776 at gmail.com> wrote:
> Ronald S. Bultje wrote:
>> What version?
> config.h has the following:
> #define HAVE_THREADS 1
> #define HAVE_PTHREADS 0
> #define HAVE_W32THREADS 1

I'm not sure if this works at all in FFmpeg from videolan's server,
but you could test that by trying "ffmpeg -threads 2 -i file.h264 -f
null -". If that uses multiple cores, your code is wrong and I can
help you look into that. If that doesn't, FFmpeg from videolan doesn't
support frame threading on Windows and you'll have to use Libav from
http://libav.org/ (on which the feature was tested and is known to


More information about the libav-api mailing list