【Gist】bash 脚本安装 FFmpeg 2.3

三世轮回 提交于 2020-05-08 19:26:02

通过PPA安装 ambulant-gtk 需要,其依赖 libambulant 需要如下版本的 FFmpeg 库:

The following packages have unmet dependencies:
 libambulant : Depends: libavcodec55-ffmpeg but it is not installable
               Depends: libavformat55-ffmpeg but it is not installable
               Depends: libavutil52-ffmpeg but it is not installable
               Depends: libswresample0-ffmpeg but it is not installable
               Depends: libswscale2-ffmpeg but it is not installable

查阅 Old releases,发现满足条件的 FFmpeg 最新版本是 2.3.6 "Mandelbrot"

libavutil      52. 92.100
libavcodec     55. 69.100
libavformat    55. 48.100
libavdevice    55. 13.102
libavfilter     4. 11.100
libavresample   1.  3.  0
libswscale      2.  6.100
libswresample   0. 19.100
libpostproc    52.  3.100

故有如下 Gist:

apt install bzip2 gcc make pkg-config yasm
cd /tmp
wget http://ffmpeg.org/releases/ffmpeg-2.3.6.tar.bz2
tar -xjvf ffmpeg-2.3.6.tar.bz2
cd ffmpeg-2.3.6
./configure
make
make install
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!