marcio
15th December 2009, 17:19
This thread is for people looking for the best quality possible x264 settings. People in this forums like to tell others to go read some 100 pages manual, search 20 more threads, etc.
Some people don't want to understand anything about encoders, they just want to know what is the command line for the best quality output. We all know, including me, that what is the best for one source will not be the best for other sources. And we all know people will disagree on what is the best.
Lets assume there are some people that don't wanna go deep into details, they just wanna know what the command line is, even if it is impossible to give a single command line for every source.
So, once we assume that, this will be the command line you are looking for.
I hope this thread can help lots of people out there.
1st pass:
x264.exe --profile high --slow-firstpass --keyint 240 --min-keyint 24 --bframes 16 --b-adapt 2 --b-pyramid normal --ref 16 --deblock -1:-1 --bitrate 500 --rc-lookahead 120 --aq-mode 1 --aq-strength 1.03 --pass 1 --stats x264.log --qcomp 0.89 --partitions all --direct auto --weightp 2 --me tesa --merange 32 --subme 10 --psy-rd 1.02:0.4 --trellis 2 --no-fast-pskip --threads auto --sar 1:1 --fps 23.976 --psnr --ssim -o a.264 a.avs 848x352
--keyint should be 10x your source fps.
--min-keyint should be equal to your source fps.
--bitrate should be your bitrate of choice.
--qcomp should be 0.89 for low bitrates, 0.72 for mid bitrates and 0.6 for high bitrates.
--fps should be your source fps.
Replace "848x352" with your source resolution.
Replace "a.avs" with your avisynth filename.
Replace "a.264" with your output filename.
2nd pass:
Repeat the settings of 1st pass but replace --pass 1 with --pass 2.
Some people don't want to understand anything about encoders, they just want to know what is the command line for the best quality output. We all know, including me, that what is the best for one source will not be the best for other sources. And we all know people will disagree on what is the best.
Lets assume there are some people that don't wanna go deep into details, they just wanna know what the command line is, even if it is impossible to give a single command line for every source.
So, once we assume that, this will be the command line you are looking for.
I hope this thread can help lots of people out there.
1st pass:
x264.exe --profile high --slow-firstpass --keyint 240 --min-keyint 24 --bframes 16 --b-adapt 2 --b-pyramid normal --ref 16 --deblock -1:-1 --bitrate 500 --rc-lookahead 120 --aq-mode 1 --aq-strength 1.03 --pass 1 --stats x264.log --qcomp 0.89 --partitions all --direct auto --weightp 2 --me tesa --merange 32 --subme 10 --psy-rd 1.02:0.4 --trellis 2 --no-fast-pskip --threads auto --sar 1:1 --fps 23.976 --psnr --ssim -o a.264 a.avs 848x352
--keyint should be 10x your source fps.
--min-keyint should be equal to your source fps.
--bitrate should be your bitrate of choice.
--qcomp should be 0.89 for low bitrates, 0.72 for mid bitrates and 0.6 for high bitrates.
--fps should be your source fps.
Replace "848x352" with your source resolution.
Replace "a.avs" with your avisynth filename.
Replace "a.264" with your output filename.
2nd pass:
Repeat the settings of 1st pass but replace --pass 1 with --pass 2.