# MKVToolNix 3al Mac: baddel fichiers MKV men ghir ré-encodage

> T3allem kifeh testa3mel MKVToolNix 3la macOS bech tlammed vidéo, tzid sous-titres, w tna77i pistes audio fi thawani men ghir ré-encodage.

Tnachar nhar 2026-10-31 · Les librairies wel outils · https://www.hazenstudio.com/maclc/tn/blog/mkvtoolnix-on-mac/

## Bil mokhtasar

- MKVToolNix ybaddel fichiers Matroska men ghir ma y3awed yencodi flux el vidéo wella el audio.
- El suite fiha mkvmerge, mkvextract, mkvinfo, w mkvpropedit.
- mkvpropedit ybaddel asami el pistes, el loughat, w flags forced fi ajze2 men eth-thaniya.
- Tnajjem t’installi MKVToolNix 3la Apple Silicon b-Homebrew wella DMG officiel signé.
- MacLC y5addem fichiers MKV el remuxés kima houma, b-kol pistes mte3hom.

MKVToolNix howa suite logiciels majjaniya w open-source tasna3, tbaddel, tthabbet, w tdémultiplexi fichiers vidéo Matroska (`.mkv`) 3al Mac men ghir ré-encodage. Sna3ha w mazel ytabba3 fiha Moritz Bunkus, w hiya l-outil standard fi kol blasa bech tnadhem conteneurs média MKV.

Wa9t elli test7a9 tzid piste sous-titres baraniya l-film, tna77i doublage ajnabi ze2ed bech terba7 masaa7a 3al disque, wella tcha3el flag sous-titre forced, MKVToolNix ya3mel hal 5edma fi thawani. 5ater ye5dem 3la ghlaf el conteneur el barani mouch 3la pixels el vidéo el compressés, el 3amaliya ma tdhaya3 7atta qualité w ta9riban ma tekelch batterie.

## Chnowa mawjoud fi suite MKVToolNix 3la macOS?

MKVToolNix mouch outil we7ed; howa majmou3a motnes9a mta3 outils ligne de commande m5asssin m3a interface graphique 7aditha (MKVToolNix GUI):

- **mkvmerge:** El moteur el asasi mta3 el multiplexage. Ylammed flux vidéo mofrdin, pistes audio, sous-titres, chapitres, w polices intégrées fi conteneur Matroska standard.
- **mkvextract:** Moteur el démultiplexage. Y5arrej pistes mofrdin (kima piste audio wella fichier sous-titres) w fichiers intégrés direct men fichier MKV mawjoud l-fichiers mosta9ellin.
- **mkvpropedit:** L-éditeur de propriétés el fawri. Ybaddel entêtes el pistes, codes el loughat, asami el pistes, w flags default wella forced direct fi fichier MKV mawjoud fi ajze2 men eth-thaniya men ghir ma y3awed yekteb el vidéo elli tozen gigaoctets.
- **mkvinfo:** El mofattich technique mta3 el flux. Ya9ra w yaffichi structure Extensible Binary Meta Language (EBML) el da9i9a mta3 el fichier.

## 3lech ta3dil el conteneur a7sen men ré-encodage fi HandBrake?

Wa9t elli mosta3mel Mac 3adi y7eb ybaddel fichier vidéo, awwel 7aja tji fi belou ghaliban hiya y7ell logiciel transcodage kima HandBrake.

El transcodage ydécodi kol taswira vidéo l-pixels bruts, y3awed ye7seb matrices el compression, w y3awed yencodi el film kemel men jdid. 3la film 4K HDR 3adi mta3 sa3tin, el transcodage yekhou sweya3 mta3 processeur, ycha3el ventilateurs el Mac, yfarragh batterie el laptop, w yzid défauts de compression ynajmou ydhaffou tafasil et-taswira.

MKVToolNix ma ymessch el pixels wella mawjet es-sout. Ye5dem ken 3la mostawa el conteneur — 3amaliya tetsamma multiplexage wella remuxage.

Tsawwar fichier MKV kima conteneur mta3 ba7r fih snade9 mta3 flux vidéo, audio, w sous-titres. Wa9t elli testa3mel MKVToolNix bech tzid sous-titre SRT wella tna77i piste commentaire ajnabiya, y7ell el conteneur, y7ott wella yna77i es-sandou9 el ma9soud, w ysakkrou. El 3amaliya kolha tekhou men tletha l-3achra thawani, 3la 7sab sor3et 9rayet w ktibet el disque mte3ek.

Bech ta3ref akther 3al forou9at el binyawiya bin el ghlafet wel codecs, a9ra char7na 3la [MKV vs MP4](/maclc/blog/mkv-vs-mp4/).

