T3adda direct lel contenu

Kifech t7awel MKV l-MP4 3la Mac (gratuit w lossless)

7awel MKV l-MP4 3la Mac fi thweni bla ma tdhaya3 qualité. T3allem kifech tremuxi b-ffmpeg, ttagi HEVC l-QuickTime, wella t7awel b-HandBrake.

Bil mokhtasar

  • Remuxing ybaddel conteneur MKV l-MP4 men ghir ré-encodage: 0 na9s fil qualité, w ta9riban wa9t naskh el fichier.
  • L-outil open-source FFmpeg yensakh pistes vidéo w audio direct b-option -c copy.
  • Zyedet flag -tag:v hvc1 ejbariya ki tremuxi vidéo HEVC, wella QuickTime Player bech yorfoch y7ell el MP4 elli yo5rej.
  • Conteneurs MP4 ma ynajmouch yhezzou sous-titres anime ASS stylés, bitmaps Blu-ray PGS, wella polices madmoujin.
  • Ré-encodage b-HandBrake matloub ken ki tbaddel codecs vidéo wella ta7ra9 sous-titres ghir mad3oumin fil taswira.
Fi hal saf7a
  1. Chnowa el far9 bin remuxing w ré-encodage?
  2. Kifech t’installi FFmpeg 3la macOS b-Homebrew
  3. Kifech tremuxi MKV l-MP4 fi thweni b-FFmpeg
  4. Kifech tsalla7 bug QuickTime HEVC b-tag hvc1
  5. Chnowa el mizet elli ydhi3ou ki t7awel MKV l-MP4?
  6. Wa9tech lezem t3awed tencodi b-HandBrake fi blastou?
  7. 3lech lezem teviti convertisseurs fichiers gratuits online?
  8. B-sa7 te7taj t7awel fichiers MKV mte3ek?

Bech t7awel MKV l-MP4 3la Mac men ghir ma tdhaya3 qualité, lezem tremuxi el fichier fi blast ma t3awed tencodih. B-isti3mal outil ligne de commande gratuit kima FFmpeg, tnajem tejbed bitstreams vidéo w audio el asliyin w t3awed tghallafhom fi conteneur MP4, 3adatan fi thweni l-d9i9a wella zouz, men ghir ma tti7 qualité taswira.

Barcha users mta3 Mac ylawjou 3la convertisseur MKV l-MP4 5ater macOS QuickTime Player w appareils mobiles Apple yorfdhou conteneur Matroska (.mkv). Lel asaf, akthariyet outils conversion tijariyin w sites web ma ybaddlouch bark el conteneur. Fi blastou, yfordhou el vidéo tet3adda fi 3amaliyet ré-encodage rzina w modhay3a lel qualité elli tfarregh batterie PC portable mte3ek, twalled skhana, w tdhaya3 tafasil hadhin. Hal guide yfassar kifech ye5dem remuxing, kifech t5addem FFmpeg 3la macOS, kifech teviti bugs lecture QuickTime el chayi3in, w wa9tech tnajem tet3adda et-ta7wil bel kol.

Chnowa el far9 bin remuxing w ré-encodage?

Bech tefhem kifech t7awel fichiers MKV b-ndhafa yotlob tfarra9 bin conteneur média w codec vidéo. Conteneur howa enveloppe fichier numérique (kima .mkv wella .mp4). Da5el heki l-enveloppe y3ichou flux vidéo madhghout (kima H.264 wella HEVC), pistes audio (kima AAC wella AC-3), sous-titres, w marqueurs chapitres.

Animation

Remux or re-encode: two ways to turn an MKV into an MP4

Remuxseconds · no quality lost

MKVVideoAudioMP4

Re-encodeminutes to hours · some quality lost

MKVVideoEncoderMP4
Remuxing copies the tracks into a new box: the video and sound are bit-for-bit the same and it takes seconds. Re-encoding decompresses the video and compresses it again: it takes minutes to hours and always loses a little quality.

Ki t7awel fichier vidéo, 3andek zouz masarat mo5talfin bel kol:

  • Remuxing (Naskh Flux): Remuxing y7ell conteneur Matroska, yejbed pistes vidéo w audio el mawjoudin, w y7othom fi conteneur MP4 men ghir ma ymess el données el madhghoutin. 5ater ma ysir 7atta fakk dhaght mathématique wala i3adet dhaght, el 3amaliya lossless 100%. Te5dem b-sor3et stockage Mac mte3ek, donc tekhou ta9riban wa9t naskh el fichier.
  • Ré-encodage (Transcodage): Ré-encodage ydecodi kol image madhghouta mel vidéo l-pixels kham ghir madhghoutin, w ba3d y3addi hekom el pixels fi encodeur compression (kima x264 wella x265). Hal 3amaliya tsebeb khsara générationalle, tna9as tafasil d9i9in, tlayyen grain el film, w tda5el défauts compression. Totlob zeda 9owwa CPU w GPU makathfa, ghaliban tekhou men 20 d9i9a l-barcha sweye3 7asb processeur Mac mte3ek.

Kol ma fichier MKV el masdar mte3ek fih formats vidéo w audio elli spécification MP4 ted3amhom—kima vidéo H.264 wella HEVC mraf9a b-sout AAC wella Dolby Digital—remuxing dima howa el choix el afdhal.

Kifech t’installi FFmpeg 3la macOS b-Homebrew

El outil standard fil sina3a l-remuxing flux média howa FFmpeg, framework ligne de commande gratuit w open-source mosta3mel men kbar charikat média, plateformes streaming, w développeurs logiciels fil 3alam el kol.

Awdha7 tari9a mawthou9a bech t’installi FFmpeg 3la macOS hiya عبر Homebrew, gestionnaire paquets open-source lel Mac.

Mar7la 1: 7ell Terminal

Enzel Command-Espace bech t7ell Spotlight, ekteb Terminal, w enzel Entrée.

Mar7la 2: Installi Homebrew (ken mouch m’installi deja)

Ken ma 3andekch Homebrew m’installi 3la Mac mte3ek, colli hal commande fi Terminal w enzel Entrée:

/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"

Ebba3 el awamer 3al écran. Homebrew bech yotlob mot de passe administrateur Mac mte3ek bech ykammel setup. 3la Macs Apple Silicon, ebba3 ta3limat terminal el e5rin bech tzid Homebrew l-chemin environnement shell mte3ek.

Mar7la 3: Installi FFmpeg

Melli Homebrew yet’installa, 5addem hal commande fi Terminal:

brew install ffmpeg

Homebrew ytéléchargi FFmpeg hadher m3a librairies elli ye7tajhom. Tnajem takked l-installation ki t5addem ffmpeg -version, elli yaffichi ma3loumat version el m’installiya.

Kifech tremuxi MKV l-MP4 fi thweni b-FFmpeg

Melli FFmpeg yet’installa, remuxing fichier MKV l-fichier MP4 yotlob commande terminal wa7da. Emchi lel dossier elli fih fichier vidéo mte3ek b-commande cd (mathalan, cd ~/Movies), wella ekteb el commande w ejbed fichier vidéo mte3ek direct l-fenêtre Terminal bech tda5el chemin mte3ou.

El commande el standard bech tremuxi fichier MKV l-MP4, w t5alli el vidéo w kol piste audio, hiya:

ffmpeg -i movie.mkv -map 0:v:0 -map 0:a -c copy movie.mp4

El chéma interactif louta yfassar chnowa kol argument fi hal commande yomor FFmpeg ya3mel:

Jarrebha

Tachri7 Command Remux FFmpeg

Outil

Moteur traitement multimédia ligne de commande

  1. ffmpeg: Outil. Moteur traitement multimédia ligne de commande
  2. -i: Flag entrée. Yomor FFmpeg ya9ra fichier masdar elli ba3dou
  3. movie.mkv: Masdar. Chemin fichier vidéo Matroska asli mte3ek
  4. -map 0:v:0: Vidéo ra2isiya. Ye5ou awwel piste vidéo mel entrée
  5. -map 0:a: Kol audio. Ye5ou kol piste audio: loughat w ta3li9at
  6. -c copy: Naskh flux. Yensakh pistes bit b-bit, bla ré-encodage
  7. movie.mp4: Sortie. Esm w chemin lel fichier conteneur MP4 ej-jdid
Enzel 3la kol token bech tchouf wadha3itou fi pipeline remux.

Ki tefhem hal options y3awnek teviti fakhakh remuxing ligne de commande el chayi3in:

  1. 3lech -map mohem: par défaut, FFmpeg ye5tar ken flux vidéo wa7ed, flux audio wa7ed w flux sous-titre wa7ed. Ken MKV mte3ek fih barcha loughat audio wella piste ta3li9, option -map 0:a t7afedh 3lihom lkol.
  2. 3lech -c copy yemna3 khsara qualité: y7ott kol flux fi mode naskh, donc FFmpeg yna99el paquets madhghoutin men fichier Matroska l-MP4 men ghir ma ydecodi wala yencodi 7atta chay.
  3. 3lech sous-titres yetna7aw: MP4 ma ynajemch yhezz texte SubRip (.srt) wella ASS kima houma, wala sous-titres bitmap (PGS) jemla, w naskhom ywa9af FFmpeg b-erreur. Ken el fichier fih ken sous-titres texte, tnajem t7afedh 3lihom ki t7awelhom l-format texte khass b-MP4, 3GPP Timed Text (mov_text):
ffmpeg -i movie.mkv -map 0:v:0 -map 0:a -map 0:s -c copy -c:s mov_text movie.mp4

Ken hedha yefchel 5ater wa7da men pistes sous-titres bitmap PGS, e5tar pistes texte b-ra9m fi blastou (-map 0:s:0 lel oula).

Kifech tsalla7 bug QuickTime HEVC b-tag hvc1

Ken fichier MKV el masdar mte3ek fih vidéo 4K madhghouta b-High Efficiency Video Coding (HEVC / H.265), ghaliban bech ta3radh mochkel m9alla9: FFmpeg ykammel remuxing bla erreurs, ama QuickTime Player yorfoch y7ell fichier MP4 elli yo5rej wella ywarri écran ak7al samed.

Hedha ysir 5ater spécification conteneur MP4 tasma7 b-zouz mo3arrifat FourCC (Four-Character Code) mo5talfin l-vidéo HEVC: hev1 w hvc1.

  • M3a hev1, majmou3at paramètres codec (VPS, SPS w PPS) ynajmou ysafrou da5el flux vidéo bidou. FFmpeg yesta3mel hev1 par défaut.
  • Framework AVFoundation mta3 Apple, elli y5addem QuickTime Player, Quick Look w apps iOS, yestanna hvc1, win majmou3at paramètres yo93dou fi header el fichier (boît hvcC). Ki QuickTime yal9a MP4 mtagué hev1, yorfoch y5addmou.

Bech todhmen elli MP4 el mremuxé mte3ek yet7all fi QuickTime Player w 3la kol appareils Apple, lezem tomor FFmpeg b-woudhou7 yekteb tag hvc1 b-isti3mal -tag:v hvc1:

ffmpeg -i movie.mkv -map 0:v:0 -map 0:a -c copy -tag:v hvc1 movie.mp4

Hal flag wa7dou y7ell blocage compatibilité QuickTime men ghir ma yotlob ayy ré-encodage. L-nadhra a3ma9 3la fourou9at codecs 3al conteneurs, a9ra el guide mte3na 3la H.264 vs HEVC vs AV1 3la Mac.

Chnowa el mizet elli ydhi3ou ki t7awel MKV l-MP4?

Wa9teli remuxing l-MP4 yrod fichiers compatibles m3a applications Apple el natifs, format conteneur MP4 3andou 7oudoud haykaliya m9arana b-Matroska:

  • Sous-titres SubStation Alpha (ASS) stylés: Sodourat anime w cinéma ajnabiya dima yesta3mlou fichiers sous-titres .ass bech ywarriw typographie stylée, tarjamat 3al écran mwadh3in fou9 lafitat khalfiya, w aw9at karaoké. Conteneur MP4 ma ynajemch y5abbi style ASS. Ken tremuxi piste sous-titre ASS l-mov_text, kol formatage alwen, 7ajm khat, w mawadhi3 écran yetnahhaw l-dima, w y5alliw texte 3adi mmarkaz louta fel écran.
  • Sous-titres Blu-ray Presentation Graphic Stream (PGS): Rips disques Ultra HD Blu-ray y5abbiw sous-titres k-images bitmap (.sup wella PGS) fi blast 7orouf texte. Conteneur MP4 ma yed3amch flux sous-titres bitmap. FFmpeg ma ynajemch y7awel sous-titres PGS l-mov_text 5ater bitmaps images ma fihomch données texte men ghir Reconnaissance Optique de Caractères (OCR). Bech t7afedh 3la sous-titres PGS fi fichier MP4, lezem ta7ra9hom fi images vidéo wa9t ré-encodage kemel.
  • Polices madmoujin: Matroska yasma7 l-polices (.ttf wella .otf) yendamdjou direct da5el conteneur fichier عبر 3onsor EBML Attachments mte3ou (EBML ID 0x1941A469). MP4 ma 3andouch architecture standard l-rabt polices, ya3ni polices khassin ma ynajmouch ysafrou m3a el fichier.
  • Sout DTS w TrueHD: ken MKV mte3ek yhezz DTS (kima DTS-HD Master Audio) wella Dolby TrueHD, apps Apple ma ynajmouch y5addmouh 7atta da5el MP4, 5ater macOS ma 3andouch décodeur l-7atta we7ed menhom. 7awel bark heki el piste wa9teli tensakh el vidéo: -c:v copy -c:a aac l-AAC compatible stéréo, wella -c:a ac3 bech t7afedh 3la 5.1 k-Dolby Digital.

