没有合适的资源?快使用搜索试试~ 我知道了~
vlc+ffmpeg+live555
4星 · 超过85%的资源 需积分: 50 68 下载量 99 浏览量
2011-12-09
09:52:36
上传
评论 4
收藏 75KB DOC 举报
温馨提示
试读
15页
vlc+ffmpeg+live555_install,live555接收码流,ffmpeg解码,VLc播放
资源推荐
资源详情
资源评论
Ubuntu 下 VLC 编译及实现流播放总结
2011-06-17 13:27
(1)安装环境
最近要进行流播放,需要安装 VLC,安装了 ubuntu10.04,在一个干净的环境中安装,终于安装成
功,先总结以备参考。
1.安装编译环境
1)gcc/gcc-c++/gdb/make 等工具
sudo apt-get install build-essential
2)
sudo apt-get install automake
3)
sudo apt-get install libtool
4)
sudo apt-get install libgtk2.0-dev
2.ffmpeg 所需要的包
一、FFMEPG 安装前的支持软件包
1、lame 支持 mp3
Url:http://sourceforge.net/project/showfiles.php?group_id=290& package_id=309
#####################################
tar -zxvf lame-398.tar.gz
cd lame-398
./configure --enable-shared --prefix=/usr
make && make install
#####################################
2、libogg
Url:http://downloads.xiph.org/releases/ogg/libogg-1.1.3.tar.gz
###################################
tar xvfz libogg-1.1.3.tar.gz
cd libogg-1.1.3
./configure --prefix=/usr
make && make install
###################################
3、libvorbis
Url:http://downloads.xiph.org/releases/vorbis/libvorbis-1.1.2.tar.gz
#####################################
tar xvfz libvorbis-1.1.2.tar.gz
cd libvorbis-1.1.2
./configure --prefix=/usr
make && make install
#####################################
4、xvid 高质量的压缩格式
Url:http://downloads.xvid.org/downloads/xvidcore-1.1.3.tar.gz
#####################################
tar zvxf xvidcore-1.1.3.tar.gz
cd xvidcore-1.1.3/build/generic
./configure --prefix=/usr
make && make install
#####################################
5、安裝 yasm yasm-0.7.1.tar.gz
# cd /usr/local/src/video
# wget http://www.tortall.net/projects/yasm/releases/yasm-0.7.1.tar.gz
# tar xzvf yasm-0.7.1.tar.gz
# cd yasm-0.7.1
# ./configure --prefix=/usr
# make && make install
#####################################
6、x264 高质量的压缩格式
x264-snapshot-20100301-2245.tar.bz2
Url:http://www.videolan.org/developers/x264.html
wget ftp://ftp.videolan.org/pub/videolan/x264/snapshots/x264-snapshot-20100301-2245.tar.bz2
#####################################
tar x264-snapshot-20100301-2245.tar.bz2
cd x264-snapshot-20100301-2245
./configure --prefix=/usr --enable-shared
make && make install
#####################################
支持 AC3 和 DTS
7、libdts dts 编码的支持
http://download.videolan.org/pub/videolan/libdca/0.0.2/libdca-0.0.2.tar.gz
#####################################
tar zxvf libdca-0.0.2.tar.gz
cd libdts-0.0.2
./configure --prefix=/usr
make && make install
#####################################
8、a52
a52dec-0.7.4.tar.gz
http://liba52.sourceforge.net/downloads.html
Wget http://liba52.sourceforge.net/files/a52dec-0.7.4.tar.gz
#####################################
tar xvfz a52dec-0.7.4.tar.gz
cd a52dec-0.7.4
./configure --prefix=/usr
make && make install
#####################################
支持 MPEG4 和 AAC
9、faad2
faad2-2.6.1.tar.gz
http://www.audiocoding.com/downloads.html
Wget http://downloads.sourceforge.net/faac/faad2-2.7.tar.gz
#####################################
tar xvfz faad2-2.7.tar.gz
cd faad2
autoreconf -vif
./configure --prefix=/usr --with-mpeg4ip --enable-shared
make && make install
#####################################
10、faac
faac-1.26.tar.gz
http://linux.softpedia.com/progDownload/FAAC-Download-554.html
wget http://sourceforge.net/projects/faac/files/faac-src/faac-1.28.tar.bz2
#####################################
tar zxvf faac-1.26.tar.gz
cd faac
./bootstrap
./configure --prefix=/usr --with-mp4v2 --enable-shared
make && make install
#####################################
支持 3gp 格式(注意:ffmpeg0.6 版本以前使用 11、12 两个包,如果 0.6 版本以后使用 13 的
包)
11、amr-nb
amrnb-6.1.0.4.tar.bz2
http://ftp.penguin.cz/pub/users/utx/amr/amrnb-6.1.0.4.tar.bz2
#####################################
tar xvfj amrnb-6.1.0.4.tar.bz2
cd amrnb-6.1.0.4
./configure --prefix=/usr
make && make install
#####################################
12、amr-wb
amrwb-7.0.0.1.tar.bz2
http://ftp.penguin.cz/pub/users/utx/amr/amrwb-7.0.0.1.tar.bz2
#####################################
tar xvfj amrwb-7.0.0.1.tar.bz2
cd amrwb-7.0.0.1
./configure --prefix=/usr
make && make install
#####################################
剩余14页未读,继续阅读
sunuiui
- 粉丝: 2
- 资源: 57
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功
- 1
- 2
前往页