码迷,mamicode.com
首页 > 系统相关 > 详细

Linux-安装FFmpeg

时间:2019-10-31 13:28:13      阅读:111      评论:0      收藏:0      [点我收藏+]

标签:rpo   nes   著作权   shu   data   ons   any   comm   code   

 

FFmpeg官网:http://www.ffmpeg.org

官网介绍

FFmpeg is the leading multimedia framework, able to decodeencodetranscodemuxdemuxstreamfilter and play pretty much anything that humans and machines have created. It supports the most obscure ancient formats up to the cutting edge. No matter if they were designed by some standards committee, the community or a corporation. It is also highly portable: FFmpeg compiles, runs, and passes our testing infrastructure FATEacross Linux, Mac OS X, Microsoft Windows, the BSDs, Solaris, etc. under a wide variety of build environments, machine architectures, and configurations.

下载安装

  1. 下载最新源码包并解压
$ wget http://ffmpeg.org/releases/ffmpeg-3.1.3.tar.bz2
$ tar jxvf ffmpeg-3.1.3.tar.bz2
  1. 安装ffmpeg
$ cd ffmpeg-3.1.3
$ ./configure

 

 
技术图片
安装报错

报了错误,提示yasm没有安装

 

  1. 安装yasm
$ yum install yasm
  1. 继续安装ffmpeg
$ ./configure
$ make
$ make install
  1. 安装成功
$ ffmpeg

输入ffmpeg打印了相关信息,表示安装成功

 
技术图片
安装成功


作者:lancely
链接:http://www.jianshu.com/p/905df3d9e753
來源:简书
著作权归作者所有。商业转载请联系作者获得授权,非商业转载请注明出处。

Linux-安装FFmpeg

标签:rpo   nes   著作权   shu   data   ons   any   comm   code   

原文地址:https://www.cnblogs.com/php-linux/p/11770394.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!