## Kifeh t’installi MKVToolNix 3la Mac Apple Silicon?

MKVToolNix natif b-el kemel 3la Apple Silicon (processeurs M1, M2, M3, w M4) w ye5dem 3al versions el 7aditha mta3 macOS, bima fihom macOS 26 Tahoe.

Tnajjem t’installi MKVToolNix b-zouzz toro9 s7a7 w madhmounin:

### Tari9a 1: B-Homebrew (mansou7 biha lel mosta3mlin el mot9admin)

Ken 3andek [gestionnaire de paquets Homebrew](https://brew.sh/) installé 3al Mac, 7ell Terminal (`/Applications/Utilities/Terminal.app`) w installi l-application graphique:

```bash
brew install --cask mkvtoolnix
```

Ken t7eb ken outils ligne de commande (`mkvmerge`, `mkvextract`, `mkvpropedit`) lel scripts Terminal:

```bash
brew install mkvtoolnix
```

3la Macs Apple Silicon, Homebrew y’installi el binaires direct fi `/opt/homebrew/bin/`.

### Tari9a 2: Tanzil image disque officielle signée

Ken tfadhel installateur Mac ta9lidi:

1. Emchi lel site officiel mta3 tanzil fi [mkvtoolnix.download/macos/](https://mkvtoolnix.download/macos/).
2. Nazzel e5er image disque macOS universelle (mathalan `MKVToolNix-103.0.0.dmg`).
3. 7ell l-image disque w ejbed **MKVToolNix** l-dossier `/Applications`.

Moritz Bunkus ysigni w ynotarisi el images disque macOS officielles, elli yadhmen ennou Apple Gatekeeper y5alli l-application tet7all men ghir ta7dhirat sécurité.

## Kifeh tzid sous-titres l-fichier MKV men ghir ré-encodage?

Ziyadet fichier sous-titres `.srt` wella `.ass` menazzel direct fi film MKV hiya akther isti3mal chaye3 l-MKVToolNix GUI.

Tabba3 hal 5otwat b-tartib:

1. 7ell **MKVToolNix** men dossier Applications wella Spotlight (`⌘Space`).
2. E5tar outil **Multiplexer** mel barre latérale 3al ysar.
3. Ejbed fichier el vidéo el asli mte3ek l-boita **Source files** el fou9.
4. Ejbed fichier el sous-titres (`.srt` wella `.ass`) l-nafs boita **Source files**.
5. Fil boita **Tracks, chapters and tags** el louta, enzel 3la piste el sous-titres ej-jdida bech tselectionniha.
6. Fil panneau **Properties** 3al ymin:
   - Baddel menu **Language** l-loughet el sous-titres (mathalan `eng` lel anglais).
   - Fi champ **Track name**, ekteb esm nadhif (mathalan `Full Dialogue` wella `SDH`).
   - Ken t7eb hal sous-titre yodh-her automatiquement wa9t elli t7ell el film, 7ott **"Default track" flag** 3la **Yes**.
7. Fi champ **Destination file** el louta, e5tar win t5abbi el fichier el 5arej.
8. Enzel 3la bouton **Start multiplexing** fi e5er el fenetre.

Fi a9al men 3achra thawani, MKVToolNix yasna3 fichier MKV jdid fih el vidéo mte3ek, kol pistes el audio el asliya, wel sous-titre ej-jdid el madhmoum. Ken test7a9 marra o5ra t5arrej hal sous-titre l-fichier barani, tabba3 darsna 3la [kifeh t5arrej sous-titres men MKV 3al Mac](/maclc/blog/extract-subtitles-from-mkv/).

## Kifeh tna77i pistes audio ma test7a9homch bech terba7 masaa7a?

Les rips mta3 aflam HD ghaliban yjiw b-pistes audio fi setta wella sab3a loughat, m3a commentaires mta3 el mo5rej. Piste lossless Dolby TrueHD wella DTS-HD Master Audio tnajjem tekel men 3 l-5 gigaoctets mel disque l-kol lougha.

Ken tasma3 ken el mix audio el asli, tna77iyat ed-doublages el ajnabiya tnajjem tsaghger fichier film men 40 Go l-32 Go fi thawani:

1. Fi MKVToolNix GUI, 7ell onglet **Multiplexer** w zid fichier MKV mte3ek.
2. Fi lista **Tracks, chapters and tags**, chouf el flux audio. Kol flux ywarri el codec mte3ou, 3adad el canaux (mathalan 5.1 wella stéréo), w code el lougha.
3. **Na77i el coche** men janb el loughat w pistes commentaire elli ma t7ebech t5allihom.
4. Thabbet elli piste el audio el mofadhla mte3ek 3andha **"Default track" flag** ma7tout 3la **Yes**.
5. Enzel **Start multiplexing**.

MKVToolNix yekteb conteneur MKV nadhif w sghir y5alli flux el vidéo kima howa w yna77i gigaoctets el audio ez-zayda.

## Kifeh tbaddel flags el pistes fi ajze2 men eth-thaniya b-mkvpropedit?

Ken t7eb ken tbaddel esm lougha mta3 piste wella t7ott flag sous-titre forced, ma test7a9ech tasna3 fichier multiplexé jdid kemel. Tnajjem tbaddel el fichier el mawjoud fi blastou b-`mkvpropedit`.

`mkvpropedit` ybaddel entêtes conteneur Matroska direct 3al disque men ghir ma ymess wella ycoppi flux el média elli ta7thom:

### B-l-Header Editor el graphique

1. Fi MKVToolNix GUI, enzel 3la **Header Editor** mel barre 3al ysar.
2. 7ell fichier `.mkv` mte3ek.
3. Wassa3 chajret **Tracks** w e5tar flux el sous-titres.
4. Baddel **"Forced display" flag** l-**Yes**.
5. Enzel **⌘S** bech tsajjel. El fichier yetbaddel fi a9al men 0.1 thaniya.

### B-ligne de commande

Tnajjem ta3mel nafs el mise à jour el fawriya fil Terminal mta3 macOS. Bech t7ott flag sous-titre forced 3al awwel piste sous-titre fi film:

```bash
mkvpropedit "Movie.mkv" --edit track:s1 --set flag-forced=1
```

Bech tbaddel awwel piste audio mouch mossamma lel anglais:

```bash
mkvpropedit "Movie.mkv" --edit track:a1 --set language=eng
```

Bech tefhem 3lech les lecteurs média ya3temdou 3la hal flags bech ywarriw klem b-lougha ajnabiya automatiquement, chouf dalilna 3la [chnowa houma sous-titres forced](/maclc/blog/what-are-forced-subtitles/).

MacLC ya9ra conteneurs Matroska kima houma, b-asami el pistes wel loughat mte3hom, men ghir ma yost7a9 plugins men taraf thelith. Yaffichi polices intégrées b-libass w y5alli el sous-titres fi abyadh SDR fou9 HDR.

## Kifeh lezmek t5addem fichiers MKV el m3addlin 3la macOS?

Wa9t elli tnadhem fichiers MKV mte3ek b-MKVToolNix, test7a9 lecteur média ya7tarem b-el kemel spécification Matroska.

QuickTime Player mta3 Apple ma ynajemch y7ell fichiers MKV wella ya9ra flags pistes Matroska. Fi blast ma tdhaya3 wa9t tremixi kol fichier l-conteneur MP4, nazzel [MacLC men saf7et et-tanzil](/maclc/donate/).

MacLC howa lecteur majjani w open-source mabni lel Macs Apple Silicon elli ye5dmou b-macOS 26 Tahoe wella ma ajadd. Y5addem conteneurs MKV direct, ybaddel bin pistes audio, w yaffichi sous-titres vectoriels intégrés b-libass m3a 7ifadh 3al sous-titres fi abyadh SDR fou9 HDR.

## As2ela yet3awdou

### L-ech yosla7 MKVToolNix 3al Mac?

MKVToolNix howa suite d’outils majjaniya w open-source testa3melha bech tasna3, t9assam, tthabbet, w tbaddel fichiers Matroska (.mkv). Y5allik tzid sous-titres, tna77i doublages ma test7a9homch, w tbadel flags el pistes fi thawani men ghir ré-encodage.

### Ya5i MKVToolNix y3awed yencodi wella ytaya7 qualité el vidéo?

Lé. MKVToolNix ye5dem ken 3la mostawa el conteneur. Ycoppi les flux vidéo, audio, w sous-titres compressés paquet b-paquet men ghir ma ydécodi wella y3awed ycompressi el pixels, w y7afedh 3la 100% men el qualité el asliya.

### Kifeh n’installi MKVToolNix 3la macOS?

Tnajjem t’installi l-application graphique b-Homebrew b-commande brew install --cask mkvtoolnix fil Terminal, wella outils ligne de commande b-brew install mkvtoolnix. Wella nazzel DMG signé men mkvtoolnix.download.

### Chnowa el far9 bin mkvmerge w mkvpropedit?

mkvmerge ylammed flux média mofrdin fi fichier MKV jdid. mkvpropedit ybaddel métadonnées, asami el pistes, w flags default/forced direct fi fichier MKV mawjoud fi ajze2 men eth-thaniya men ghir ma y3awed yekteb el vidéo.

---
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/
