Question Handbrake 1.3.3 - Benchmark your System - New benchmark criteria

Page 5 - Seeking answers? Join the AnandTech community: where nearly half-a-million members share solutions and discuss the latest tech.

Hulk

Diamond Member
Oct 9, 1999
4,372
2,246
136
Back in 2018 ElFenix posted the original Handbrake Benchmark Thread. I thought it was cool so I started updating the thread with a results table. With his permission I'm posting an update to that thread. If you want to participate we're going to tighten up the testing methodology (see below) so the results provide data better for analysis.

I'll update the second post of this thread periodically with results.

The test file:
sdifox said:
et voila. we can all host the file and round robin it

LG New York HDR UHD 4K Demo.zip

drive.google.com


1. Use the following version of Handbrake with the built-in h.265 mkv 2160p60 preset
HandBrake-1.3.3-x86_64-Win_GUI.exe
Don't forget to turn on logging in Handbrake so you can retrieve your time. Tools>Preferences>Advanced>Logging
Once this current version is replaced you'll be able to access this version from the following link.
HandBrake: Nightly Builds
Nightly builds of HandBrake
handbrake.fr

2. Report average effective clockspeed using HWinfo - https://www.hwinfo.com/
I'm sure there are better ways to do this using the logging feature but here's how I did it. I downloaded the portable version, which runs from the exe file.

Run the exe and select "sensors only." You only need this window open.
Minimize the sensors window so you can have it and Handbrake visible at the same time. Select the "average effective clockspeed" line so you can spot it easily. It will highlight.
Note the icon for "reset min/max/average values and timer" in the bottom right area of the window, it's the clock icon.

Start the handbrake but don't start/reset the timer until handbrake is actually encoding video. Record the average effective clockspeed right before handbrake finishes the encode. It should settle in pretty quickly after the encode starts and not change during the encode.

More info on "effective" vs "instant" clock: https://www.hwinfo.com/forum/threads/effective-clock-vs-instant-discrete-clock.5958/

3. Report "Total CPU Usage" (also from HWinfo)

4. Report your encoding time, CPU Model, and RAM specs (amount, speed, latency)

 
Last edited:
Reactions: Kaluan and ElFenix

The Hardcard

Member
Oct 19, 2021
124
179
86
So, by a fluke, I have a M1 Max with 32 GB that was somehow still available at an Apple Store!

I am ready to run this test, but a question. On the nightly builds page, I don't see the option for branches. Is there a way to identify the NEON support from the others?
 

tamz_msc

Diamond Member
Jan 5, 2017
3,865
3,729
136
So, by a fluke, I have a M1 Max with 32 GB that was somehow still available at an Apple Store!

I am ready to run this test, but a question. On the nightly builds page, I don't see the option for branches. Is there a way to identify the NEON support from the others?
Try 1.4.2; if that doesn't work try the snapshot build.
 

The Hardcard

Member
Oct 19, 2021
124
179
86
M1 Max 32 GB RAM
Handbrake 1.4.2 (1.3.x is not Apple Silicon native)
Matroska H.265 2160p60

encoded 1806 frames in 323.79s (5.58 fps), 11767.51 kb/s, Avg QP:29.11

The NEON patch is not in the the 1.4.2 build nor in the snapshot. I found a ffmpeg build that supposedly has the patch, but I don't know how to run it.

I thought maybe it would be possible to take the parameters from Handbrake and paste them into the command line, but I don't see where to get them from. If anyone knows where to get them from, or knows how to run this benchmark file in ffmpeg I am interested.

Of course, also, information about logging the results would be helpful. Otherwise I am looking into myself in my free time. If I figure it out, I will post.
 

DrMrLordX

Lifer
Apr 27, 2000
21,797
11,143
136
The NEON patch is not in the the 1.4.2 build nor in the snapshot.

Hmm most unfortunate. Someone on this very forum was posting the other day about a NEON-enabled version of Handbrake! Wish I could remember where I saw it.

edit: a possible lead:



 
Last edited:

Hitman928

Diamond Member
Apr 15, 2012
5,593
8,770
136
Hmm most unfortunate. Someone on this very forum was posting the other day about a NEON-enabled version of Handbrake! Wish I could remember where I saw it.

