标签:install htm tar.gz pen config bsp 转码 wget .gz
安装yasm(ffmpeg必备)
wgethttp://www.tortall.net/projects/yasm/releases/yasm-1.3.0.tar.gz
tar xzvf yasm-1.3.0.tar.gz
cd yasm-1.3.0
./configure
make
make instal
下载ffmpeg http://ffmpeg.org/download.html
cp /home/Jv/下载/ffmpeg-3.2.tar.bz2 /usr/local
tar xjf ffmpeg-3.2.tar.bz2
cd ffmpeg-3.2
./configure
make
make install
测试代码,把bike.mp4转为1.avi
ffmpeg -i bike.mp4 1.avi
已经测试可以转码,但通过opencv播放视频还在摸索中……
标签:install htm tar.gz pen config bsp 转码 wget .gz
原文地址:http://www.cnblogs.com/xixixing/p/6096134.html