fedora14 安装vlc2.0.6编译环境 步骤记录
来源:互联网 发布:什么情况下使用网络猫 编辑:程序博客网 时间:2024/06/16 13:42
按configure默认配置 安装vlc2.0.6
如需要界面需安装 QT4 : yum install qt4 qt4-devel1. 加载编程工具 :
切换root 用户
yum install git libtool pkg-config./bootstrap 执行完生成configure 文件2. ./configureerr: dbus-1 错误
http://www.linuxfromscratch.org/blfs/view/svn/general/dbus.html 下载 dbus-1.6.10
按照该网页说明执行
./configure --prefix=/usr \ --sysconfdir=/etc \ --localstatedir=/var \ --libexecdir=/usr/lib/dbus-1.0 \ --with-console-auth-dir=/run/console/ \ --without-systemdsystemunitdir \ --disable-systemd \ --disable-static &&makeerr:expat.h 的错误 从 http://www.linuxfromscratch.org/blfs/view/svn/general/expat.html 下载 expat-2.1.0 按网页说明安装 成功后在安装dbus 3. ./configure configure: error: Could not find lua. Lua is needed for some interfaces (rc, telnet, http) as well as many other custom scripts. Use --disable-lua to ignore this error.解决:yum install lua 和 yum install lua-devel4. ./configure configure: error: Could not find libmad on your system: you may get it from http://www.underbit.com/products/mad/. Alternatively you can use --disable-mad to disable the mad plugin. 下载libmad http://www.linuxfromscratch.org/blfs/view/cvs/multimedia/libmad.html 编译安装:(可能存在缺少 g++ :yum install gcc-c++)./configure --prefix=/usr &&make(若出现-fforce-mem错误, 在MakeFile 中删掉,在执行make)
make install
5. ./configure
configure: error: No package 'libavcodec' found
No package 'libavutil' found. Pass --disable-avcodec to ignore this error.
解决:把vlc-2.0.6/contrib/src 下的文件夹全部移走(备份后面会用到) 只剩下ffmpeg文件夹 和一些.sh 文件
cd vlc-2.0.6/contrib
mikdir tmp
cd tmp
../bootstrap
make
进入 ffmepg:
cd ffmpeg
./configure --prefix=/usr &&make
err:yasm 错误 安装L yum install yasm
执行:./configure --prefix=/usr &&makemake install6. ./configureerr:configure: error: No package 'libpostproc' found. Pass --disable-postproc to ignore this error解决:把postproc 文件夹 拷到 vlc-2.0.6/contrib/src 现在文件夹有2个postproc和ffmpeg 按照上边步骤安装 postprocconfigure: error: Could not find liba52 on your system: you may get it from http://liba52.sf.net/.7../configure
Alternatively you can use --disable-a52 to disable the a52 plugin.
同上方法
8. ./configure
configure: error: No package 'alsa' found. alsa-lib 1.0.16 or later required.
解决:下载 alsa-lib-1.0.27
./configure --prefix=/usr &&make make install
configure: error: libgcrypt version 1.1.94 or higher not found. Install libgcrypt or use --disable-libgcrypt. Have a nice day.9. ./configure
步骤同 5 和 6 src文件夹下 只留 gcrypt 文件夹。
中途需安装libgpg-error-1.9
10. ./configure
libvlc configuration
--------------------
version : 2.0.6
system : linux
architecture : i686 mmx sse sse2
optimizations : yes
vlc aliases : cvlc rvlc qvlc
To build vlc and its plugins, type `make', or `./compile' if you like nice colors.
11. make
12 make install
安装完成 目前vlc 的 客户端功能 应该能满足 但作为服务器使用的话 还需要对 configure进行配置 需要知道configure 配置选项,是件头疼的事,而且还会涉及作为
服务器所需要的第三方库的安装,不管还需要什么库 到/contrib/src 里面下载 在用 ./configure --prefix=/usr &&make 和make install 安装。以上的安装方法 vlc编译环境 只能做客户端
可以vlc指令 调出vlc界面 目标--选择 rtp/mpeg ts 转码选项--- H264 + mp3(TS)
会出现:
1.muxer 不存在的错误:
解决: 缺少 libdvbpsi 用contrib 文件夹工具下载即可 注意版本 是 0.2.22.h264 -mpeg4 错误: 解决: 没安装 x264 可以 执行 vlc-l | grep 264结果应该有3项,缺少 X264 那项。在contrib下载x264 注意 安装指令 : ./configure --disable-asm --enable-shared --prefix=/usr &&make--enable-shared 相当重要 不加的话 x264 装了也没用。 执行完后 make install编译安装vlc :执行:vlc -l | grep 264VLC media player 2.0.6 Twoflower (revision 2.0.6-0-gbe9623c) h264 H264 视频去复用器 x264 H.264/MPEG4 AVC 编码器 (x264) packetizer_h264 H.264 视频封包器x264 在里面了。 加载其他第三方库,可以参考 http://wiki.videolan.org/Contrib_Status./configure --enable-run-as-root --disable-linsys --disable-libproxy --disable-live555 --disable-dc1394 --disable-dv --disable-dvdread --disable-dvdnav --disable-dshow --disable-bluray --disable-v4l2 --disable-decklink --disable-gnomevfs --disable-vcd --disable-libcddb --disable-screen --disable-dbus --disable-swscale --disable-postproc --disable-a52 --disable-xcb --disable-alsa --disable-libgcrypt --disable-vcd --disable-libcddb --disable-screen --disable-xvideo --disable-httpd --enable-dvbpsi --disable-mkv --disable-mod --disable-mpc --disable-lua --disable-skins2 --disable-libtar --disable-hildon --disable-qt4 --disable-ncurses --enable-debug
- fedora14 安装vlc2.0.6编译环境 步骤记录
- fedora14 安装vlc2.0.6编译环境 步骤记录
- Fedora14 开发环境安装
- Windows下编译VLC2.2.1 ---CygWin环境
- VMware 安装中文Fedora14步骤
- QTE在Fedora14下安装步骤
- 编译VLC2.0.7
- fedora14编译安装skyeye-1.3.2
- Fedora14下编译安装Gtk3.0
- Fedora14下qt开发环境的安装
- CentOS6安装vlc2.x
- Ubuntu14.04 32位上编译VLC2.2.0源码操作步骤
- fedora14安装
- fedora14安装
- Ubuntu下编译VLC2.0.1
- 最新版本VLC2.2.1编译
- Windows下编译VLC2.2.1
- appium环境搭建步骤记录(一)-appium安装
- poj_2299Ultra-QuickSort && poj_1804Brainman
- python 模块常用的几种安装方式
- HACMP6.1安装所需包
- 黑马程序员--GUI程序设计(一)
- 使用KissXml解析xml
- fedora14 安装vlc2.0.6编译环境 步骤记录
- iOS, 在应用之间共享文档。
- MPI Project Template + VS2010
- RedHat Enterprise Linux ISO文件下载镜像站点
- 配置oracle instance client。不需要安装oracle客户端实现程序以及plsql连接oracle服务端
- 项目管理----项目范围管理
- CSS,html学习1
- 在命令行里执行exe文件
- 关于glew.h / glut.h引用