edit: a possible lead:




From your first link,

That patch is in the current HB nightly builds as far as I know. I'm still not sure it came from Apple although the notes say it did.

Looks like Neon is already in the dev nightly builds, at least according to this user.
 

Nothingness

Platinum Member
Jul 3, 2013
2,734
1,375
136
Could be that by 1.42 the NEON support has been mainlined into release builds.
I downloaded the source code and the NEWS file doesn't mention Neon (though it mentions Apple Silicon support for 1.4.0).
The Apple Neon patch file is in there but it doesn't seem to have been applied. But perhaps is it applied during the build (I couldn't find any explicit reference to it)?

@The Hardcard How can you be sure there's no Neon in there?
 

The Hardcard

Member
Oct 19, 2021
124
179
86
I downloaded the source code and the NEWS file doesn't mention Neon (though it mentions Apple Silicon support for 1.4.0).
The Apple Neon patch file is in there but it doesn't seem to have been applied. But perhaps is it applied during the build (I couldn't find any explicit reference to it)?

@The Hardcard How can you be sure there's no Neon in there?

I am still investigating, but the most recent reference I’ve encountered so far is this Homebrew guy in June saying it not part of the official ffmpeg release yet. I haven’t seen any indication that the release ffmpeg has been updated with the patch.


I have gotten the patched ffmpeg to run at near identical file settings. Matroska H.265 2160. I am getting an 108MB file from Handbrake and an 117MB file from ffmpeg.

Two issues: 1. I haven’t figured out the proper syntax for the audio track, so it just drops it.

2. The source file is 25 fps but the benchmark settings are for 4k at 60fps. However, playing the Handbrake export in VLC still shows 25 fps.

Putting 60 fps in ffmpeg will cause VLC to say it is 60 fps. The export times are the same for 60 fps and 25 fps (and more confusing, the playback looks the same in terms for the speed of the action, so I am not clear what is happening there.)

However, I am getting 9 fps processing rate from the patched ffmpeg versus 5.6 fps with Handbrake 1.4.2.

I am studying how to make a proper audio argument, but I am pretty sure the audio processing isn’t 40 percent of the Handbrake run. I’ll bet it will be still above 8 fps with the audio.
 
Last edited:

Hotrod2go

Senior member
Nov 17, 2021
300
169
86
I've never benched with this app before but just want to get one thing clear, does this come with a built in video clip to decode or do we have to add our own?
Btw, v1.5.1 is it now. So if we are comparing should we not use the same version?
 

Hitman928

Diamond Member
Apr 15, 2012
5,593
8,770
136
I've never benched with this app before but just want to get one thing clear, does this come with a built in video clip to decode or do we have to add our own?
Btw, v1.5.1 is it now. So if we are comparing should we not use the same version?

Yes, you should use the same version, you can find it here: https://handbrake.fr/old.php .

The video to use is here: https://drive.google.com/file/d/10Mxc45PQDjV__qX7VRCijuF4JMrP6Ee1/view?usp=sharing

Settings are in the first post of the thread.
 

Noid

Platinum Member
Sep 20, 2000
2,384
191
106
encoded 1806 frames in 154.81s (11.67 fps), 11820.04 kb/s, Avg QP:29.09 - Update Cas to 16 please


Getting the max numbers for all my benchmarks - dis-regarding stability
I'm on air, and my chip hates anything above 1.35v
Static OC of 4675 for this benchmark test.
Used 2 high volume industrial fans placed facing my open box.
( 3dMark produced numbers with static OC of 4825 @ 1.35v !!! lol )
 
Last edited:
Reactions: ElFenix

Det0x

Golden Member
Sep 11, 2014
1,055
3,087
136
Handbreak 1.33

encoded 1806 frames in 91.65s (19.71 fps), 11820.04 kb/s, Avg QP:29.09
4468 average effective clocks

HandBrake 1.3.3 (2020061300)
OS: Microsoft Windows NT 10.0.22000.0
CPU: AMD Ryzen 9 7950X 16-Core Processor
Ram: 31892 MB,
GPU Information:
NVIDIA GeForce RTX 3090 - 31.0.15.1748
Microsoft Basic Display Adapter - 10.0.22000.1
Screen: 3840x2160
Temp Dir: C:\Users\Erlend\AppData\Local\Temp\
Install Dir: I:\Clean install Windows 11\5950x\programmer\Handbreak 1.33\HandBrake
Data Dir: C:\Users\Erlend\AppData\Roaming\HandBrake

-------------------------------------------


# Starting Encode ...

[09:13:26] base preset: H.265 MKV 2160p60
[21:13:26] hb_init: starting libhb thread
[21:13:26] Starting work at: Thu Oct 06 21:13:26 2022
[21:13:26] 1 job(s) to process
[21:13:26] json job:
{
"Audio": {
"AudioList": [
{
"Bitrate": 160,
"DRC": 0.0,
"Encoder": "av_aac",
"Gain": 0.0,
"Mixdown": 4,
"NormalizeMixLevel": false,
"Samplerate": 0,
"Track": 0,
"DitherMethod": 0
}
],
"CopyMask": [
"copy:aac",
"copy:ac3",
"copy:dtshd",
"copy:dts",
"copy:eac3",
"copy:flac",
"copy:mp3",
"copy:truehd"
],
"FallbackEncoder": "ac3"
},
"Destination": {
"ChapterList": [
{
"Name": "Chapter 1"
}
],
"ChapterMarkers": true,
"AlignAVStart": false,
"File": "C:\\Users\\Erlend\\Videos\\Lg New York Hdr Uhd 4K Demo-1.mkv",
"Mp4Options": {
"IpodAtom": false,
"Mp4Optimize": false
},
"Mux": "av_mkv"
},
"Filters": {
"FilterList": [
{
"ID": 4,
"Settings": {
"mode": "7"
}
},
{
"ID": 3,
"Settings": {
"block-height": "16",
"block-thresh": "40",
"block-width": "16",
"filter-mode": "2",
"mode": "3",
"motion-thresh": "1",
"spatial-metric": "2",
"spatial-thresh": "1"
}
},
{
"ID": 12,
"Settings": {
"crop-bottom": "0",
"crop-left": "0",
"crop-right": "0",
"crop-top": "0",
"height": "2160",
"width": "3840"
}
},
{
"ID": 6,
"Settings": {
"mode": "2",
"rate": "27000000/450000"
}
}
]
},
"PAR": {
"Num": 1,
"Den": 1
},
"Metadata": {},
"SequenceID": 0,
"Source": {
"Angle": 1,
"Range": {
"Type": "chapter",
"Start": 1,
"End": 1
},
"Title": 1,
"Path": "I:\\Clean install Windows 11\\5950x\\programmer\\Handbreak 1.33\\LG New York HDR UHD 4K Demo.ts"
},
"Subtitle": {
"Search": {
"Burn": true,
"Default": false,
"Enable": true,
"Forced": true
},
"SubtitleList": []
},
"Video": {
"Encoder": "x265",
"Level": "auto",
"TwoPass": false,
"Turbo": false,
"ColorMatrixCode": 0,
"Options": "strong-intra-smoothing=0:rect=0:aq-mode=1",
"Preset": "slow",
"Profile": "main",
"Quality": 24.0,
"QSV": {
"Decode": false,
"AsyncDepth": 0
}
}
}
[21:13:26] CPU: AMD Ryzen 9 7950X 16-Core Processor
[21:13:26] - logical processor count: 32
[21:13:26] Intel Quick Sync Video support: no
[21:13:26] hb_scan: path=I:\Clean install Windows 11\5950x\programmer\Handbreak 1.33\LG New York HDR UHD 4K Demo.ts, title_index=1
udfread ERROR: ECMA 167 Volume Recognition failed
src/libbluray/disc/disc.c:323: failed opening UDF image I:\Clean install Windows 11\5950x\programmer\Handbreak 1.33\LG New York HDR UHD 4K Demo.ts
src/libbluray/disc/disc.c:424: error opening file BDMV\index.bdmv
src/libbluray/disc/disc.c:424: error opening file BDMV\BACKUP\index.bdmv
src/libbluray/bluray.c:2585: nav_get_title_list(I:\Clean install Windows 11\5950x\programmer\Handbreak 1.33\LG New York HDR UHD 4K Demo.ts\) failed
[21:13:26] bd: not a bd - trying as a stream/file instead
libdvdnav: Using dvdnav version 6.0.1
libdvdread: Encrypted DVD support unavailable.
libdvdreadVDOpenFileUDF:UDFFindFile /VIDEO_TS/VIDEO_TS.IFO failed
libdvdreadVDOpenFileUDF:UDFFindFile /VIDEO_TS/VIDEO_TS.BUP failed
libdvdread: Can't open file VIDEO_TS.IFO.
libdvdnav: vm: failed to read VIDEO_TS.IFO
[21:13:26] dvd: not a dvd - trying as a stream/file instead
[21:13:26] file is MPEG Transport Stream with 188 byte packets offset 0 bytes
[21:13:26] hb_ts_stream_find_pids - end of file
Input #0, mpegts, from 'I:\Clean install Windows 11\5950x\programmer\Handbreak 1.33\LG New York HDR UHD 4K Demo.ts':
Duration: 00:01:12.15, start: 0.999989, bitrate: 52098 kb/s
Program 1
Stream #0:0[0x101]: Video: hevc (Main 10) ([36][0][0][0] / 0x0024), yuv420p10le(tv, bt2020nc/bt2020/smpte2084), 3840x2160 [SAR 1:1 DAR 16:9], 25 fps, 25 tbr, 90k tbn, 25 tbc
Stream #0:1[0x102](und): Audio: aac (LC) ([15][0][0][0] / 0x000F), 48000 Hz, stereo, fltp, 192 kb/s
[21:13:26] scan: decoding previews for title 1
[21:13:26] file is MPEG Transport Stream with 188 byte packets offset 0 bytes
[21:13:26] hb_ts_stream_find_pids - end of file
[21:13:26] scan: audio 0x1: aac, rate=48000Hz, bitrate=192000 Unknown (AAC LC) (2.0 ch) (192 kbps)
[21:13:28] scan: 10 previews, 3840x2160, 25.000 fps, autocrop = 0/0/0/0, aspect 16:9, PAR 1:1
[21:13:28] scan: supported video decoders: avcodec qsv
[21:13:28] libhb: scan thread found 1 valid title(s)
[21:13:28] Skipping subtitle scan. No suitable subtitle tracks.
[21:13:28] Starting Task: Encoding Pass
[21:13:28] Skipping crop/scale filter
[21:13:28] work: only 1 chapter, disabling chapter markers
[21:13:28] job configuration:
[21:13:28] * source
[21:13:28] + I:\Clean install Windows 11\5950x\programmer\Handbreak 1.33\LG New York HDR UHD 4K Demo.ts
[21:13:28] + title 1, chapter(s) 1 to 1
[21:13:28] + container: mpegts
[21:13:28] + data rate: 52098 kbps
[21:13:28] * destination
[21:13:28] + C:\Users\Erlend\Videos\Lg New York Hdr Uhd 4K Demo-1.mkv
[21:13:28] + container: Matroska (libavformat)
[21:13:28] * video track
[21:13:28] + decoder: hevc
[21:13:28] + filters
[21:13:28] + Comb Detect (mode=3:spatial-metric=2:motion-thresh=1:spatial-thresh=1:filter-mode=2:block-thresh=40:block-width=16:block-height=16)
[21:13:28] + Decomb (mode=39)
[21:13:28] + Framerate Shaper (mode=2:rate=27000000/450000)
[21:13:28] + frame rate: 25.000 fps -> peak rate limited to 60.000 fps
[21:13:28] + Output geometry
[21:13:28] + storage dimensions: 3840 x 2160
[21:13:28] + pixel aspect ratio: 1 : 1
[21:13:28] + display dimensions: 3840 x 2160
[21:13:28] + encoder: H.265 (libx265)
[21:13:28] + preset: slow
[21:13:28] + options: strong-intra-smoothing=0:rect=0:aq-mode=1
[21:13:28] + profile: main
[21:13:28] + level: auto
[21:13:28] + quality: 24.00 (RF)
[21:13:28] + color profile: 9-16-9
[21:13:28] * audio track 1
[21:13:28] + decoder: Unknown (AAC LC) (2.0 ch) (192 kbps) (track 1, id 0x1)
[21:13:28] + bitrate: 192 kbps, samplerate: 48000 Hz
[21:13:28] + mixdown: Stereo
[21:13:28] + dither: none
[21:13:28] + encoder: AAC (libavcodec)
[21:13:28] + bitrate: 160 kbps, samplerate: 48000 Hz
[21:13:28] file is MPEG Transport Stream with 188 byte packets offset 0 bytes
[21:13:28] hb_ts_stream_find_pids - end of file
[21:13:28] sync: expecting 1803 video frames
x265 [info]: HEVC encoder version 3.2.1+1-b5c86a64bbbe
x265 [info]: build info [Windows][GCC 9.2.0][64 bit] 8bit+10bit+12bit
x265 [info]: using cpu capabilities: MMX2 SSE2Fast LZCNT SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2
x265 [info]: Main profile, Level-5 (Main tier)
x265 [info]: Thread pool created using 32 threads
x265 [info]: Slices : 1
x265 [info]: frame threads / pool features : 6 / wpp(34 rows)
x265 [info]: Coding QT: max CU size, min CU size : 64 / 8
x265 [info]: Residual QT: max TU size, max depth : 32 / 1 inter / 1 intra
x265 [info]: ME / range / subpel / merge : star / 57 / 3 / 3
x265 [info]: Keyframe min / max / scenecut / bias: 25 / 250 / 40 / 5.00
x265 [info]: Lookahead / bframes / badapt : 25 / 4 / 2
x265 [info]: b-pyramid / weightp / weightb : 1 / 1 / 0
x265 [info]: References / ref-limit cu / depth : 4 / on / on
x265 [info]: AQ: mode / str / qg-size / cu-tree : 1 / 1.0 / 32 / 1
x265 [info]: Rate Control / qCompress : CRF-24.0 / 0.60
x265 [info]: tools: limit-modes rd=4 psy-rd=2.00 rdoq=2 psy-rdoq=1.00 rskip
x265 [info]: tools: signhide tmvp lslices=4 deblock sao
[21:13:28] sync: first pts video is 0
[21:13:28] sync: "Chapter 1" (1) at frame 1 time 0
[21:13:28] sync: first pts audio 0x1 is 0
[21:14:55] reader: done. 1 scr changes
[21:14:59] work: average encoding speed for job is 20.007059 fps
[21:14:59] comb detect: heavy 1091 | light 277 | uncombed 438 | total 1806
[21:15:00] decomb: deinterlaced 1091 | blended 277 | unfiltered 438 | total 1806
[21:15:00] vfr: 1806 frames output, 0 dropped and 0 duped for CFR/PFR
[21:15:00] vfr: lost time: 0 (0 frames)
[21:15:00] vfr: gained time: 0 (0 frames) (0 not accounted for)
[21:15:00] aac-decoder done: 3384 frames, 0 decoder errors
[21:15:00] hevc-decoder done: 1806 frames, 0 decoder errors
[21:15:00] sync: got 1806 frames, 1803 expected
[21:15:00] sync: framerate min 25.000 fps, max 25.000 fps, avg 25.000 fps
x265 [info]: frame I: 20, Avg QP:22.74 kb/s: 84168.04
x265 [info]: frame P: 426, Avg QP:24.64 kb/s: 29918.47
x265 [info]: frame B: 1360, Avg QP:30.58 kb/s: 5087.03
x265 [info]: Weighted P-Frames: Y:15.7% UV:11.0%
x265 [info]: consecutive B-frames: 9.6% 1.8% 7.6% 35.9% 45.1%
encoded 1806 frames in 91.65s (19.71 fps), 11820.04 kb/s, Avg QP:29.09
[21:15:00] mux: track 0, 1806 frames, 106742176 bytes, 11814.30 kbps, fifo 512
[21:15:00] mux: track 1, 3385 frames, 1365514 bytes, 151.14 kbps, fifo 1024
[21:15:00] Finished work at: Thu Oct 06 21:15:00 2022
[21:15:00] libhb: work result = 0

