http://yasm.tortall.net/Download.html 下載1.3.0的源碼包
tar -xvzf yasm-1.3.0.tar.gz
cd yasm-1.3.0/
./configure
make
make install
./configure --enable-shared --prefix=/monchickey/ffmpeg
make
make install
使用:
使用ffmpeg轉換爲mp4格式,執行下面命令:
ffmpeg -i test.avi out.mp4
將視頻分解圖片
ffmpeg -i 1.mp4 image%d.jpg