# Chnowa howa VideoToolbox? Décodage vidéo matériel 3al Mac

> VideoToolbox howa framework Apple lel décodage w encodage vidéo matériel. A3ref kifeh ysarra3 HEVC, H.264, w AV1 w ywaffer batterie 3la Apple Silicon.

Tnachar nhar 2026-10-31 · Les librairies wel outils · https://www.hazenstudio.com/maclc/tn/blog/what-is-videotoolbox/

## Bil mokhtasar

- VideoToolbox howa el framework C mta3 Apple lel décodage w encodage vidéo b-accélération matérielle.
- Kol puce Apple Silicon tsarra3 H.264, HEVC w ProRes, w M3/M4 yzidou décodage matériel AV1.
- El décodage matériel y3addi el flux l-blocs silicium khassin, w y5alli el CPU rekech wel marwa7a sakta.
- Wa9t codec ma 3andouch accélération matérielle, el lecteurs yerj3ou l-décodeurs logiciels kima dav1d wella FFmpeg.

VideoToolbox howa el framework C natif mta3 Apple elli ya3ti l-apps macOS accès direct lel décodeurs w encodeurs matériels fil Media Engine mta3 el Mac. Hakka el vidéo 4K w 8K tekhdem b-slasa w istihlek batterie sghir barcha men ghir ma yekhdem el CPU.

*Pipeline décodage matériel 3la Apple Silicon*

## Décodage matériel vs Décodage logiciel

* **Matériel (VideoToolbox):** Blocs ASIC fixes ye7sbou el frame fi 1–2 ms w yor9dou; istihlek < 2W lel système el kol (15–22 se3a batterie 3la MacBook Pro).
* **Logiciel (CPU):** El CPU ye7seb kol pixel; istihlek 15–25W, s5ana w marwa7a tdour (3–4 se3at batterie). Chouf [batterie Mac wa9t el lecture vidéo](/maclc/blog/mac-battery-video-playback/).

## Chnouma el codecs elli ysarra3hom Apple Silicon?

| Codec & Profil | Famille M1 | Famille M2 | Famille M3 | Famille M4 | Type Support |
| :--- | :--- | :--- | :--- | :--- | :--- |
| **H.264 (AVC)** (8-bit) | Ey | Ey | Ey | Ey | Décodage & Encodage Matériel |
| **HEVC (H.265)** (8-bit & 10-bit 4:2:0) | Ey | Ey | Ey | Ey | Décodage & Encodage Matériel |
| **Apple ProRes & ProRes RAW** | Pro/Max/Ultra bark | Ey | Ey | Ey | Décodage & Encodage Matériel |
| **AV1** (Main 8-bit & 10-bit) | Lé | Lé | Ey | Ey | Décodage Matériel Bark |
| **VP9** (Profile 0 & Profile 2) | Ey | Ey | Ey | Ey | Décodage Matériel (Supplémentaire) |

## Kifeh FFmpeg wel lecteurs yesta3mlou VideoToolbox?

Fi [FFmpeg](https://trac.ffmpeg.org/wiki/HWAccelIntro#VideoToolbox):
```bash
# Decodi vidéo b-accélération matérielle VideoToolbox
ffmpeg -hwaccel videotoolbox -i input_4k_hevc.mkv -f null -

# Transcodi b-encodeur matériel HEVC Apple Silicon
ffmpeg -i input.mov -c:v hevc_videotoolbox -b:v 6000k -c:a copy output.mp4
```

MacLC y3addi H.264, HEVC w ProRes directement 3al Media Engine mta3 Apple Silicon via VideoToolbox. 3la M3 w ajadd, yesta3mel décodage matériel AV1, w yerja3 automatiquement l-moteur logiciel dav1d 3la M1 w M2.

## Chnowa ysir ki format ma 3andouch da3m matériel?

El formats kima VP8, MPEG-2, HEVC 4:2:2/4:4:4 wella AV1 3la M1/M2 yerj3ou l-décodeurs logiciels kima [dav1d](/maclc/blog/what-is-dav1d/) wella FFmpeg. Chouf zeda [chnowa howa HEVC](/maclc/blog/what-is-hevc/) w [H.264 vs H.265 vs AV1](/maclc/blog/h264-vs-h265-vs-av1/).

## As2ela yet3awdou

### Chnowa howa VideoToolbox 3la macOS?

VideoToolbox howa framework natif men Apple ya3ti lel apps accès direct lel moteurs compression w décompression matériels fi Macs Apple Silicon w Intel.

### Ya5i VideoToolbox yed3em décodage AV1?

Ey, ama ken 3la Macs b-M3 wella M4. El puces M1 w M2 ma fihomch blocs AV1 matériels w lezemhom décodage logiciel b-dav1d.

### Kifeh na3ref ken vidéo te5dem b-accélération matérielle 3al Mac?

Wa9t el lecture matérielle, istihlek el CPU fil Moniteur d'activité yab9a bin 0% w 2%, el Mac yab9a bared wel marwa7a ma tdourch 7atta fi 4K wella 8K.

### Ynajem VideoToolbox yencodi vidéo AV1?

Lé. Fi macOS 26 wel famille M4, Apple Silicon fihom décodeur matériel AV1 bark. L-encodage matériel ma7sour fi H.264, HEVC w ProRes.

---
MacLC lecteur vidéo gratuit w open-source l-Mac Apple Silicon: https://www.hazenstudio.com/maclc/tn/ · tanzil: https://www.hazenstudio.com/maclc/tn/donate/
