Jump to content
Sign in to follow this  
graysky

x264 video encoding benchmark

Recommended Posts

I put together a self-contained x264 video encoding benchmark. Techarp kindly agreed to host the file and results at this URL.

 

Basically, you run the test encode and it will report back frames-per-second values for your machine @ it's clock/overclock level. You can run it at your stock settings and at your overclock settings to see how your machine compares to others in the database.

 

The database is small right now (as of 08-sep), but as you guys report in results, I will populate it. My goal is to have a representative set of data for many different chips and chipsets. Hopefully, we'll get some Penryn and Phenom data when they become available. Also, if anyone out here has some of the high end AMD chips, please contribute. Instructions and the file are at that url.

 

Also, please report your results here in this thread. I will keep the data at that url to keep things simple.

 

Thanks all.

Share this post


Link to post
Share on other sites

Actually, a bit of MySQL and some PHP can take this from an Excel file to a fast, sortable, searchable database. This way you could enter much more data without having to worry about it becoming too large or unreadable. More data is always good for this kind of thing. :)

 

I don't know if TechARP would host it for you, but it's worth looking into. :thumbs-up:

Share this post


Link to post
Share on other sites

P4 Northwood 2Ghz

(20x100)

Intel Brookdale i845D

512MB PC2100 Hyundai 2.5-3-3-6 @133mhz

512MB PC3200 Corsair 2.5-3-3-8 @133Mhz

Windows XP Home Edition SP2

---------- RUN1PASS1.LOG
encoded 1749 frames, 12.96 fps, 1854.10 kb/s

---------- RUN2PASS1.LOG
encoded 1749 frames, 14.38 fps, 1854.10 kb/s

---------- RUN3PASS1.LOG
encoded 1749 frames, 14.41 fps, 1854.10 kb/s

---------- RUN4PASS1.LOG
encoded 1749 frames, 14.43 fps, 1854.10 kb/s

---------- RUN5PASS1.LOG
encoded 1749 frames, 14.41 fps, 1854.10 kb/s

---------- RUN1PASS2.LOG
encoded 1749 frames, 3.53 fps, 1825.89 kb/s

---------- RUN2PASS2.LOG
encoded 1749 frames, 3.64 fps, 1825.89 kb/s

---------- RUN3PASS2.LOG
encoded 1749 frames, 3.60 fps, 1825.89 kb/s

---------- RUN4PASS2.LOG
encoded 1749 frames, 3.60 fps, 1825.89 kb/s

---------- RUN5PASS2.LOG
encoded 1749 frames, 3.61 fps, 1825.89 kb/s

 

That good graysky?

 

EDITED

Edited by Andrewr05

Share this post


Link to post
Share on other sites

Opteron 165 @ 275x9

GeIL PC4000 @ 450 MHz - 2.5-3-3-7

Chaintech VNF4 Ultra - NForce 4

Vista Business

 

---------- RUN1PASS1.LOG
encoded 1749 frames, 63.33 fps, 1850.89 kb/s

---------- RUN2PASS1.LOG
encoded 1749 frames, 63.00 fps, 1850.89 kb/s

---------- RUN3PASS1.LOG
encoded 1749 frames, 62.45 fps, 1850.89 kb/s

---------- RUN4PASS1.LOG
encoded 1749 frames, 63.57 fps, 1850.89 kb/s

---------- RUN5PASS1.LOG
encoded 1749 frames, 63.01 fps, 1850.89 kb/s

---------- RUN1PASS2.LOG
encoded 1749 frames, 15.33 fps, 1826.20 kb/s

---------- RUN2PASS2.LOG
encoded 1749 frames, 15.30 fps, 1826.37 kb/s

---------- RUN3PASS2.LOG
encoded 1749 frames, 15.00 fps, 1826.20 kb/s

---------- RUN4PASS2.LOG
encoded 1749 frames, 15.33 fps, 1826.37 kb/s

---------- RUN5PASS2.LOG
encoded 1749 frames, 15.35 fps, 1826.37 kb/s

 

That good?

Share this post


Link to post
Share on other sites

the shortcut file path is wrong and .bat files usually = a virus (atlest for me) im not gonna run it. i rather have a working computer

Share this post


Link to post
Share on other sites
the shortcut file path is wrong and .bat files usually = a virus (atlest for me) im not gonna run it. i rather have a working computer

:rolleyes:

 

You should read the readme. It's a simple batch file, you can open it up and look at it if you want.

 

