Kifech t'installi FFmpeg 3al Mac (Apple Silicon)
Installi FFmpeg 3la macOS Apple Silicon f-d9aye9 b-Homebrew wella binaries. Salla7 erreurs command not found w configuri PATH zsh s7i7.
Bil mokhtasar
- Asra3 w adhman tariqa bech t'installi FFmpeg 3la Mac Apple Silicon hiya b-Homebrew b-commande brew install ffmpeg.
- 3la Apple Silicon (M1, M2, M3, M4), Homebrew y'installi el programmes f-/opt/homebrew/bin f-blast chemin Intel el 9dim /usr/local/bin.
- Ken Terminal yekteb zsh: command not found: ffmpeg, el shell mte3ek na9sou configuration shellenv mta3 Homebrew f-~/.zprofile.
- Ma test7a9ech t'installi FFmpeg wella testa3mel Terminal ken t7eb tetfarrej f-vidéowat kahaw; lecteurs kima MacLC yhazzou kol librairies décodage f-west-hom.
Fi hal saf7a
- Kifech t’installi Homebrew 3la Apple Silicon?
- Kifech t’installi FFmpeg b-Homebrew?
- Kifech t’installi FFmpeg men ghir Homebrew (builds statiques)?
- 3lech Terminal y9oul “zsh: command not found: ffmpeg”?
- Kifech tbadel wella tna77i FFmpeg 3la macOS?
- Ya5i berrasmi test7a9 FFmpeg bech tcha33el vidéowat 3al Mac?
- Chnowa ta3mel tawwa
Asra3 w adhman tariqa bech t’installi FFmpeg 3la Mac Apple Silicon (M1, M2, M3, wella M4) hiya b-Homebrew ki texecuti brew install ffmpeg fel Terminal. El commande hedhi tnazzel automatique a5er binaire ARM64 natif, tcompili kol dépendances audio w vidéo el lazmin, w t7ott l-exécutable direct f-chemin système mte3ek.
Ken ma t7ebech testa3mel gestionnaire de paquets, tnajem zeda tnazzel binaire statique mcompili 7adher men masader open-source thi9a w t7ottou f-dossier binaire local. Ta7t hedha el guide el kamel l-zouz toro9, m3a 7ouloul l-erreurs terminal kima zsh: command not found.
Kifech t’installi Homebrew 3la Apple Silicon?
9bal ma tnajem t’installi FFmpeg b-commande wa7da, yelzmek Homebrew installi 3al Mac. Homebrew howa gestionnaire de paquets open-source standard l-macOS, y5allik t’installi outils développeurs w ligne de commande b-amane men ghir ma tmess fichiers système mo7miyin.
Bech t’installi Homebrew 3la Mac Apple Silicon, tebba3 el 3 5otowat hedhom:
- 7ell app Terminal 3al Mac mte3ek. Tal9aha ki tenzel
⌘ Espacel-Spotlight, tektebTerminal, w tenzelEntrée. - Colli commande installation Homebrew el rasmiya fel Terminal w enzel
Entrée:
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
- Da5el mot de passe utilisateur el Mac ki yetlobou. L-installateur bech ynazzel w yconfiguri Apple Command Line Tools automatique.
Ba3d ma tkammel l-installation, l-installateur ywarri 9esm esmou Next steps. 3la Mac-et Apple Silicon, Homebrew y’installi paquets mte3ou f-/opt/homebrew f-blast dossier Intel el 9dim /usr/local. B-sabab el far9 hedha, el shell terminal lezmou ya3ref win yal9a fichiers Homebrew.
Executi ez-zouz commandes hedhom fel Terminal bech tzid Homebrew l-dima l-profil zsh mte3ek:
echo 'eval "$(/opt/homebrew/bin/brew shellenv)"' >> ~/.zprofile
eval "$(/opt/homebrew/bin/brew shellenv)"
El commande el oula tekteb el config f-~/.zprofile bech tetcharga kol ma t7ell Terminal jdid. El commande el thenia tcha33el Homebrew direct fel session hedhi.
Kifech t’installi FFmpeg b-Homebrew?
M3a Homebrew mconfiguri, installation FFmpeg totlob commande wa7da:
brew install ffmpeg
Homebrew ythabbet f-système, ynazzel paquets Apple Silicon natives, w y’installi FFmpeg m3a librairies média mte3ou (libass l-sous-titres, dav1d l-décodage AV1, w x264/x265 lel compression logiciel).
7asb sor3at internet mte3ek, tekhou bin d9i9a w 3 d9aye9. Ba3d ma yarja3 Terminal, thabbet mel installation b-version FFmpeg:
ffmpeg -version
Ken naj7et, Terminal y5arrej stoura yebdaw b-ffmpeg version (mathalan ffmpeg version 9.0.2 wella ajadd), w tags accélération matérielle kima --enable-videotoolbox, elli t2akked ennou FFmpeg ynajem yesta3mel Media Engine mta3 Apple Silicon.
M3a ffmpeg, Homebrew y’installi zeda ffprobe, outil l-analyse flux w métadonnées. Tnajem ttestih b-:
ffprobe -version
Bech teta3ref kifech testa3mel ffprobe l-espaces couleurs, codecs, w bitrates, chouf kifech testa3mel ffprobe.
Kifech t’installi FFmpeg men ghir Homebrew (builds statiques)?
Ken ma t7ebech t’installi Homebrew 3al Mac, tnajem t’installi FFmpeg b-yeddek b-binaire statique mcompili 7adher. Binaire statique yajma3 kol librairies el lazmin f-fichier exécutable wa7ed.
Tebba3 el 5otowat hedhom:
- Nazzel build statique Apple Silicon (
arm64) mthabbet men builder open-source thi9a kimaevermeet.cxwellaosxexperts.net. - Fokk archive
.zipwella.7zf-Téléchargementsbech t5arrej binaireffmpeg. - 7ell Terminal w na99el el binaire l-dossier commandes standard kima
/usr/local/bin:
sudo mkdir -p /usr/local/bin
sudo mv ~/Downloads/ffmpeg /usr/local/bin/
sudo chmod +x /usr/local/bin/ffmpeg
- 5ater macOS fih protection Gatekeeper, fichiers mnazzlin mel navigateur ya5dhou tag quarantaine. Ken macOS ybloqui el binaire, na77i el tag b-:
xattr -d com.apple.quarantine /usr/local/bin/ffmpeg
Ba3d ma yetna77a, ekteb ffmpeg -version bech tthabbet. Ken t7eb testa3mel yt-dlp, tfakkar tnazzel ffprobe b-nafs el tariqa. Chouf kifech t’installi yt-dlp 3al Mac.
3lech Terminal y9oul “zsh: command not found: ffmpeg”?
Akther erreur y9ablouha mosta3mlin Mac ba3d installation FFmpeg hiya:
zsh: command not found: ffmpeg
El erreur hedhi ma ta3nich el Mac mefsed; ta3ni shell zsh ma ya3rafch anehom dossiers ylawej fihom ki tekteb ffmpeg. F-versions macOS el jdod (men Catalina l-macOS 26 Tahoe), el shell par défaut howa zsh, elli ylawej f-variable $PATH.
Hakka tsalla7ha f-3 5otowat:
1. Thabbet win FFmpeg installi
ls -l /opt/homebrew/bin/ffmpeg
Ken Terminal ywarri chemin /opt/homebrew/Cellar/ffmpeg/..., FFmpeg installi s7i7, ama el shell na9sou el chemin.
2. Thabbet f-variable PATH tawwa
echo $PATH
Ken ma tchoufech /opt/homebrew/bin fel lista, el terminal ma ynajamch yal9a commandes Homebrew.
3. Zid Homebrew l-environnement shell mte3ek
echo 'eval "$(/opt/homebrew/bin/brew shellenv)"' >> ~/.zshrc
source ~/.zshrc
Sakker Terminal bel kamel (⌘Q), 3awed 7ellou, w executi ffmpeg -version. Ken installit FFmpeg f-/usr/local/bin, zid export PATH="/usr/local/bin:$PATH" l-~/.zshrc f-blastou.
Kifech tbadel wella tna77i FFmpeg 3la macOS?
Mise à jour FFmpeg b-Homebrew
brew update
brew upgrade ffmpeg
Tnajem tna77i versions el 9dom b-brew cleanup ffmpeg.
Na77i FFmpeg mel Mac
B-Homebrew:
brew uninstall ffmpeg
W brew autoremove bech tna77i dépendances elli ma 3adech test7a9hom. Ken installit binaire statique b-yeddek:
sudo rm -f /usr/local/bin/ffmpeg /usr/local/bin/ffprobe
Ya5i berrasmi test7a9 FFmpeg bech tcha33el vidéowat 3al Mac?
Barcha mosta3mlin Mac yetsawrou ennou yelzmhom y’installiw FFmpeg fel Terminal 5ater QuickTime Player yorfdh y7ell MKV, WebM, AVI, wella FLAC. Ama lecteurs média bureau open-source — kima VLC, IINA, w MacLC — yhazzou copies 5assin men libavcodec w libavformat da5el l-application.
Ki tejbed film MKV l-MacLC, démuxeurs el lecteur ya9raw el fichier, el vidéo temchi l-Media Engine Apple Silicon via VideoToolbox, wel HDR yodh-hor kima écrank ynajem ywarrih.
Test7a9 FFmpeg wa7dou ken ken t7eb:
- Texecuti commandes terminal automatisées bech tbadel wella tcompressi fichiers.
- Tejma3 flux vidéo w audio 4K mfar9in mnazzlin b-
yt-dlp. - T5arrej pistes sout wella sous-titres b-scripts shell.
Lel tafarroj el yawmi, lecteur jdid ygeri kol chay wa7dou. L-tafasil akther, a9ra chnouwa howa FFmpeg w chnouwa howa codec.
Chnowa ta3mel tawwa
Tawwa ba3d ma installit FFmpeg w thabbett mennou, chouf el cheat sheet commandes FFmpeg l-recettes 7adhrin. Ken t7eb tcha33el liens web, a9ra kifech t’installi yt-dlp 3al Mac. W ken t7eb tetfarrej kahaw men ghir terminal, nazzel MacLC.
As2ela yet3awdou
Win Homebrew y'installi FFmpeg 3la Mac-et Apple Silicon?
Homebrew y'installi FFmpeg f-/opt/homebrew/Cellar/ffmpeg/ w yasna3 liens symboliques f-/opt/homebrew/bin/ffmpeg. 3la Mac-et Intel el 9dom, el blasa kenet /usr/local/bin/ffmpeg.
Kifech nsalla7 'zsh: command not found: ffmpeg'?
El erreur hedhi tsir ki /opt/homebrew/bin ma ykounch f-variable PATH mta3 el shell. Zid eval "$(/opt/homebrew/bin/brew shellenv)" l-fichier ~/.zprofile mte3ek w 3awed 7ell Terminal.
Najem nnazzel FFmpeg k-application Mac DMG?
Lé. Projet FFmpeg ma yanchourch application DMG rasmiya wella installateur 3al Mac App Store. Yetwazza3 k-code source ligne de commande, paquets gestionnaire, wella binaries terminal statiques.
Ya5i lezemni FFmpeg installi bech nesta3mel MacLC wella VLC?
Lé. Lecteurs vidéo kima MacLC w VLC yhazzou copies 5assin men libavcodec w libavformat da5el l-application, donc 3omrek ma test7a9 t'installi FFmpeg wa7dou bech tetfarrej f-aflam.