Skip to content

ssut/ffmpeg-on-apple-silicon

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 

Repository files navigation

FFmpeg for ARM-based Apple Silicon Macs

I've successfully built FFmpeg on my M1 Mac Mini with the build script included in this repository which is based on OSXExperts.NET Guide.

$ ./ffmpeg
ffmpeg version git-2020-12-10-6a94afb Copyright (c) 2000-2020 the FFmpeg developers
  built with Apple clang version 12.0.0 (clang-1200.0.32.27)
  configuration: --prefix=/Users/ssut/dev/ffmpeg-build/workdir/sw --extra-cflags=-fno-stack-check --arch=arm64 --cc=/usr/bin/clang --enable-fontconfig --enable-gpl --enable-libopus --enable-libtheora --enable-libvorbis --enable-libmp3lame --enable-libass --enable-libfreetype --enable-libx264 --enable-libx265 --enable-libvpx --enable-libaom --enable-libvidstab --enable-libsnappy --enable-version3 --pkg-config-flags=--static --disable-ffplay --enable-postproc --enable-nonfree --enable-runtime-cpudetect
  libavutil      56. 62.100 / 56. 62.100
  libavcodec     58.115.102 / 58.115.102
  libavformat    58. 65.100 / 58. 65.100
  libavdevice    58. 11.103 / 58. 11.103
  libavfilter     7. 92.100 /  7. 92.100
  libswscale      5.  8.100 /  5.  8.100
  libswresample   3.  8.100 /  3.  8.100
  libpostproc    55.  8.100 / 55.  8.100
Hyper fast Audio and Video encoder
usage: ffmpeg [options] [[infile options] -i infile]... {[outfile options] outfile}...
$ lipo -archs ffmpeg
arm64

Dynamically linked libraries

The following package(s) will be linked dynamically because it is discouraged linking statically:

  • glib

Guide

Before you start you must install arm64-based Homebrew to /opt/homebrew.

  1. Clone this repository.
  2. Run ./build.bash.

About

Build ffmpeg for ARM-based Apple Silicon Macs

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages