ubuntu安装ffmpegVLC


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安装器直接安转即可。


相关内容

    暂无相关文章