美文网首页
ubuntu下载安装ffmpeg

ubuntu下载安装ffmpeg

作者: 大大的世界和小小的人儿 | 来源:发表于2021-10-19 15:00 被阅读0次

ffmpeg官网指路:https://ffmpeg.org/download.html

下载
$  wget https://launchpad.net/ubuntu/+archive/primary/+sourcefiles/ffmpeg/7:4.4-6ubuntu5/ffmpeg_4.4.orig.tar.xz
解压
$  tar -xvf ffmpeg_4.4.orig.tar.xz
进入解压后的文件夹
$  cd  ffmpeg-4.4
编译
$  ./configure
哦吼~报错啦!
gcc is unable to creat an executable file.
........
C compiler test failed
解决办法
$ sudo apt-get install gcc
继续
$ ./configure
又报错了!
nasm/yasm not found or too old. Use --disable-x86asm for a crippled build.
解决办法:
$ sudo apt-get install yasm
继续安装
$ ./configure
$ make -j4   #直接使用make的话会很很很很很慢!一很约为10分钟。make -j4 同时最多跑4个作业
$ make install  #最后一步啦

相关文章

网友评论

      本文标题:ubuntu下载安装ffmpeg

      本文链接:https://www.haomeiwen.com/subject/laetaltx.html