在macOS系统中编译FFmpeg(静态编译)

官方文档:https://trac.ffmpeg.org/wiki/CompilationGuide/macOS

步骤:

  1. git clone https://git.ffmpeg.org/ffmpeg.git
  2. ./configure --disable-x86asm【静态编译,默认编译成静态库;运行./configure --help输出的内容节选([no]是指默认值):Configuration options: --disable-static do not build static libraries [no]、--enable-shared build shared libraries [no]】
  3. make
  4. make install(如果不需要安装,可以不运行这个步骤)

posted on 2023-02-04 17:36  cag2050  阅读(220)  评论(0编辑  收藏  举报

导航