Bech trajaa hal spécifications conteneurs janb l-janb, a9ra ta7lilna el kemel l-MKV vs MP4 3la Mac.

Wa9tech lezem t3awed tencodi b-HandBrake fi blastou?

Remuxing ye5dem ken ki flux vidéo w audio el asasiyin da5el fichier MKV mte3ek deja compatibles m3a conteneur MP4 w logiciel lecture mte3ek. Bech te7taj t3awed tencodi el fichier b-logiciel transcodage ken:

  1. El flux vidéo yesta3mel VP9 wella codec 9dim ma ynajemch y5addmou QuickTime.
  2. El vidéo fiha sous-titres bitmap PGS elli lezem thardcodihom (ta7ra9hom) fil taswira lel lecture 3la appareil ma yed3amch pistes sous-titres.
  3. Te7taj tna9as 7ajm el fichier el madi bech yod5ol fi clé USB sghira wella yetba3ath bel email.

Ki ykoun ré-encodage dharouri, a7sen outil gratuit l-macOS howa HandBrake:

  1. Nazzel w installi HandBrake men site officiel mte3ou.
  2. 7ell fichier .mkv mte3ek. HandBrake bech yescanni flux w chapitres el fichier.
  3. Ta7t onglet Résumé (Summary), thabbet elli format mreguel 3la MP4. Cochi Optimisé pour le Web ken tenvi tstreami el vidéo 3la réseau.
  4. Ta7t onglet Dimensions, verifi elli er-résolution twefe9 fichier masdar mte3ek.
  5. Ta7t onglet Vidéo, e5tar H.265 (VideoToolbox) k-Encodeur Vidéo. Encodeur matériel Apple fi moteur média Mac mte3ek asra3 b-barcha men encodeurs logiciels w y5alli PC portable mte3ek bared, b-chwaya taklfa fil kafa2a.
  6. Ta7t onglet Sous-titres, e5tar piste sous-titres elli tfa7elha w cochi option Incruster (Burn-in) kenek t7awel sous-titres bitmap PGS.
  7. Enzel Démarrer fil barre d’outils bech tebda file d’attente encodage.

3lech lezem teviti convertisseurs fichiers gratuits online?

Ki tlawej 3la « mkv to mp4 » 3la Google, awwel saf7et nata2ej ba7th mhaymna 3liha sites web conversion cloud gratuits. Wa9teli hal outils yodh-hrou mri7in 5ater ma yotolbouch isti3mal Terminal, isti3malhom yda5el machakel 3amaliya w khososiya kbar:

  • 7oudoud 7ajm fichiers: barcha convertisseurs gratuits y7assrou uploads ta7t 7ajm film b-barcha. Film 1080p ghaliban 4 Go l-8 Go, w film 4K 15 Go l-50 Go.
  • Ré-encodage modhaya3 lel qualité: akthariyet convertisseurs online y3awdou yencodiw fi blast ma yremuxiw, ghaliban b-bitrates dha3afin, elli yekser tafasil edh-dhel w yflouti et-taswira.
  • Akhtar khososiya w amen kbar: Ki testa3mel convertisseur online, tuploadi fichier vidéo mte3ek l-serveur tijari b3id. Kenek t7awel vidéowat dar 3a2iliya chakhsiya, tasjilet 9anouniya, wella screencasts khedma serriya, upload hal fichiers l-plateformes web tiers y3aradh bayanat khassa mte3ek l-ikhtira9at mo7tamala, scraping automatisé, wella 7ifdh da2im 3al serveur.

