le_canz
28th September 2007, 16:40
I was wondering how useful were the 3 pass method over most common 2 pass, and the insane option --me esa over --me umh when used for 2 and 3 pass encoding.
For info :
Core 2 E6600 @ 3.36 GHz
2 GB DDR2
I used 8 different samples :
Elephant's Dream sample, lossless source
640x360 with borders added so final resolution is 640x368
Fight Club sample, PAL DVD rip source
Deinterlaced, then Lanczos resized (virtualDub) to 1024x432 as the DVD is anamorphic
Pink Floyd - Live in Pompeii, PAL DVD rip source
Deinterlaced, then Lanczos resized (virtualDub) to 1024x576 as the DVD is anamorphic
Tool - Stinkfist, PAL DVD rip source
Deinterlaced 720x576
Plus 4 differents samples from my DV cam, all 720x576 and deinterlaced.
All samples have 3 000 frames, and all were deinterlaced with VirtualDub's Smart Deinterlace 2.8 filter. No smoother nor sharper filter used, except Motion Map Denoising from the deinterlace filter itself.
I used the following command lines for 2 pass :
x264.exe --progress --pass 1 --bitrate 1024 --keyint 250 --min-keyint 25 --vbv-maxrate 4096 --vbv-bufsize 14745 --aud --sar 1:1 --mixed-refs --direct auto --qcomp 0.65 --fps 25 --b-pyramid --ref 5 --bframes 16 --weightb --bime --no-fast-pskip --no-dct-decimate --me dia --merange 20 --subme 7 --b-rdo --trellis 0 --partitions none --stats x264_stat.log --thread-input --threads 1 --output NUL script.avs
x264.exe --progress --pass 2 --bitrate 1024 --keyint 250 --min-keyint 25 --vbv-maxrate 4096 --vbv-bufsize 14745 --aud --sar 1:1 --mixed-refs --direct auto --qcomp 0.65 --fps 25 --b-pyramid --ref 5 --bframes 16 --weightb --bime --no-fast-pskip --no-dct-decimate --me [esa or umh] --merange 20 --subme 7 --b-rdo --trellis 2 --partitions all --8x8dct --stats x264_stat.log --thread-input --threads 1 --output result.264 script.avs
And for 3 pass :
x264.exe --progress --pass 1 --bitrate 1024 --keyint 250 --min-keyint 25 --vbv-maxrate 4096 --vbv-bufsize 14745 --aud --sar 1:1 --mixed-refs --direct auto --qcomp 0.65 --fps 25 --b-pyramid --ref 5 --bframes 16 --weightb --bime --no-fast-pskip --no-dct-decimate --me dia --merange 20 --subme 7 --b-rdo --trellis 0 --partitions none --stats x264_stat.log --thread-input --threads 1 --output NUL script.avs
x264.exe --progress --pass 3 --bitrate 1024 --keyint 250 --min-keyint 25 --vbv-maxrate 4096 --vbv-bufsize 14745 --aud --sar 1:1 --mixed-refs --direct auto --qcomp 0.65 --fps 25 --b-pyramid --ref 5 --bframes 16 --weightb --bime --no-fast-pskip --no-dct-decimate --me [esa or umh] --merange 20 --subme 7 --b-rdo --trellis 2 --partitions all --8x8dct --stats x264_stat.log --thread-input --threads 1 --output result.264 script.avs
x264.exe --progress --pass 2 --bitrate 1024 --keyint 250 --min-keyint 25 --vbv-maxrate 4096 --vbv-bufsize 14745 --aud --sar 1:1 --mixed-refs --direct auto --qcomp 0.65 --fps 25 --b-pyramid --ref 5 --bframes 16 --weightb --bime --no-fast-pskip --no-dct-decimate --me [esa or umh] --merange 20 --subme 7 --b-rdo --trellis 2 --partitions all --8x8dct --stats x264_stat.log --thread-input --threads 1 --output result.264 script.avs
Results for the average of all :
2 pass --me umh is the reference quality, with 100 %
http://img241.imageshack.us/img241/9722/resultscropiq8.png
So as you see, using more aggressive settings than --me umh / 2 pass is quite useless :-p
Results for each samples are quite close, so I think posting them is not worth.
Edit : added logs :
http://rapidshare.com/files/58885200/logs.7z.html
For info :
Core 2 E6600 @ 3.36 GHz
2 GB DDR2
I used 8 different samples :
Elephant's Dream sample, lossless source
640x360 with borders added so final resolution is 640x368
Fight Club sample, PAL DVD rip source
Deinterlaced, then Lanczos resized (virtualDub) to 1024x432 as the DVD is anamorphic
Pink Floyd - Live in Pompeii, PAL DVD rip source
Deinterlaced, then Lanczos resized (virtualDub) to 1024x576 as the DVD is anamorphic
Tool - Stinkfist, PAL DVD rip source
Deinterlaced 720x576
Plus 4 differents samples from my DV cam, all 720x576 and deinterlaced.
All samples have 3 000 frames, and all were deinterlaced with VirtualDub's Smart Deinterlace 2.8 filter. No smoother nor sharper filter used, except Motion Map Denoising from the deinterlace filter itself.
I used the following command lines for 2 pass :
x264.exe --progress --pass 1 --bitrate 1024 --keyint 250 --min-keyint 25 --vbv-maxrate 4096 --vbv-bufsize 14745 --aud --sar 1:1 --mixed-refs --direct auto --qcomp 0.65 --fps 25 --b-pyramid --ref 5 --bframes 16 --weightb --bime --no-fast-pskip --no-dct-decimate --me dia --merange 20 --subme 7 --b-rdo --trellis 0 --partitions none --stats x264_stat.log --thread-input --threads 1 --output NUL script.avs
x264.exe --progress --pass 2 --bitrate 1024 --keyint 250 --min-keyint 25 --vbv-maxrate 4096 --vbv-bufsize 14745 --aud --sar 1:1 --mixed-refs --direct auto --qcomp 0.65 --fps 25 --b-pyramid --ref 5 --bframes 16 --weightb --bime --no-fast-pskip --no-dct-decimate --me [esa or umh] --merange 20 --subme 7 --b-rdo --trellis 2 --partitions all --8x8dct --stats x264_stat.log --thread-input --threads 1 --output result.264 script.avs
And for 3 pass :
x264.exe --progress --pass 1 --bitrate 1024 --keyint 250 --min-keyint 25 --vbv-maxrate 4096 --vbv-bufsize 14745 --aud --sar 1:1 --mixed-refs --direct auto --qcomp 0.65 --fps 25 --b-pyramid --ref 5 --bframes 16 --weightb --bime --no-fast-pskip --no-dct-decimate --me dia --merange 20 --subme 7 --b-rdo --trellis 0 --partitions none --stats x264_stat.log --thread-input --threads 1 --output NUL script.avs
x264.exe --progress --pass 3 --bitrate 1024 --keyint 250 --min-keyint 25 --vbv-maxrate 4096 --vbv-bufsize 14745 --aud --sar 1:1 --mixed-refs --direct auto --qcomp 0.65 --fps 25 --b-pyramid --ref 5 --bframes 16 --weightb --bime --no-fast-pskip --no-dct-decimate --me [esa or umh] --merange 20 --subme 7 --b-rdo --trellis 2 --partitions all --8x8dct --stats x264_stat.log --thread-input --threads 1 --output result.264 script.avs
x264.exe --progress --pass 2 --bitrate 1024 --keyint 250 --min-keyint 25 --vbv-maxrate 4096 --vbv-bufsize 14745 --aud --sar 1:1 --mixed-refs --direct auto --qcomp 0.65 --fps 25 --b-pyramid --ref 5 --bframes 16 --weightb --bime --no-fast-pskip --no-dct-decimate --me [esa or umh] --merange 20 --subme 7 --b-rdo --trellis 2 --partitions all --8x8dct --stats x264_stat.log --thread-input --threads 1 --output result.264 script.avs
Results for the average of all :
2 pass --me umh is the reference quality, with 100 %
http://img241.imageshack.us/img241/9722/resultscropiq8.png
So as you see, using more aggressive settings than --me umh / 2 pass is quite useless :-p
Results for each samples are quite close, so I think posting them is not worth.
Edit : added logs :
http://rapidshare.com/files/58885200/logs.7z.html