Linux-安装FFmpeg
FFmpeg官网:http://www.ffmpeg.org
官网介绍
FFmpeg is the leading multimedia framework, able to decode, encode, transcode, mux, demux, stream, filter 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.
下载安装
- 下载最新源码包并解压
$ wget http://ffmpeg.org/releases/ffmpeg-3.1.3.tar.bz2 $ tar jxvf ffmpeg-3.1.3.tar.bz2
- 安装ffmpeg
$ cd ffmpeg-3.1.3 $ ./configure
安装报错
报了错误,提示
yasm
没有安装- 安装yasm
$ yum install yasm
- 继续安装ffmpeg
$ ./configure $ make $ make install
- 安装成功
$ ffmpeg
输入ffmpeg
打印了相关信息,表示安装成功
安装成功
作者:lancely链接:http://www.jianshu.com/p/905df3d9e753來源:简书著作权归作者所有。商业转载请联系作者获得授权,非商业转载请注明出处。
相关推荐
dingwun 2020-11-16
wangdaren 2020-08-15
wqiaofujiang 2020-07-05
PGzxc 2020-07-04
ShoppingChen 2020-06-25
cherayliu 2020-06-17
83096129 2020-06-08
83096129 2020-06-08
PGzxc 2020-06-01
ShoppingChen 2020-05-29
cherayliu 2020-05-11
ShoppingChen 2020-05-11
83096129 2020-05-10
PGzxc 2020-05-07
cherayliu 2020-04-27
cherayliu 2020-04-11