VLC-2.0.2编译过程

缘由:

研究H264的RTP封装时发现大家都使用VLC进行实验,那么我也不搞特殊化,先试试

环境:

ubuntu 10.04LTS

过程:

0)下载最新的vlc:http://www.videolan.org/

1)sudo ./configure

configure: error: Could not find lua. Lua is needed for some interfaces (rc, telnet, http) as well as many other custom scripts.

=》sudo apt-get install lua5.1 liblua5.1-dev

configure: error: Could not find libmad on your system: you may get it from http://www.underbit.com/products/mad/.

=》sudo apt-get install libmad0-dev

configure: error: No package 'libpostproc' found. 

=》sudo apt-get install libpostproc-dev

configure: error: Could not find liba52 on your system: you may get it from http://liba52.sf.net/.

=》sudo apt-get install liba52-dev

configure: error: Package requirements (xcb >= 1.6) were not met:Requested 'xcb >= 1.6' but version of XCB is 1.5

=》由于10.04上最新只有1.5.2,所以只能到http://xcb.freedesktop.org/dist/上下载最新的tarball,我下的是1.7的版本,即libxcb-1.7.tar.gz 和xcb-proto-1.7.tar.gz 装好就可以了(先装后者,否则前者装不上)

configure: error: libgcrypt version 1.1.94 or higher not found.

=》sudo apt-get install libgcrypt11-dev

2)sudo make

3)sudo make install


备注:

本人ubuntu上已安装最新的ffmpeg,所以部分包如libavcodec-dev libavformat-dev等已经安装,无须重复


部分参考:

http://www.ehow.com/how_8356303_compile-vlc-ubuntu.html

文章重点如下,可作为参考:

sudo apt-get install -y libdbus-1-dev lua5.1 liblua5.1-dev libmad0-dev libavcodec-dev libavformat-dev libswscale-dev libpostproc-dev liba52-dev libxcb1-dev libxcb-shm0-dev libxcb-xv0-dev libx11-xcb-dev libgl1-mesa-dev libqt4-dev libgcrypt11-dev

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

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值