ubuntu 安裝ffmpeg VLC

ffmpeg安裝

1.下載ffmpeg源碼 ffmpeg.org
2.解壓 tar -jvxf ffmpeg-2.5.2.tar.bz2
3.進入目錄 ./configure
1)解決 ffmpeg yasm not found, use --disable-yasm for a crippled build ref:blog.csdn.net/ranxiedao/article/details/16359183
 A 如果是Windows系統, 從網上下載一個 yasm.exe 並安裝在mingw/bin下面,重新編譯,就不會出現該錯誤了;
B 如果是Linux系統,則更簡單,直接在終端輸入 sudo apt-get install yasm ,安裝好後,重新編譯就 OK了。

4.make

5.make install

6.運行 ffmpeg

eg:

ffmpeg -i Test.mp4  -vcodec rawvideo -pix_fmt yuv420p -an -y test.avi


VLC安裝

1.下載 www.videolan.org/vlc/download-ubuntu.html

2. 安裝 使用ubuntu安裝器直接安轉即可。


發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章