3

How do you install Video Toolbox on macOS running on an Apple M1 chip?

I would like to use it with HandBrake but I don’t understand how to do it.

There are none in the presets.

1
  • 1
    I removed the foreign language version of this question, as this is an English forum.
    – davidgo
    Commented Nov 20, 2021 at 2:52

2 Answers 2

2

You don’t install Video Toolbox in macOS because it is already there. As explained in this official Apple doc:

“VideoToolbox is a low-level framework that provides direct access to hardware encoders and decoders. It provides services for video compression and decompression, and for conversion between raster image formats stored in CoreVideo pixel buffers. These services are provided in the form of session objects (compression, decompression, and pixel transfer), which are vended as Core Foundation (CF) types. Apps that don't need direct access to hardware encoders and decoders should not need to use VideoToolbox directly.”

Using Video Toolbox is an encoding option built into macOS.

But as you say, in Handbrake it is not obvious where or how to set it:

“There are none in the presets.”

Correct! None of the presets use Video Toolbox by default. So if you want to use it with HandBrake, just select a video to encode and then choose a preset and then go to the “Video” tab and select other H.264 VideoToolbox or H.265 VideoToolbox. See screenshot below

When you do that, Hanbrake will use VideoToolbox to encode the video.

Just be forewarned: Unless you are using a hardware specifically designed for video compression, the default quality of the output when using Video Toolbox in macOS is truly terrible. Try it out and see for yourself.

It might be useful in some cases, but for quality encoding of content it’s more of a novelty than anything else with default Apple hardware.

enter image description here

1
  • 1
    Thank you very much I found all the settings following your guide.
    – Gabriele
    Commented Nov 23, 2021 at 0:35
0

SOLVED!

VideoToolbox(GPU/Hardware encoding) is already in macOS, but to enable it go to:

  1. [ + ,] or: ["Handbrake" -> "Preferences"];
  2. Advanced;
  3. Enable Enable VideoToolbox hardware decoders;
  • Hint: I also recommend you to enable Also used in combination with softer encoders , since the beer GPU encoding, since only GPU encoding may give you some bad output(experience it for yourself)

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .