Skip to content
项目

ssut/ffmpeg-on-apple-silicon

在 GitHub 查看

关于

Build ffmpeg for ARM-based Apple Silicon Macs

设计与媒体

这些数字如何统计

实测星标增长

24小时
0
7天
0
15天
0
1个月
正在收集历史

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

README.md

原文

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.

探索相关项目

加载中…