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

Jan Ehrhardt phpdev at ehrhardt.nl
Fri Jul 13 22:15:26 CEST 2012


Roger Pack in gmane.comp.video.ffmpeg.user (Fri, 13 Jul 2012 12:57:55
-0600):
>It would be interesting to see if it shows the same speed difference
>in linux that it does in windows.  But besides that, I don't know what
>it is :)

Try it.

The source:
http://x32.elijst.nl/00005.MTS

The commandlines:

mencoder -mc 1 -vf scale=448:256,harddup,telecine -aspect 16:9 -lavcopts
aspect=16/9 -sws 2 -lavdopts fast:threads=6 -of lavf -lavfopts
format=asf -ovc lavc -lavcopts vcodec=wmv2:vbitrate=336:keyint=50 -oac
lavc -lavcopts acodec=wmav2:abitrate=64:aglobal=1:turbo=1 -af volnorm
-o wmvwma.wmv 00005.MTS

ffmpeg -i 00005.MTS -vf scale=448:256 -aspect 16:9 -sws_flags bicubic
-vcodec wmv2 -b 336k -r 25 -acodec wmav2 -ab 64k -threads 6 wmvwma.wmv

Download MEncoder:
svn checkout svn://svn.mplayerhq.hu/mplayer/trunk mplayer

Configure:
./configure --enable-runtime-cpudetection --enable-static
--yasm=<yasmpath>/yasm --disable-decoder=exr
(exr would not compile on my windows system, something with uncompress
missing)

It will automatically fetch the latest ffmpeg from github. There is a
chance you will have to disable zlib, I installed it.

Just a 'make' is good enough for testing. No need to make install.

Andy: if you are reading this, can you try it on your Windows machine?

Jan

PS. The keyint=50 is not matched by a -g 50, I see now. As are the extra
filters in the MEncoder commandline. I do not really know what 'fast'
and 'turbo' do in the MEncoder commandline.

PPSS. I always test with two Mencoder statements. The first with -endpos
00:00:02. See
http://sourceforge.net/tracker/?func=detail&aid=3395411&group_id=205275&atid=992986



More information about the ffmpeg-user mailing list