Speed Benchmarks for x264 Options

Post your testing results with HandBrake.
Post Reply
cbud
Bright Spark User
Posts: 181
Joined: Thu Feb 22, 2007 2:24 am

Speed Benchmarks for x264 Options

Post by cbud »

Using the HB iPod and Apple TV presets I noticed an increase in encoding time by a factor of 2.0-2.5! I wanted to know which options were responsible for this increase, so I decided to do some testing. I hope others will do similar tests and post them as well.


Handbrake version: 0.8.5 b1
CPU: a team of iMac G5s, 1.8 ghz

Source: Seinfeld S3D3 Titles 1,2,3 (n=3)
Framerate: 23.976
Size: 640 x 480
Audio bitrate: 48 khz, 128 kbs, stereo
Video Bitrate: 1500 kbs, 2-Pass


-x264 options-
-percent increase in encoding time-
--------
subme=4:cabac=0:level=30 (HB iPod defaults)
0%
--------
subme=6:cabac=0:level=30:ref=1:bframes=0:no-fast-pskip=1:partitions=p8x8,p8x4,p4x8,i4x4:qcomp=0:me=umh:no-dct-decimate=1 (HB iPod preset)
38-45%
--------
subme=4:cabac=0:level=30:no-fast-pskip=1
3-7%
--------
subme=4:cabac=0:level=30:no-dct-decimate=1
-2-1%
--------
subme=4:cabac=0:level=30:partitions=p8x8,p8x4,p4x8,i4x4
-3-1%
--------
subme=4:cabac=0:level=30:no-fast-pskip=1:no-dct-decimate=1
3-8%
--------
subme=4:cabac=0:level=30:no-fast-pskip=1:partitions=p8x8,p8x4,p4x8,i4x4:no-dct-decimate=1
5-7%
--------
subme=5:cabac=0:level=30
17-19%
--------
subme=4:cabac=0:level=30:me=umh
7-11%
--------
subme=4:cabac=0:level=30:ref=1:bframes=0:no-fast-pskip=1:partitions=p8x8,p8x4,p4x8,i4x4:qcomp=0:me=umh:no-dct-decimate=1
11-17%

Option ‘subme’ appears to have had the greatest impact on encoding speed, followed by ‘me’, and then ‘no-fast-pskip’. Options ‘no-dct-decimate’ and ‘partitions’ had basically no effect.
cbud
Bright Spark User
Posts: 181
Joined: Thu Feb 22, 2007 2:24 am

Post by cbud »

Handbrake version: 0.8.5 b1
CPU: a team of iMac G5s, 1.8 ghz

Source: The Last King of Scotland (chapter 2)
Framerate: 23.976
Size: Anamorphic
Audio bitrate: 48 khz, 160 kbs, Dolby Pro Logic II
Video Bitrate: 3000 kbs, 2-Pass


-x264 options-
-percent increase in encoding time-
--------
subme=4
0%
--------
bframes=3:ref=1:subme=5:me=umh:no-fast-pskip=1:no-dct-decimate=1:trellis=2 (HB Apple TV preset)
40%
--------
bframes=3:ref=1
9%
--------
me=umh
12%
--------
subme=5
19%

Again, ‘subme’ and ‘me’ options had the greatests effect. These encodes take longer then the ones in the above post, so I ran out of time (got bored really) and did not test Trellis.
cvk_b
Veteran User
Posts: 527
Joined: Sun Mar 18, 2007 2:11 am

Post by cvk_b »

Thanks for posting this. Maybe it should be in the Benchmarks forum :?:
Post Reply