[MPlayer-users] encoding speed of x264 major change

Galen galenz at zinkconsulting.com
Sat Jun 14 18:25:44 CEST 2008


Alex,

I'd go back and re-checkout and re-build x264 and mplayer in order.  
Make sure all the CPU optimization flags are being properly set at  
build and there are no linker-related errors. At one point, I believe  
I had to grab a new linker to build x264 as they required it for full  
optimization flags to function. (Don't quote me on this!)

Something as simple as a few optimization flags set wrong could cause  
enormous performance issues. In my experience, x264 gets both faster  
and higher quality over time. Certainly, you should see an improvement  
on both points given the same settings used with a recent x264 versus  
a year ago.

If performance still seems askew, try monitoring CPU usage to ensure  
that threading is occurring properly across (I assume) four cores.

If that checks out, you might run a few benchmarks to make sure  
everything is alright with your machine. A loose heatsink, broken fan,  
etc. can cause your machine to dramatically underclock itself, as can  
a BIOS issue.

-Galen

On Jun 14, 2008, at 1:26 AM, Alexander Roalter wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> My old x264 libs were from ~1 year ago, and until this week, mencoder
> used them. Now, on a new checkout of mplayer, x264 wasn't recognized
> anymore, so I got a new x264 checkout (now with git), compiled and
> installed, and mplayer finds it again in the configure step, but still
> the encoding speed is about 1/3rd of the previous speed, with all the
> same settings.
>
> I usually do a 2-pass encoding using the following options:
>
>
> mencoder "$1" -o "$2" -oac mp3lame -lameopts abr=128 -ovc x264
> - -x264encopts bitrate=512:pass=1:turbo=1:threads=4
>
> mencoder "$1" -o "$2" -oac mp3lame -lameopts abr=128 -ovc x264
> - -x264encopts
> bitrate=512:subq=6:partitions=all: 
> 8x8dct:me=umh:frameref=5:pass=2:threads=4
>
> which delivers ~120-150 fps on the first pass, and 30~40 fps on the
> second pass. Now, the new version has 50fps on the first and 10 on the
> second...
>
>
>
>
> - --
> Cheers,
> Alex
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v2.0.4-svn0 (GNU/Linux)
> Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org
>
> iD8DBQFIU4C91J0MF2u394wRAnvlAKDSugQ30eJnp31Dj3KFU92lD65DggCgyHVg
> 1kCEMuHuYFhgD6QQ1TJuD6E=
> =HJn9
> -----END PGP SIGNATURE-----
> _______________________________________________
> MPlayer-users mailing list
> MPlayer-users at mplayerhq.hu
> https://lists.mplayerhq.hu/mailman/listinfo/mplayer-users




More information about the MPlayer-users mailing list