Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ssut/ffmpeg-on-apple-silicon
Build ffmpeg for ARM-based Apple Silicon Macs
https://github.com/ssut/ffmpeg-on-apple-silicon
apple-silicon arm ffmpeg
Last synced: 3 days ago
JSON representation
Build ffmpeg for ARM-based Apple Silicon Macs
- Host: GitHub
- URL: https://github.com/ssut/ffmpeg-on-apple-silicon
- Owner: ssut
- Created: 2020-12-09T16:55:17.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2023-07-31T01:07:08.000Z (over 1 year ago)
- Last Synced: 2025-01-07T23:12:55.673Z (10 days ago)
- Topics: apple-silicon, arm, ffmpeg
- Language: Shell
- Homepage:
- Size: 8.79 KB
- Stars: 225
- Watchers: 9
- Forks: 48
- Open Issues: 8
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 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](https://www.osxexperts.net).
```bash
$ ./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`.