[FFmpeg-user] Zeranoe Windows builds spiking CPU to 100% randomly
sheen.andy at googlemail.com
Wed Jul 11 18:11:03 CEST 2012
Jan Ehrhardt wrote on Wed 11 Jul at 16:26 UK time
> Andy Sheen in gmane.comp.video.ffmpeg.user (Wed, 11 Jul 2012 14:00:00
>>>> Jan Ehrhardt wrote on Wed 11 Jul at 2:18 UK time
>>>>> Could you try my build of the 20120622 sources? Lots of libs are not
>>>>> enabled because I do not need them, but libmp3lame, libfaac and libx264
>>>>> are compiled in:
>> Your build does NOT show spikes and is running at a slightly quicker
>> speed (355-360 vs 345-350) when compared to last years Zeranoe builds.
> OK. And thanks for the confirmation of the slight speed advantage.
> Does anyone know why Zeranoe disabled w32threads? Surely, you must be
> able to compile with w32threads on Ubuntu as well. Or is one of his
> additional libraries not compatible with w32threads?
No idea if it is a related library thing.
I have just recompiled the git HEAD from yesterday with w32threads
instead of pthreads. For my configuration, that meant having to
recompile libx264 with w32threads, but that was the only additional change.
The result is quite interesting. Not only do I get no spikes,
performance goes from 345-350fps to 380-385fps.
ffmpeg version N-42432-gb27c7d7 Copyright (c) 2000-2012 the FFmpeg
built on Jul 11 2012 16:54:29 with gcc 4.7.1
configuration: --arch=x86_64 --prefix=/home/xbmc/source/ffmpeg/build
--target-os=mingw32 --cross-prefix=x86_64-w64-mingw32- --enable-gpl
--enable-version3 --disable-pthreads --enable-runtime-cpudetect
--enable-avisynth --enable-bzlib --enable-libmp3lame --enable-libx264
I'm happy to help debug further rather than just stop here....
More information about the ffmpeg-user