PDA

View Full Version : X264 fast settings


juGGaKNot
22nd May 2009, 17:54
Read a bit about the so called "fast" x264 settings what will ensure good playback on old pcs but now i need to do a version of this compatible with ps3/xbox to replace my actual xvid cli

So, what are the setting ?

My profile now

start "encode" /b /low /wait "%myfiles%\x264.exe" --pass 2 --bitrate %btrate% --stats "%mypath%\@temp\%mymovie%.stats" --fullrange on --level 4.1 --ref 4 --mixed-refs --bframes 4 --b-adapt 2 --weightb --direct auto --deblock -2:-1 --subme 9 --trellis 2 --psy-rd 0:0 --partitions p8x8,b8x8,i4x4,i8x8 --8x8dct --ipratio 1.1 --pbratio 1.1 --vbv-bufsize 24000 --vbv-maxrate 24000 --me umh --merange 24 --threads auto --qcomp 1.0 --aq-strength 1.0 --sar 1:1 --progress --no-psnr --no-ssim --output "%mypath%\@temp\%mymovie%.264" "%mypath%\@temp\%mymovie%.avs"

thnx, help me get rig of xvid :)

nurbs
22nd May 2009, 18:51
For faster decoding you can turn off CABAC, in which case you also lose trellis, and you can turn off deblocking. From memory that should give the biggest speed boost. There have been plenty of threads about the influence of different options on decoding speed in the AVC subforum.

juGGaKNot
22nd May 2009, 19:05
For faster decoding you can turn off CABAC, in which case you also lose trellis, and you can turn off deblocking. From memory that should give the biggest speed boost. There have been plenty of threads about the influence of different options on decoding speed in the AVC subforum.

Lets review it all and stick it here

i know about cabac and deblocking, other settings ?

nurbs
22nd May 2009, 19:21
Apart from that mostly resolution, bitrate and framerate. The other settings don't make much difference.
Since most of the options give you better quality at a given bitrate it's better to leave them on and reduce the bitrate accordingly. Akupenguin made a good post about it. Too lazy to search right now.

Adub
22nd May 2009, 19:33
A good reference are Sharktooth's X264 MeGUI profiles. I recommend you start there and modify them to your taste. He even has several profiles specifically dedicated to standalones such as the PS3 and Xbox360.

nurbs
22nd May 2009, 19:47
The PS3 and Xbox360 profiles only follow the High Profile @ Level 4.1 limits the two consoles have. Since they decode in hardware nothing in there is set to speed up decoding on slow cpus. For that you could look at the profile for the old xbox if that is still around.

Quotes:
General: What Are The Most CPU-Intensive x264 Options? (http://forum.doom9.org/showthread.php?t=139382)
Partitions: Thus, partitions=i4x4,i8x8,p8x8,b8x8 (i.e. the default) is optimal for decode speed. (http://forum.doom9.org/showpost.php?p=1144202&postcount=8)
Baseline is useless: ...makes High+CAVLC faster to decode than Baseline (http://forum.doom9.org/showpost.php?p=1273260&postcount=10)

juGGaKNot
23rd May 2009, 19:37
Apart from that mostly resolution, bitrate and framerate.

A good reference are Sharktooth's X264 MeGUI profiles.

The PS3 and Xbox360 profiles only follow the High Profile @ Level 4.1 limits the two consoles have. Since they decode in hardware nothing in there is set to speed up decoding on slow cpus. For that you could look at the profile for the old xbox if that is still around.

Quotes:
General: What Are The Most CPU-Intensive x264 Options? (http://forum.doom9.org/showthread.php?t=139382)
Partitions: Thus, partitions=i4x4,i8x8,p8x8,b8x8 (i.e. the default) is optimal for decode speed. (http://forum.doom9.org/showpost.php?p=1144202&postcount=8)
Baseline is useless: ...makes High+CAVLC faster to decode than Baseline (http://forum.doom9.org/showpost.php?p=1273260&postcount=10)

THNX all.