我终于明白了,
原文链接:https://www.f2er.com/ubuntu/349092.html1.制作一个目录avconv-source@H_404_2@
mkdir avconv-source
2.)下载并安装x264库@H_404_2@
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源码@H_404_2@
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
现在你可以执行@H_404_2@
avconv -i test.mov -c:v libx264 -c:a copy test.mp4