View Full Version : x264 benchmark
Racer
24th December 2012, 08:00
Hello,
does anybody know a good x264 benchmark with MPEG4 as source. Right now I'm using the Tech ARP x264 HD Benchmark 5.0.1, but I do not like it due to several things like MPEG1 source and the DGDecode64 issue. Same for x264 FHD benchmark where there is no way to do some tests by changing the x264 arguments and the avisynth script.
Sagittaire
24th December 2012, 11:21
I make that for hardware.fr since some week:
http://jfl1974.free.fr/H264_Benchmark.zip
This benchmark use internal x264 decoder (lavc H264 multithread decoder) with 32 and 64 bits encoding:
@REM -----------------------------------------------------------
@REM
@REM Profil BluRay Ripp 720p 2CD 64 bits
@REM
@REM -----------------------------------------------------------
x264\x264_64.exe --video-filter resize:1280,720 --demuxer lavf --slow-firstpass --bframe 3 --b-pyramid "normal" --b-adapt 1 --weightp 2 --ref 1 --direct auto --deblock -1:-3 --bitrate 1400 --pass 1 --stats "x264\test.log" --qcomp 0.75 --ipratio 1.10 --pbratio 1.10 --min-keyint 1 --partitions "none" --me "dia" --subme 5 --psy-rd 1.0:0.25 --aq-mode 1 --aq-strength 0.5 --vbv-maxrate 40000 --vbv-bufsize 30000 --level 4.1 --keyint 240 --open-gop --colorprim "bt709" --transfer "bt709" --colormatrix "bt709" --sar 1:1 -o NUL sample\sample.ts
x264\x264_64.exe --video-filter resize:1280,720 --demuxer lavf --bframe 3 --b-pyramid "normal" --weightp 2 --ref 5 --direct auto --deblock -1:-3 --bitrate 1400 --pass 3 --stats "x264\test.log" --qcomp 0.75 --ipratio 1.10 --pbratio 1.10 --min-keyint 1 --partitions "all" --me "umh" --subme 10 --no-fast-pskip --no-dct-decimate --trellis 2 --psy-rd 1.0:0.25 --aq-mode 1 --aq-strength 0.5 --vbv-maxrate 40000 --vbv-bufsize 30000 --level 4.1 --keyint 240 --open-gop --colorprim "bt709" --transfer "bt709" --colormatrix "bt709" --sar 1:1 --psnr --ssim -o sample\720p_64.mp4 sample\sample.ts
@REM -----------------------------------------------------------
@REM
@REM Profil BluRay Ripp 720p 2CD 32 bits
@REM
@REM -----------------------------------------------------------
x264\x264_32.exe --video-filter resize:1280,720 --demuxer lavf --slow-firstpass --bframe 3 --b-pyramid "normal" --b-adapt 1 --weightp 2 --ref 1 --direct auto --deblock -1:-3 --bitrate 1400 --pass 1 --stats "x264\test.log" --qcomp 0.75 --ipratio 1.10 --pbratio 1.10 --min-keyint 1 --partitions "none" --me "dia" --subme 5 --psy-rd 1.0:0.25 --aq-mode 1 --aq-strength 0.5 --vbv-maxrate 40000 --vbv-bufsize 30000 --level 4.1 --keyint 240 --open-gop --colorprim "bt709" --transfer "bt709" --colormatrix "bt709" --sar 1:1 -o NUL sample\sample.ts
x264\x264_32.exe --video-filter resize:1280,720 --demuxer lavf --bframe 3 --b-pyramid "normal" --weightp 2 --ref 5 --direct auto --deblock -1:-3 --bitrate 1400 --pass 3 --stats "x264\test.log" --qcomp 0.75 --ipratio 1.10 --pbratio 1.10 --min-keyint 1 --partitions "all" --me "umh" --subme 10 --no-fast-pskip --no-dct-decimate --trellis 2 --psy-rd 1.0:0.25 --aq-mode 1 --aq-strength 0.5 --vbv-maxrate 40000 --vbv-bufsize 30000 --level 4.1 --keyint 240 --open-gop --colorprim "bt709" --transfer "bt709" --colormatrix "bt709" --sar 1:1 --psnr --ssim -o sample\720p_32.mp4 sample\sample.ts
@REM -----------------------------------------------------------
@REM
@REM Profil BluRay Ripp 1080p BD9 64 bits
@REM
@REM -----------------------------------------------------------
x264\x264_64.exe --demuxer lavf --slow-firstpass --bframe 3 --b-pyramid "strict" --b-adapt 1 --weightp 1 --ref 1 --direct auto --deblock -1:-3 --bitrate 8000 --pass 1 --stats "x264\test.log" --qcomp 0.80 --ipratio 1.00 --pbratio 1.00 --min-keyint 1 --partitions "none" --me "dia" --subme 5 --deadzone-inter 4 --deadzone-intra 4 --psy-rd 1.0:0.25 --aq-mode 1 --aq-strength 0.5 --bluray-compat --vbv-maxrate 40000 --vbv-bufsize 30000 --level 4.1 --keyint 24 --open-gop --slices 4 --colorprim "bt709" --transfer "bt709" --colormatrix "bt709" --sar 1:1 -o NUL sample\sample.ts
x264\x264_64.exe --demuxer lavf --bframe 3 --b-pyramid "strict" --weightp 1 --ref 4 --direct auto --deblock -1:-3 --bitrate 8000 --pass 3 --stats "x264\test.log" --qcomp 0.80 --ipratio 1.00 --pbratio 1.00 --min-keyint 1 --partitions "all" --me "umh" --subme 10 --no-fast-pskip --no-dct-decimate --deadzone-inter 4 --deadzone-intra 4 --trellis 2 --psy-rd 1.0:0.25 --aq-mode 1 --aq-strength 0.5 --bluray-compat --vbv-maxrate 40000 --vbv-bufsize 30000 --level 4.1 --keyint 24 --open-gop --slices 4 --colorprim "bt709" --transfer "bt709" --colormatrix "bt709" --sar 1:1 --psnr --ssim -o sample\1080p_64.mp4 sample\sample.ts
@REM -----------------------------------------------------------
@REM
@REM Profil BluRay Ripp 1080p BD9 32 bits
@REM
@REM -----------------------------------------------------------
x264\x264_32.exe --demuxer lavf --slow-firstpass --bframe 3 --b-pyramid "strict" --b-adapt 1 --weightp 1 --ref 1 --direct auto --deblock -1:-3 --bitrate 8000 --pass 1 --stats "x264\test.log" --qcomp 0.80 --ipratio 1.00 --pbratio 1.00 --min-keyint 1 --partitions "none" --me "dia" --subme 5 --deadzone-inter 4 --deadzone-intra 4 --psy-rd 1.0:0.25 --aq-mode 1 --aq-strength 0.5 --bluray-compat --vbv-maxrate 40000 --vbv-bufsize 30000 --level 4.1 --keyint 24 --open-gop --slices 4 --colorprim "bt709" --transfer "bt709" --colormatrix "bt709" --sar 1:1 -o NUL sample\sample.ts
x264\x264_32.exe --demuxer lavf --bframe 3 --b-pyramid "strict" --weightp 1 --ref 4 --direct auto --deblock -1:-3 --bitrate 8000 --pass 3 --stats "x264\test.log" --qcomp 0.80 --ipratio 1.00 --pbratio 1.00 --min-keyint 1 --partitions "all" --me "umh" --subme 10 --no-fast-pskip --no-dct-decimate --deadzone-inter 4 --deadzone-intra 4 --trellis 2 --psy-rd 1.0:0.25 --aq-mode 1 --aq-strength 0.5 --bluray-compat --vbv-maxrate 40000 --vbv-bufsize 30000 --level 4.1 --keyint 24 --open-gop --slices 4 --colorprim "bt709" --transfer "bt709" --colormatrix "bt709" --sar 1:1 --psnr --ssim -o sample\1080p_32.mp4 sample\sample.ts
pause
Sagittaire
24th December 2012, 11:27
With my c2d Q6600 at 3.0 Ghz I obtain that for H264 720p source encoding:
- decodeur lavf + x264 64 bits : 56.89 fps, 15.02 fps, 11.88 fps at first, second, total
- decodeur ffms + x264 32 bits : 32.18 fps, 12.44 fps, 8.97 fps at first, second, total
lavf is threading decoding and not ffms. You see the 64 bits advantage for x264 encoding.
With this method, my old Q6600 at 3.0 Ghz is certainely faster than many modern CPU for x264 encoding ... ;-)
Sagittaire
24th December 2012, 14:54
And if you want really complete report with my Q6600:
32 bits vs 64 bits
- lavf 1080p decoding + full resolution 720p first pass + encoding 720p x264 64 bits : 55.43 fps, 15.26 fps for first, second
- lavf 1080p decoding + full resolution 720p first pass + encoding 720p x264 32 bits : 52.36 fps, 12.74 fps for first, second
multithread decoding vs monothread decoding
- lavf 1080p decoding + full resolution 720p first pass + encoding 720p x264 64 bits : 55.43 fps, 15.26 fps
- ffms 1080p decoding + full resolution 720p first pass + encoding 720p x264 64 bits : 33.17 fps, 15.22 fps
half first pass vs full first pass resolution
- lavf 1080p decoding + full resolution 720p first pass + encoding 720p x264 64 bits : 55.43 fps, 15.26 fps and 45.728 dB
- lavf 1080p decoding + half resolution 360p first pass + encoding 720p x264 64 bits : 93.46 fps, 15.39 fps and 45.775 dB
many users make that:
- ffms 1080p decoding + full resolution 720p first pass + encoding 720p x264 32 bits : 32.18 fps, 12.44 fps
Anyway for exactly the same output quality you can make that:
- lavf 1080p decoding + half resolution 360p first pass + encoding 720p x264 64 bits : 93.46 fps, 15.39 fps
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.