cls
@echo off
path %path%;c:\work2\test
cd ..
echo.
echo ,@@@@+``````'@@@@@@@@@@@@@@@@@@@@@@@@ .........................................
echo `@@@@@``````@@@@@@@@@@@@@@@@@@@@@@@@@
echo ``@@@@@````@@@@@```````````````````[email protected]                   x264
echo ``[email protected]@@@'``[email protected]@@@````````````````````[email protected]                 Benchmark
echo ```#@@@@``@@@@,````````````````````[email protected]                 by graysky
echo ````@@@@@@@@@@`#@@@````@@@````:@'``[email protected]  
echo `````@@@@@@@@``@:;@@``@@`.````@@+``[email protected]      2-Pass Encode of a DVD Source
echo `````[email protected]@@@@@``````@@`'@`+,```@`@'``[email protected]      720x480 @ 1,823 kbps; Qf = 0.22
echo ``````@@@@@+`````[email protected];`@@#@@'`@:`@+``[email protected]                   
echo ``````@@@@@@````,@+``@@``@@`@@@@@,`[email protected]      Five Reference Frames
echo `````@@@@@@@@``[email protected]:```:@``@#`[email protected]+``[email protected]      Three B-Frames
echo ````[email protected]@@@@@@@;`@@@@@``@@@@`````@'``[email protected]      Trellis on Macroblocks
echo ````@@@@`#@@@@`````````````````````[email protected]      Subpixel Refinement = 6 (RDO)
echo ```@@@@#``@@@@@````````````````````[email protected]      M.E. Algorithm = hexagon
echo ``#@@@@```,@@@@'```````````````````[email protected]      Other high quality options enabled
echo `,@@@@.````@@@@@```````````````````[email protected]
echo `@@@@@``````@@@@@@@@@@@@@@@@@@@@@@@@@ .........................................
echo.
echo Please enter the name you'd like to give the results text file.
echo For example, you might want to use your current CPU settings as the file name
set /p target=e.g. the CPU multiplier and FSB (like 9x333 for example):
echo.
echo Now encoding a 480p (720x480) DVD sample; test does 5 runs w/ 2 passes per run.
echo Please be patient while the benchmark is in progress.
echo For accurate results, do not use your PC during the tests.
echo.
echo ............................................... Now Starting Run 1: Pass 1 of 2
x264 --pass 1 --progress --quiet --bitrate 1823 --stats "1.stats" --bframes 3 --b-pyramid --direct auto --subme 1 --analyse none --threads auto --thread-input --me hex --no-dct-decimate --no-psnr --no-ssim --output NUL "C:\work2\test\test-480p.avs" 2>&1 | tee run1pass1.log
echo ............................................... Now Starting Run 1: Pass 2 of 2
x264 --pass 2 --progress --quiet --bitrate 1823 --stats "1.stats" --ref 5 --mixed-refs --no-fast-pskip --bframes 3 --b-pyramid --b-rdo --bime --weightb --direct auto --subme 6 --trellis 1 --analyse all --8x8dct --threads auto --thread-input --me hex --sar 427:360 --no-dct-decimate --no-psnr --no-ssim --output "C:\work2\run1-480p.mp4" "C:\work2\test\test-480p.avs" 2>&1 | tee run1pass2.log
del 1.stats
echo ............................................... Now Starting Run 2: Pass 1 of 2
x264 --pass 1 --progress --quiet --bitrate 1823 --stats "2.stats" --bframes 3 --b-pyramid --direct auto --subme 1 --analyse none --threads auto --thread-input --me hex  --no-dct-decimate --no-psnr --no-ssim --output NUL "C:\work2\test\test-480p.avs" 2>&1 | tee run2pass1.log
echo ............................................... Now Starting Run 2: Pass 2 of 2
x264 --pass 2 --progress --quiet --bitrate 1823 --stats "2.stats" --ref 5 --mixed-refs --no-fast-pskip --bframes 3 --b-pyramid --b-rdo --bime --weightb --direct auto --subme 6 --trellis 1 --analyse all --8x8dct --8x8dct --threads auto --thread-input --me hex  --sar 427:360 --no-dct-decimate --no-psnr --no-ssim --output "C:\work2\run2-480p.mp4" "C:\work2\test\test-480p.avs" 2>&1 | tee run2pass2.log
del 2.stats
echo ............................................... Now Starting Run 3: Pass 1 of 2
x264 --pass 1 --progress --quiet --bitrate 1823 --stats "3.stats" --bframes 3 --b-pyramid --direct auto --subme 1 --analyse none --threads auto --thread-input --me hex  --no-dct-decimate --no-psnr --no-ssim --output NUL "C:\work2\test\test-480p.avs" 2>&1 | tee run3pass1.log
echo ............................................... Now Starting Run 3: Pass 2 of 2
x264 --pass 2 --progress --quiet --bitrate 1823 --stats "3.stats" --ref 5 --mixed-refs --no-fast-pskip --bframes 3 --b-pyramid --b-rdo --bime --weightb --direct auto --subme 6 --trellis 1 --analyse all --8x8dct --threads auto --thread-input --me hex  --sar 427:360 --no-dct-decimate --no-psnr --no-ssim --output "C:\work2\run3-480p.mp4" "C:\work2\test\test-480p.avs" 2>&1 | tee run3pass2.log
del 3.stats
echo ............................................... Now Starting Run 4: Pass 1 of 2
x264 --pass 1 --progress --quiet --bitrate 1823 --stats "4.stats" --bframes 3 --b-pyramid --direct auto --subme 1 --analyse none --threads auto --thread-input --me hex  --no-dct-decimate --no-psnr --no-ssim --output NUL "C:\work2\test\test-480p.avs" 2>&1 | tee run4pass1.log
echo ............................................... Now Starting Run 4: Pass 2 of 2
x264 --pass 2 --progress --quiet --bitrate 1823 --stats "4.stats" --ref 5 --mixed-refs --no-fast-pskip --bframes 3 --b-pyramid --b-rdo --bime --weightb --direct auto --subme 6 --trellis 1 --analyse all --8x8dct --threads auto --thread-input --me hex  --sar 427:360 --no-dct-decimate --no-psnr --no-ssim --output "C:\work2\run4-480p.mp4" "C:\work2\test\test-480p.avs" 2>&1 | tee run4pass2.log
del 4.stats
echo ............................................... Now Starting Run 5: Pass 1 of 2
x264 --pass 1 --progress --quiet --bitrate 1823 --stats "5.stats" --bframes 3 --b-pyramid --direct auto --subme 1 --analyse none --threads auto --thread-input --me hex  --no-dct-decimate --no-psnr --no-ssim --output NUL "C:\work2\test\test-480p.avs" 2>&1 | tee run5pass1.log
echo ............................................... Now Starting Run 5: Pass 2 of 2
x264 --pass 2 --progress --quiet --bitrate 1823 --stats "5.stats" --ref 5 --mixed-refs --no-fast-pskip --bframes 3 --b-pyramid --b-rdo --bime --weightb --direct auto --subme 6 --trellis 1 --analyse all --8x8dct --threads auto --thread-input --me hex  --sar 427:360 --no-dct-decimate --no-psnr --no-ssim --output "C:\work2\run5-480p.mp4" "C:\work2\test\test-480p.avs" 2>&1 | tee run5pass2.log
del 5.stats

REM Analyze and remove log files
find "encoded 1749" run1pass1.log > 480p_results-"%target%.txt
find "encoded 1749" run2pass1.log >> 480p_results-"%target%.txt
find "encoded 1749" run3pass1.log >> 480p_results-"%target%.txt
find "encoded 1749" run4pass1.log >> 480p_results-"%target%.txt
find "encoded 1749" run5pass1.log >> 480p_results-"%target%.txt
find "encoded 1749" run1pass2.log >> 480p_results-"%target%.txt
find "encoded 1749" run2pass2.log >> 480p_results-"%target%.txt
find "encoded 1749" run3pass2.log >> 480p_results-"%target%.txt
find "encoded 1749" run4pass2.log >> 480p_results-"%target%.txt
find "encoded 1749" run5pass2.log >> 480p_results-"%target%.txt

del *.log
echo.
echo All runs complete!
echo Frames per second values written to results-%target%.txt
set /p target=hit the ENTER key to close this window

Share this post


Link to post
Share on other sites

i like how it doesnt work, i enter the multi and FSB, hit enter and it quits....great benchmark. maybe because im using win64?

Share this post


Link to post
Share on other sites
the shortcut file path is wrong and .bat files usually = a virus (atlest for me) im not gonna run it. i rather have a working computer

 

Wow dude. No virus here. Have a look at the batch file before you run it.

 

i like how it doesnt work, i enter the multi and FSB, hit enter and it quits....great benchmark. maybe because im using win64?

 

 

No, it has been tested on 64-bit windows. I'm guessing you didn't copy over the DGDecode.dll to your avisynth/plugins dir? If you drag-and-drop the avs file into your mediaplayer, I'm guessing it'll error out:

 

script error: there is no function named "DGDecode_mpeg2source"
c:\work2\test\test-480p.avs, line 1)

 

Can you confirm this? (start menu>run... type mplayer2 and hit OK. then drag-and-drop the avs into it)

Edited by graysky

Share this post


Link to post
Share on other sites
Opteron 165 @ 275x9

GeIL PC4000 @ 450 MHz - 2.5-3-3-7

Chaintech VNF4 Ultra - NForce 4

Vista Business

 

Thanks for the data dude. What is the code name of your chip (you can get it from CPU-Z). Is it a Toledo?

Share this post


Link to post
Share on other sites
Thanks for the data dude. What is the code name of your chip (you can get it from CPU-Z). Is it a Toledo?

It's a Denmark. :)

 

i like how it doesnt work, i enter the multi and FSB, hit enter and it quits....great benchmark. maybe because im using win64?

It's because you didn't read the readme. It's there for a reason.

Share this post


Link to post
Share on other sites

the readme is blank, i'm telling you that website put up bad files or somthing, but anyways it seems to be somehow working for other people.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×