[FFmpeg-user] Zeranoe Windows builds spiking CPU to 100% randomly

Jan Ehrhardt phpdev at ehrhardt.nl
Fri Aug 17 18:18:52 CEST 2012

Roger Pack in gmane.comp.video.ffmpeg.user (Thu, 16 Aug 2012 06:59:20
>> Interesting.  I wonder if you can still "get around it" by just using
>> LDFLAGS="-lpthread" but then telling libx264 and ffmpeg *not* to use
>> pthreads (so they use windows native threads for now). I'll experiment
>> around with it sometime.
>Turns out you can compile libx264 and specify to use "windows threads"
>(as well as ffmpeg).  With libvpx you still need it though (and
>something like the above did work).

Libx264 is doing fine with win32threads. However, I did not like the
idea of using 2 different kinds of threading methods in the same
executable, so I chose for libvpx 1.0.0. Maybe it is not up-to-speed,
but I wanted to have libvpx in my executables allthough I do not have
plans to use it yet.

>Anyway, the latest zeranoe builds have switched temporarily to using
>"just windows threads" until we can figure out what's wrong with
>pthreads (as a work around).

Fine. I will do some speed tests, from 50i PAFF interlaced files to
x264/faac. I will follow-up if remarkable differences occur.


More information about the ffmpeg-user mailing list