您的位置:首页 > 其它

Ubuntu 14.04下安装ffmpeg

2016-03-05 15:04 393 查看
http://www.oschina.net/question/12_226076

最新版本 FFmpeg 2.5.1 已经发布,Ubuntu 14.04、14.10用户可通过PPA进行安装,打开终端,输入命令:

sudo add-apt-repository ppa:kirillshkrogalev/ffmpeg-next

sudo apt-get update

sudo apt-get install ffmpeg

Using ffmpeg

Syntax

ffmpeg [[infile options][-i infile]]... {[outfile options] outfile}...

FFmpeg Examples

设置视频输出文件比特率为 64 kbit/s

ffmpeg -i input.avi -b:v 64k -bufsize 64k output.avi

强制视频为 24 帧

ffmpeg -i input.avi -r 24 output.avi

To force the frame rate of the input file (valid for raw formats only) to 1 fps and the frame rate of the output file to 24 fps

ffmpeg -r 1 -i input.m2v -r 24 output.avi

完整文档: https://www.ffmpeg.org/ffmpeg.html
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签:  ffmpeg