ffmpeg – 如何在Ubuntu 12.04 LTS(精确穿山甲)上使用libx264编译avconv?

有关如何在Ubuntu中编译avconv的分步指南?

与ffmpeg相比,似乎很难搜索任何与avconv相关的教程.

我终于明白了,

1.制作一个目录avconv-source

mkdir avconv-source

2.)下载并安装x264库

cd ~/avconv-source
git clone git://git.videolan.org/x264.git x264
cd x264
sudo ./configure --enable-static
sudo make
sudo make install

3.)下载avconv源码

cd ~/avconv-source
git clone git://git.libav.org/libav.git avconv
cd avconv
sudo ./configure
sudo ./configure --enable-gpl --enable-libx264
sudo make
sudo make install

现在你可以执行

avconv -i test.mov -c:v libx264 -c:a copy test.mp4

相关文章

目录前言一、创建Hadoop用户二、更新apt和安装Vim编辑器三、...
原文连接:https://www.cnblogs.com/yasmi/p/5192694.html ...
电脑重启后,打开VirtualBox,发现一直用的虚拟机莫名的消失...
参见:https://blog.csdn.net/weixin_38883338/article/deta...
Ubuntu 18.04 LTS 已切换到 Netplan 来配置网络接口。Netpla...
介绍每个 Web 服务都可以通过特定的 URL 在 Internet 上访问...