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源码的更多相关文章

  1. 【转】在Ubuntu下编译Android源码并运行Emulator

    原文网址:http://www.mcuos.com/thread-4553-1-1.html 建立编译环境 1.在VirtualBox上安装Ubuntu 2.安装JDK   $ sudo apt-ge ...

  2. 在Ubuntu下编译WebKit源码--qt

    转载自:http://www.cnblogs.com/panderen/archive/2011/10/18/2216154.html 在朋友的介绍下有幸認识了WebKit这个让人心动的开源浏览器内核 ...

  3. ubuntu下编译VLC

    ubuntu下编译VLC 标签(空格分隔): ubuntu vlc 视频 编译 [TOC] 1.下载VLC源码包并解压 VLC的源码包在VLC的官网有,可以直接下载.也可以使用git来clone一个. ...

  4. Windows下编译live555源码

    Windos下编译live555源码 环境 Win7 64位 + VS2012 步骤 1)源码下载并解压 在官网上下载最新live555源码,并对其进行解压. 2)VS下建立工程项目 新建Win32项 ...

  5. Windows 10 x64 下编译 Hadoop 源码

    Windows 10 x64 下编译 Hadoop 源码 环境准备 Hadoop并没有提供官方的 Windows 10 下的安装包,所以需要自己手动来编译,官方文档中 BUILDING.txt 文件中 ...

  6. Windows,linux下编译qt源码(比较简单)

    一.linux下静态编译qt源码 1.取到qt源码并解压到文件夹 2.cd到qt目录下 3.使用configure生成makefile ./configure–prefix /opt/qtstatic ...

  7. Android的学习——ubuntu下android5.1源码的make编译

    在repo sync下载源码后,经历了漫长的时间,终于可以进行下一步了. 在进行make之前还需要三个步骤. 1> source build/envsetup.sh:加载命令          ...

  8. ubuntu18.04.2下编译openjdk9源码

    最近在看<深入理解Java虚拟机 第二版>这本书,上面有关于自己编译OpenJDK源码的内容.自己根据书里的指示去操作,花了三天的时间,重装了好几次Ubuntu(还不知道快照这个功能,好傻 ...

  9. mac下编译node源码

    看过一篇win7 64x下面编译node的文章,链接地址:编译nodejs及其源码研究 下面学习一下在mac下面如何编译node源码. 过程也挺简单. 1.下载源码. > mkdir nodes ...

随机推荐

  1. 断路器监控(Hystrix Dashboard)

    继上一篇http://www.cnblogs.com/EasonJim/p/7613595.html介绍了断路器之后,其实它还提供了一个管理页面来监控这些应用的调用数据. 首先,我是基于上一个例子Zo ...

  2. Windows 10 S中的Device Guard详解(上篇)

    本文探讨Windows 10 S(下称Win10S)中的Device Guard(设备保护,下称DG).我将提取策略,并弄清楚在默认Win10S系统上可以和不可以运行什么.我将在下一篇文章中介绍在不安 ...

  3. cocos2d-x中绘制3D图形--3D ToolKit for cocos2dx实现原理

    首先:了解具体情况请看这里:https://github.com/wantnon2/3DToolKit-for-cocos2dx 在看代码之前,最好还是先把项目git下来执行一下demoproject ...

  4. ubuntu14.04 的ibus不能卸载(安装fcitx输入法框架时可能有这个需求)。出现无system setting有用程序

    每年的ubuntu新版本号公布,都会吸引一大批热血青年. 关注越多也让ubuntu越来越好了. 使用ubuntu的人都会在安装系统之后马上安装顺手的输入法,也可能不会.看人. 安装输入法,对于中文输入 ...

  5. xode5.1.1设置IOS欢迎界面的方法

    先准备3张不同尺寸的欢迎图.文件名称分别为: Default.png  iPhone 320X480分辨率屏幕默认启动图片. Default@2x.png iPhone 640X960分辨率屏幕默认启 ...

  6. ios之UILabel实现文本自适应方法

    UILabel实现文本自适应方法(ios7) - (void)initUserInterface { UILabel *label = [[UILabel alloc]init]; label.num ...

  7. [计算机故障]toshiba笔记本计算机无法正常启动,每次均需要按ESC

    同事一台toshiba的笔记本计算机,无法正常启动,每次均需要按ESC才可以正常后续动作. 之后系统可以正常工作. 排查过程: 1.尝试恢复bios到默认配置:不行,而且不小心搞了个蓝屏,还好记得是“ ...

  8. iOS开发——基础篇——iOS开发 Xcode8中遇到的问题及改动

      iOS开发 Xcode8中遇到的问题及改动 新版本发布总会有很多坑,也会有很多改动. 一个一个填吧... 一.遇到的问题 1.权限以及相关设置 iOS10系统下调用系统相册.相机功能,或者苹果健康 ...

  9. 【poj2774】Long Long Message

    用个分隔符将两个字符串连接起来,再用后缀数组求出height数组的值,找出一个height值最大并且i与i-1的sa值分别在两串字符中就好 #include<algorithm> #inc ...

  10. 稀疏表达是要求信号在该模型下的sparse code,只有少数的non-zero elements

    为什么sparse representation比起其它成分分析方法(DFT,Wavelet)能得到更好的效果? - 知乎  https://www.zhihu.com/question/241241 ...