一、安装ffmpeg

分为两种安装方式:

1. 命令行安装

brew install ffmpeg

2. 下载压缩包安装

http://evermeet.cx/ffmpeg/ 下载7z压缩包,解压缩后,将ffmpeg文件拷贝到一个地方,然后在bash_profile里面配置好环境变量

二、安装ffplay

分为两种安装方式:

1. 命令行安装

执行下面的命令就可以进行安装操作

brew install ffmpeg --with-ffplay
  • 注:目前使用此安装方式安装后,执行ffplay会出现command not found的问题,可能是因为SDL的配置问题导致的。

2. 下载压缩包安装

http://evermeet.cx/ffmpeg/ 下载7z压缩包,解压缩后,将ffplay文件拷贝到一个地方,然后在bash_profile里面配置好环境变量

三、附言

在上面我们接触到了命令行安装ffmpeg的方法,除了安装选项 --with-ffplay外还有更多的选项如下:

–with-fdk-aac  (Enable the Fraunhofer FDK AAC library)
–with-ffplay (Enable FFplay media player)
–with-freetype (Build with freetype support)
–with-frei0r (Build with frei0r support)
–with-libass (Enable ASS/SSA subtitle format)
–with-libcaca (Build with libcaca support)
–with-libvo-aacenc (Enable VisualOn AAC encoder)
–with-libvorbis (Build with libvorbis support)
–with-libvpx (Build with libvpx support)
–with-opencore-amr (Build with opencore-amr support)
–with-openjpeg (Enable JPEG 2000 image format)
–with-openssl (Enable SSL support)
–with-opus (Build with opus support)
–with-rtmpdump (Enable RTMP protocol)
–with-schroedinger (Enable Dirac video format)
–with-speex (Build with speex support)
–with-theora (Build with theora support)
–with-tools (Enable additional FFmpeg tools)
–without-faac (Build without faac support)
–without-lame (Disable MP3 encoder)
–without-x264 (Disable H.264 encoder)
–without-xvid (Disable Xvid MPEG-4 video encoder)
–devel (install development version 2.1.1)
–HEAD (install HEAD version)

最新文章

  1. pc wap 判断浏览器ua属性
  2. BZOJ1031: [JSOI2007]字符加密Cipher
  3. GridView CheckBox 全选
  4. 修改VMware Workstation 界面语言
  5. Eclipse常用热键
  6. [LeetCode]Copy List with Random Pointer &Clone Graph 复杂链表的复制&图的复制
  7. 加速Android Studio的Gradle构建速度
  8. Python——Scrapy初学
  9. C语言之多线程机制(程序可以同时被执行而不会相互干扰)
  10. Java服务使用Redis实现分布式全局唯一标识
  11. 解决Win10 PowerShell无法激活Anaconda环境的问题
  12. CAP原则和BASE定理
  13. mysql 循环写入数据库
  14. Object-Oriented(一)创建对象
  15. 深度学习中 batchnorm 层是咋回事?
  16. 14_python 匿名函数,递归函数
  17. day76
  18. CS50.2
  19. YQCB冲刺第二周第三天
  20. 总结day26 ----验证客户端的合法性,已经操作系统,进程的简单初识别

热门文章

  1. stark组件开发之组合搜索实现思路
  2. SVD的基础详解
  3. maven学习--1.安装与配置
  4. python脚本执行报错整理
  5. vuex状态管理
  6. ClassLoader的工作机制
  7. Java发送手机短信(附代码和解析,亲测有效,简便易操作)
  8. Mybatis批量更新比较
  9. 7.地图随机装饰,与转化过程补充,与ai的设计思路
  10. python可能会用到的网络基础