VideoToolBox H265 vs X265

HandBrake for Mac support
Forum rules
An Activity Log is required for support requests. Please read How-to get an activity log? for details on how and why this should be provided.
Post Reply
zindi
Posts: 12
Joined: Fri Dec 14, 2007 9:33 pm

VideoToolBox H265 vs X265

Post by zindi »

Description of problem or question:
I have been using an M1 Mac Mini to compress blu-ray mkvs.
I have been using a X265 lately. I had an error with one file and came to site and saw mention of VideoToolBox, so I read the faq and decided to try it.
VideoToolBox is massively faster.
Here are my settings: (both: mkv, frame rate: same as source, tune: none, level: auto)
X265 H265 10bit 20RF, slower, 15-20fps, generally over 2 hours to complete.
VideoToolBox H265 10bit, 20 CQ, quality preset, 250fps, about 12mins.
this test is with no filters, but I do use Denoise: HQDN3D Medium to reduce files size on grainy videos regularly.

My question is, what if any are the quality differences or anything I need to be aware of?
why wouldn't all Mac users use videotoolbox?
is there a reason why there are no presets made for videotoolbox?

I quickly looked at parts of the test video and it looks near perfect to me.

thanks to all the devs that make handbrake!!!

Steps to reproduce the problem (If Applicable):
use VideoToolBox H265 10bit

HandBrake version (e.g., 1.0.0):
1.6.1


Operating system and version (e.g., Ubuntu 16.04 LTS, macOS 10.13 High Sierra, Windows 10 Creators Update):

macOS 12.6.3


HandBrake Activity Log ***required*** (see How-to get an activity log)

Code: Select all

[00:23:31] sync: "Chapter 1" (1) at frame 1 time 0
[00:23:55] sync: "Chapter 2" (2) at frame 5958 time 22361088
[00:24:26] sync: "Chapter 3" (3) at frame 13823 time 51884332
[00:24:54] sync: "Chapter 4" (4) at frame 20862 time 78306978
[00:25:25] sync: "Chapter 5" (5) at frame 28533 time 107101995
[00:25:52] sync: "Chapter 6" (6) at frame 35511 time 133295662
[00:26:21] sync: "Chapter 7" (7) at frame 42818 time 160724313
[00:26:52] sync: "Chapter 8" (8) at frame 50365 time 189053865
[00:27:15] sync: "Chapter 9" (9) at frame 56290 time 211294833
[00:28:03] sync: "Chapter 10" (10) at frame 68292 time 256347341
[00:28:59] sync: "Chapter 11" (11) at frame 82390 time 309267708
[00:29:32] sync: "Chapter 12" (12) at frame 90517 time 339774435
[00:30:09] sync: "Chapter 13" (13) at frame 99907 time 375022147
[00:30:38] sync: "Chapter 14" (14) at frame 107184 time 402338186
[00:31:20] sync: "Chapter 15" (15) at frame 117574 time 441339648
[00:32:08] sync: "Chapter 16" (16) at frame 129727 time 486958972
[00:32:54] sync: "Chapter 17" (17) at frame 141352 time 530596316
[00:33:28] sync: "Chapter 18" (18) at frame 149821 time 562386825
[00:34:26] sync: "Chapter 19" (19) at frame 164173 time 616260645
[00:35:16] sync: "Chapter 20" (20) at frame 176951 time 664226062
[00:35:51] reader: done. 1 scr changes
rollin_eng
Veteran User
Posts: 4636
Joined: Wed May 04, 2011 11:06 pm

Re: VideoToolBox H265 vs X265

Post by rollin_eng »

You are trading quality and/or size for speed.

If you’re happy with the results stick with it.
mduell
Veteran User
Posts: 7899
Joined: Sat Apr 21, 2007 8:54 pm

Re: VideoToolBox H265 vs X265

Post by mduell »

Quality setting 20 is wildly different on these two encoders; your outputs aren't the same quality or size.
zindi
Posts: 12
Joined: Fri Dec 14, 2007 9:33 pm

Re: VideoToolBox H265 vs X265

Post by zindi »

ok, if they don't match quality, what settings in x265 RF 20, slower, would match settings for videotoolbox?
mduell
Veteran User
Posts: 7899
Joined: Sat Apr 21, 2007 8:54 pm

Re: VideoToolBox H265 vs X265

Post by mduell »

I don't know of any universal rule, you'll need to do a bit of experimentation to see where they look about the same to you.
zindi
Posts: 12
Joined: Fri Dec 14, 2007 9:33 pm

Re: VideoToolBox H265 vs X265

Post by zindi »

when VideoToolbox 10bit H265 gets an average of 6mb/s, should that be the same as x265 10bit at 6mb/s?
zindi
Posts: 12
Joined: Fri Dec 14, 2007 9:33 pm

Re: VideoToolBox H265 vs X265

Post by zindi »

There seems to be discrepancies in Handbrakes VideoToolbox quality setting.
The help text for VideoToolbox and x264/5 are the same referencing RF when you hover over the slider. x264/5 uses RF for the quality slider, but VideoToolbox uses CQ for the quality slider. RF uses lower number for high the quality, but VideoToolbox uses a higher number for higher quality.
Devs do you know about this? Is there a reason?
mduell
Veteran User
Posts: 7899
Joined: Sat Apr 21, 2007 8:54 pm

Re: VideoToolBox H265 vs X265

Post by mduell »

zindi wrote: Wed Feb 08, 2023 12:46 am when VideoToolbox 10bit H265 gets an average of 6mb/s, should that be the same as x265 10bit at 6mb/s?
Depends on the x265 encoder preset.

Veryfast may be similar, veryslow won't be.
Post Reply