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

前端之家收集整理的这篇文章主要介绍了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
原文链接:https://www.f2er.com/ubuntu/349092.html

猜你在找的Ubuntu相关文章