linux下编译ffmpeg-0.11.1


重新编译了一下ffmpeg,备份一下记录


root@chenxi-userver:/opt/ffmpeg-0.11.1#uname -a
Linux chenxi-userver 3.2.0-27-generic-pae #43-Ubuntu SMP Fri Jul 6 15:06:05 UTC 2012 i686 i686 i386 GNU/Linux


下载 yasm,  ffmpeg-0.11.1 以及各类 codec

root@chenxi-userver:/opt#ls -lrt
总用量 52
drwxrwxr-x  8 chenxi chenxi  4096  5月 23  2011 xvidcore
drwxr-xr-x 16 chenxi chenxi  4096  6月  8 05:01 ffmpeg-0.11.1
drwx------  2 chenxi chenxi 16384  8月  6 20:38 lost+found
drwxr-xr-x 10 chenxi chenxi  4096  8月  6 22:42 x264-snapshot-20120805-2245
drwxrwxr-x  7 chenxi chenxi  4096  8月  6 22:52 libogg-1.3.0
drwxr-sr-x 13 chenxi chenxi  4096  8月  6 22:58 libvorbis-1.3.3
drwxr-xr-x  9 chenxi chenxi  4096  8月  6 23:31 faad2-2.7
drwxr-xr-x  9 chenxi chenxi  4096  8月  7 21:06 faac-1.28
drwxr-xr-x 15 chenxi chenxi  4096  8月  7 21:08 lame-3.99.5
drwxr-xr-x  8 chenxi chenxi  4096  8月  7 21:16 opencore-amr-0.1.3

还有个 libvpx

如需编译 ffplay 还需安装 SDL:http://www.libsdl.org/download-1.2.php


用 ./configure --help 查看配置选项,编译好各类 Codec

然后再编译 ffmpeg

./configure --enable-gpl --enable-nonfree --enable-version3 --enable-shared --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libfaac --enable-libmp3lame --enable-libx264 --enable-libxvid --enable-libvpx

make

make install

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值