Skip to content

Instantly share code, notes, and snippets.

@hongry18
Last active August 2, 2019 01:37
Show Gist options
  • Save hongry18/76723e8367224795a3504ae1bf294b98 to your computer and use it in GitHub Desktop.
Save hongry18/76723e8367224795a3504ae1bf294b98 to your computer and use it in GitHub Desktop.

install ffmpeg on Mac 14

dependencies

  • pkg-config
  • freetype2
  • fribidi
  • libass
  • x264

pkg-config

brew insatll pkg-config

freetype 2

https://download.savannah.gnu.org/releases/freetype/

# tar xf freetype-2.10.0.tar.gz
# cd freetype-2.10.0
# ./configure
# make
# make insatll

fribidi

https://github.com/fribidi/fribidi/releases

# git clone https://github.com/fribidi/fribidi.git
# cd fribidi
# ./configure
# make
# make insatll

libass

https://github.com/libass/libass

# git clone https://github.com/libass/libass.git
# cd libass
# ./configure
# make
# make insatll

x264

https://code.videolan.org/videolan/x264

# git clone https://code.videolan.org/videolan/x264.git
# cd x264
# ./configure --disable-asm --enable-shared --enable-static
# make
# make install

ffmpeg

https://ffmpeg.org/download.html

# tar xf ffmpeg-4.1.4.tar.bz2
# cd ffmpeg-4.1.4
# ./configure --enable-libass --disable-x86asm --enable-libx264 --enable-encoder=libx264 --enable-gpl
# make
# make install
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment