ubuntu下编译VLC源码
http://blog.csdn.net/beitiandijun/article/details/9225591
ubuntu下编译VLC源码
分类: 视频处理 2013-07-02 17:33 5761人阅读 评论(0) 收藏 举报
VLC
操作系统选择:
http://old-releases.ubuntu.com/releases/14.04.0/
ubuntu-14.04-desktop-amd64.iso
sudo apt-get install已经安装了freescale的i.MX6Q的android4.2.2/android4.4.2的软件。
本帖子内的软件已经安装。
http://blog.csdn.net/zhoudekuai/article/details/8539432
gst-rtsp-server编译测试
1、从git上获得VLC源代码,当然你要确定你已经安装好了git:
git clone git://git.videolan.org/vlc.git
vlc源码还是挺大的,我下载下来压缩成为tar.gz压缩包,一共是292M。
(2015/11/6 21:06)
版本:VLC media player 3.0.0-git Vetinari (revision 2.2.0-git-5224-ge4695f0)
2、cd vlc
ls
AUTHORS compat doc m4 po THANKS
autotools configure.ac extras make-alias README
bin contrib include Makefile.am share
bindings COPYING INSTALL modules src
bootstrap COPYING.LIB lib NEWS test
3、./bootstrap
我在这里遇到一个问题:
./bootstrap
sudo apt-get install gettext;
sudo apt-get install autoconf automake libtool
安装好之后,再试一次:
./bootstrap
root@hlchen-Lenovo-Product:/home/share/mahang/vlc# ./bootstrap
……
configure.ac:27: installing `autotools/missing'
bin/Makefile.am: installing `autotools/depcomp'
autoreconf: Leaving directory `.'
+ rm -f po/Makevars.template
+ rm -f stamp-h*
+ set +x
Successfully bootstrapped
看最开始还是提示说需要安装或者升级gettext,不知道这是啥原因,不管了,反正“Successfully bootstrapped”
4、安装vlc的依赖包:
sudo apt-get build-dep vlc
这也挺大,122M+
rootroot@rootroot-E400:~/wyb/ubuntu_vlc/vlc$ sudo apt-get build-dep vlc
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages have unmet dependencies:
libfluidsynth-dev : Depends: libfluidsynth1 (= 1.1.6-2) but it is not going to be installed
Depends: libjack-dev or
libjack-jackd2-dev but it is not going to be installed
E: Build-dependencies for vlc could not be satisfied.
rootroot@rootroot-E400:~/wyb/ubuntu_vlc/vlc$
rootroot@rootroot-E400:~/wyb/ubuntu_vlc/vlc$ sudo apt-get install libfluidsynth1=1.1.6-2
rootroot@rootroot-E400:~/wyb/ubuntu_vlc/vlc$ sudo apt-get install libjack-jackd2-dev
rootroot@rootroot-E400:~/wyb/ubuntu_vlc/vlc$
rootroot@rootroot-E400:~/wyb/ubuntu_vlc/vlc$ sudo apt-get build-dep vlc
5、编译
./configure
……
checking for GST_APP... no
configure: WARNING: No package 'gstreamer-app-1.0' found. GStreamer modules will not be built.
checking for AVCODEC... no
configure: error: Requested 'libavcodec >= 55.0.0' but version of libavcodec is 54.35.0. Pass --disable-avcodec to ignore this error.
rootroot@rootroot-E400:~/wyb/ubuntu_vlc/vlc$ ./configure --disable-avcodec
make
sudo make install
sudo ldconfig
安装完成。
6、运行(必须在真机运行)
./vlc
sudo apt-get install checkinstall lua50
7、安装
make install
可以卸载
make uninstall
make distclean
ubuntu下编译VLC源码的更多相关文章
- 【转】在Ubuntu下编译Android源码并运行Emulator
原文网址:http://www.mcuos.com/thread-4553-1-1.html 建立编译环境 1.在VirtualBox上安装Ubuntu 2.安装JDK $ sudo apt-ge ...
- 在Ubuntu下编译WebKit源码--qt
转载自:http://www.cnblogs.com/panderen/archive/2011/10/18/2216154.html 在朋友的介绍下有幸認识了WebKit这个让人心动的开源浏览器内核 ...
- ubuntu下编译VLC
ubuntu下编译VLC 标签(空格分隔): ubuntu vlc 视频 编译 [TOC] 1.下载VLC源码包并解压 VLC的源码包在VLC的官网有,可以直接下载.也可以使用git来clone一个. ...
- Windows下编译live555源码
Windos下编译live555源码 环境 Win7 64位 + VS2012 步骤 1)源码下载并解压 在官网上下载最新live555源码,并对其进行解压. 2)VS下建立工程项目 新建Win32项 ...
- Windows 10 x64 下编译 Hadoop 源码
Windows 10 x64 下编译 Hadoop 源码 环境准备 Hadoop并没有提供官方的 Windows 10 下的安装包,所以需要自己手动来编译,官方文档中 BUILDING.txt 文件中 ...
- Windows,linux下编译qt源码(比较简单)
一.linux下静态编译qt源码 1.取到qt源码并解压到文件夹 2.cd到qt目录下 3.使用configure生成makefile ./configure–prefix /opt/qtstatic ...
- Android的学习——ubuntu下android5.1源码的make编译
在repo sync下载源码后,经历了漫长的时间,终于可以进行下一步了. 在进行make之前还需要三个步骤. 1> source build/envsetup.sh:加载命令 ...
- ubuntu18.04.2下编译openjdk9源码
最近在看<深入理解Java虚拟机 第二版>这本书,上面有关于自己编译OpenJDK源码的内容.自己根据书里的指示去操作,花了三天的时间,重装了好几次Ubuntu(还不知道快照这个功能,好傻 ...
- mac下编译node源码
看过一篇win7 64x下面编译node的文章,链接地址:编译nodejs及其源码研究 下面学习一下在mac下面如何编译node源码. 过程也挺简单. 1.下载源码. > mkdir nodes ...
随机推荐
- 【SQL Server 学习系列】-- 收缩数据库文件大小
USE WebExam; GO ALTER DATABASE WebExam SET RECOVERY SIMPLE; GO -- 收缩文件到 1 MB. ); GO ALTER DATABASE W ...
- 006 Cisco switch prewired
Switch>en Switch#config t Enter configuration commands, one per line. End with CNTL/Z. Switch(co ...
- Centos系统备份
使用root用户切换到根目录 然后,使用下面的命令备份完整的系统: tar cvpzf backup.tgz / --exclude=/proc --exclude=/lost+found --exc ...
- Angular CLI: 1.6.7 入门
当你使用npm或者yarn也安装不了angular-cli时,请使用淘宝镜像. Step1 npm i -g cnpm --registry=https://registry.npm.taobao.o ...
- 浏览器判断是否安装了ios/android客户端程序
最近在做一个项目,该项目的前身是为mobile browser量身打造的一个网站.现在有这样一个需求: 当用户在用mobile browser浏览该网站的时候会点击一个按钮/超链接,通过这个按钮的点击 ...
- 打开与关闭Linux防火墙
1) 重启后生效 开启: chkconfig iptables on 关闭: chkconfig iptables off 2) 即时生效,重启后失效 开启: service iptables sta ...
- ubuntu双网卡绑定配置
1,安装bonding需要的软件 sudo apt-get install ifenslave 2,在/etc/modules中加入: bonding mode= miimon= 3,在/etc/ne ...
- 蓝桥 ADV-232 算法提高 矩阵乘法 【区间DP】
算法提高 矩阵乘法 时间限制:3.0s 内存限制:256.0MB 问题描述 有n个矩阵,大小分别为a0*a1, a1*a2, a2*a3, ..., a[n-1]*a[n],现要 ...
- Android 的坑一 :android.content.res.Resources$NotFoundException: String resource ID #0x0 找不到资源文件ID #0x0
原因分析如下: 遇到这种情况,很有可能是把一个int型业务数据的 设置setText()或者类似的方法中, 这样Android系统就会主动去资源文件当中寻找, 但是它不是一个资源文件ID, 所以就会报 ...
- 中文man
1.下载中文包:cd /usr/local/src wget http://pkgs.fedoraproject.org/repo/pkgs/man-pages-zh-CN/manpageszh-1. ...