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 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
相关文章推荐
- c++11 + SDL2 + ffmpeg +OpenAL + java = Android播放器
- Managed Media Aggregation using Rtsp and Rtp
- [总结]FFMPEG视音频编解码零基础学习方法
- 利用Ffmpeg获得flv视频缩略图和视频时间的代码
- codeigniter教程之上传视频并使用ffmpeg转flv示例
- PHP使用ffmpeg给视频增加字幕显示的方法
- PHP+FFMPEG实现将视频自动转码成H264标准Mp4文件
- 快速解决Android平台移植ffmpeg的一些问题
- java调用ffmpeg实现视频转换的方法
- python+ffmpeg视频并发直播压力测试
- [总结]FFMPEG视音频编解码零基础学习方法
- CentOs 下安装 ffmpeg 以及添加 ogg 音频支持
- FFmpeg音视频编解码实践总结
- ffmpeg 视频压缩 转换
- linux ffmpeg编译配置安装详解
- 解密FFmpeg播放track mode控制
- [学习与生活]视频开发网
- FFMPEG SDK 开发介绍
- 初识ffmpeg
- 欠揍的ffmpeg,调试android里的ffmpeg (1)