From c1867169b2296ddbc64f79170a55ec06ddde597b Mon Sep 17 00:00:00 2001 From: Damiano galassi Date: Tue, 17 Oct 2023 07:49:28 +0200 Subject: [PATCH] docs: en: mention the availability of videotoolbox hardware decoders. --- .../technical/video-videotoolbox.markdown | 32 +++++++++++++++++-- 1 file changed, 29 insertions(+), 3 deletions(-) diff --git a/source/docs/en/latest/technical/video-videotoolbox.markdown b/source/docs/en/latest/technical/video-videotoolbox.markdown index aed650e5..2b9a8930 100644 --- a/source/docs/en/latest/technical/video-videotoolbox.markdown +++ b/source/docs/en/latest/technical/video-videotoolbox.markdown @@ -18,10 +18,14 @@ Apple VideoToolbox ## Supported hardware +Encoding: - Most 2011 and later Macs Please note, these are not hard limits. Hardware encoding via VideoToolbox *might* work on older series GPUs and older operating systems, but this is not officially supported. +Decoding: +- macOS 13 and later + ## Enabling support If your computer is supported you will see one or more of the following video encoders added to the encoder control on the `Video` tab. @@ -30,13 +34,35 @@ If your computer is supported you will see one or more of the following video en - H.265 (VideoToolbox) - H.265 10bit (VideoToolbox) -Choice of the underlying hardware encoder (AMD VCE or Intel Quick Sync Video) is not available. The highest quality option will typically be chosen. +Choice of the underlying hardware encoder (AMD VCE, Intel Quick Sync Video, or Apple Media Engine) is not available. The highest quality option will typically be chosen. + +## Presets + +The following presets are available under the 'Hardware' category in the presets menu: + +- H.265 Apple VideoToolbox 2160P 4K +- H.265 Apple VideoToolbox 1080p + +These are a good starting point for configuring HandBrake to use these encoders. ## Performance -Only video encoding is performed by the hardware encoder. Every stage prior to and after video encoding including decoding, filters, audio/video sync, audio encoding, muxing, etc., is performed by the CPU. As a result, it is normal to have high (even 100%) CPU utilisation during encodes. +By default only video encoding is performed by the hardware encoder. Every stage prior to and after video encoding including decoding, filters, audio/video sync, audio encoding, muxing, etc., is performed by the CPU. As a result, it is normal to have high (even 100%) CPU utilisation during encodes. + +To decrease CPU utilisation, hardware decoders can be enabled in the Advanced preferences panel on macOS 13 and later, either to be used only in combination with the hardware encoders, or always. + +Additionally, the following filters will be run on the GPU when both hardware decoders & encoders are selected: +- Rotate +- Crop & Scale +- Pad +- Yadif +- Bwdif +- Chroma Smooth +- Unsharp +- Lapsharp +- Grayscale -It is common, particularly on lower-end hardware, for the CPU to be a bottleneck for the hardware video encoder. To minimize this effect, disable any filters that you do not require. +It is common, particularly on lower-end hardware, for the CPU to be a bottleneck for the hardware video encoder. To minimize this effect, enable the hardware decoders, and disable any filters that you do not require and can't be run on the GPU. ## Advanced options