# Encode Completed ...
 

Det0x

Golden Member
Sep 11, 2014
1,055
3,087
136
HandBrake 1.3.3 (2020061300)
OS: Microsoft Windows NT 10.0.22621.0
CPU: 13th Gen Intel(R) Core(TM) i9-13900K
Ram: 32535 MB,
GPU Information:
Intel(R) UHD Graphics - 31.0.101.3302
Screen: 3840x2160
[17:30:03] Starting work at: Sun Oct 16 17:30:03 2022
[17:30:39] work: average encoding speed for job is 53.345528 fps
[17:30:39] vfr: 1806 frames output, 0 dropped and 0 duped for CFR/PFR
[17:30:39] Finished work at: Sun Oct 16 17:30:39 2022

Average CPU usage 8,8%.

View attachment 69255
Need to change preset
 

Det0x

Golden Member
Sep 11, 2014
1,055
3,087
136
Second attempt.

HandBrake 1.3.3 (2020061300)
OS: Microsoft Windows NT 10.0.22621.0
CPU: 13th Gen Intel(R) Core(TM) i9-13900K
Ram: 32535 MB,
GPU Information:
Intel(R) UHD Graphics - 31.0.101.3302
Screen: 3840x2160

[18:00:59] Starting work at: Sun Oct 16 18:00:59 2022
[18:01:45] work: average encoding speed for job is 41.937748 fps
x264 [info]: kb/s:15650.31
[18:01:46] mux: track 0, 1806 frames, 141321562 bytes, 15641.57 kbps, fifo 512
[18:01:46] mux: track 1, 3385 frames, 1365514 bytes, 151.14 kbps, fifo 1024
[18:01:46] Finished work at: Sun Oct 16 18:01:46 2022

What info from the log should I add? The log is not easy to navigate in.

Average CPU use 25%. It was throttling due to small air cooler mounted.

View attachment 69261
Think its quicksync that's doing most of the job atm.. (?)
Do you have it enabled here?
 
sale-70-410-exam    | Exam-200-125-pdf    | we-sale-70-410-exam    | hot-sale-70-410-exam    | Latest-exam-700-603-Dumps    | Dumps-98-363-exams-date    | Certs-200-125-date    | Dumps-300-075-exams-date    | hot-sale-book-C8010-726-book    | Hot-Sale-200-310-Exam    | Exam-Description-200-310-dumps?    | hot-sale-book-200-125-book    | Latest-Updated-300-209-Exam    | Dumps-210-260-exams-date    | Download-200-125-Exam-PDF    | Exam-Description-300-101-dumps    | Certs-300-101-date    | Hot-Sale-300-075-Exam    | Latest-exam-200-125-Dumps    | Exam-Description-200-125-dumps    | Latest-Updated-300-075-Exam    | hot-sale-book-210-260-book    | Dumps-200-901-exams-date    | Certs-200-901-date    | Latest-exam-1Z0-062-Dumps    | Hot-Sale-1Z0-062-Exam    | Certs-CSSLP-date    | 100%-Pass-70-383-Exams    | Latest-JN0-360-real-exam-questions    | 100%-Pass-4A0-100-Real-Exam-Questions    | Dumps-300-135-exams-date    | Passed-200-105-Tech-Exams    | Latest-Updated-200-310-Exam    | Download-300-070-Exam-PDF    | Hot-Sale-JN0-360-Exam    | 100%-Pass-JN0-360-Exams    | 100%-Pass-JN0-360-Real-Exam-Questions    | Dumps-JN0-360-exams-date    | Exam-Description-1Z0-876-dumps    | Latest-exam-1Z0-876-Dumps    | Dumps-HPE0-Y53-exams-date    | 2017-Latest-HPE0-Y53-Exam    | 100%-Pass-HPE0-Y53-Real-Exam-Questions    | Pass-4A0-100-Exam    | Latest-4A0-100-Questions    | Dumps-98-365-exams-date    | 2017-Latest-98-365-Exam    | 100%-Pass-VCS-254-Exams    | 2017-Latest-VCS-273-Exam    | Dumps-200-355-exams-date    | 2017-Latest-300-320-Exam    | Pass-300-101-Exam    | 100%-Pass-300-115-Exams    |
http://www.portvapes.co.uk/    | http://www.portvapes.co.uk/    |