Installation FFmpeg localement 3la Mac mte3ek tekhou d9i9tin, te5dem hors ligne bel kol, teta3amel m3a fichiers men ayy 7ajm, w 3omorha ma tuploadi octet wa7ed men média mte3ek.

B-sa7 te7taj t7awel fichiers MKV mte3ek?

9bal ma tdhaya3 wa9t tremuxi wella t3awed tencodi 3acharat fichiers vidéo, fakkar kenek te7taj t7awelhom jemla. El sabab el wa7id bech t7awel MKV l-MP4 howa kenek majbour testa3mel application ma ta9rach Matroska, kima QuickTime Player wella Final Cut Pro.

Ken hadafek howa bark tetfarrej fi aflam w mousalsalat mte3ek 3la Mac, ta7wil fichiers khedma zayda. Lecteurs vidéo jdod masammmin l-Apple Silicon yeta3amlou m3a fichiers Matroska nativement, ydecodiw flux vidéo asliyin, sout b-barcha loughat, w sous-titres stylés men ghir 7atta ta7wil fichier.

MacLC, el lecteur elli nasn3ouh fi Hazen Studio, y5addem fichiers MKV direct 3la Macs Apple Silicon ye5dmou b-macOS 26 Tahoe wella ma ajadd. Mabni 3la moteur lecture libVLC mta3 VLC 4, m3a kol chay elli ye7tajou da5el l-app, fi wajiha macOS AppKit native.

Fi blast ma t5abbi nosakh MP4 mdobblin men aflamek, 7ell MKVs mte3ek direct fi MacLC, m3a HDR 3la écrans Liquid Retina XDR, surround DTS w TrueHD mmixiyin l-baffles mte3ek, w wa9t sous-titres tnajem tsalla7ou fil 7in b-H w J.

Bech tet3allem kifech tconfiguri macOS bech fichiers MKV mte3ek yet7allou fi lecteur dédié automatiquement, chouf tutoriel khatwa b-khatwa mte3na 3la kifech t5addem fichiers MKV 3la Mac, wella nazzel el lecteur el gratuit direct men saf7et et-tanzil mte3na.

As2ela yet3awdou

Chnowa asra3 tari9a bech t7awel MKV l-MP4 3la Mac?

Asra3 tari9a hiya remuxing b-FFmpeg fi Terminal. Ki t5addem `ffmpeg -i input.mkv -map 0:v:0 -map 0:a -c copy output.mp4` y3awed yghallef pistes vidéo w audio fi conteneur MP4 men ghir ma y3awed yadhghat 7atta chay, 3adatan fi thweni l-d9i9a wella zouz.

Ta7wil MKV l-MP4 yna9as men qualité el vidéo?

Remuxing ya3ti 0 na9s fil qualité 5ater bitstream vidéo yetnasakh octet b-octet fil conteneur ej-jdid. Ama ken t3awed tencodi el fichier b-HandBrake, convertisseur online, wella logiciel conversion tijari, el vidéo tet3awed tetdhghat, elli ydhaya3 tafasil taswira l-dima.

3lech QuickTime ma y7ellch fichier MP4 m7awel men MKV?

Ken MKV el masdar yesta3mel codec HEVC (H.265), FFmpeg y7ott par défaut tag conteneur FourCC `hev1`. AVFoundation mta3 Apple w QuickTime Player yestannaw tag `hvc1` w yorfdhou `hev1`. Zyedet `-tag:v hvc1` l-commande FFmpeg mte3ek t7ell hal mochkel fil 7in.

Najjem n7awel MKV l-MP4 b-QuickTime Player?

Lé. QuickTime Player ma ynajemch yfokk wala ya9ra fichiers Matroska (.mkv). 5ater QuickTime ma ynajemch y7ell el fichier el asli, ma ynajemch yexportih wala y7awelou l-MP4.

Convertisseurs MKV l-MP4 gratuits online amnin?

Convertisseurs gratuits online fihom khatar lel vidéowat chakhsiya 5ater yuploadiw fichiers mte3ek l-serveur ghayrek. Barcha zeda y7addou 7ajm el fichiers w y3awdou yencodiw vidéowat b-bitrates dha3afin, elli yti7 qualité taswira b-woudhou7.

Before you download

MacLC is free. If it is useful to you, a gift helps it skip “Open Anyway” and funds the next release.