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. mbed试玩—高速开发MCU应用(基于FRDM-KL25Z)

    mbed试玩 曾经參加一个站点的小小的比赛获得了一块Freescale的FRDM-KL25Z开发板.今天拿出来试玩的时候,插入电脑(板子连接OpenSDA接口)识别出一个128MB的虚拟磁盘,然后打开 ...

  2. Django打造大型企业官网(八)

    4.16.侧边栏标题和广告位布局完成 templates/news/index.html <div class="sidebar-wrapper"> <div c ...

  3. C/C++实现正负数四舍五入

    首先我们来看看 (int) 强制类型转换: #include <stdio.h> #include <stdlib.h> int main(){ int a = (int)(- ...

  4. 通俗理解LDA主题模型

    通俗理解LDA主题模型 0 前言 印象中,最開始听说"LDA"这个名词,是缘于rickjin在2013年3月写的一个LDA科普系列,叫LDA数学八卦,我当时一直想看来着,记得还打印 ...

  5. io口的作用

    I/O接口的作用     主机与外界交换信息称为输入/输出(I/O).主机与外界的信息交换是通过输入/输出设备进行的.一般的输入/输出设备都是机械的或机电相结合的产物,比方常规的外设有键盘.显示器.打 ...

  6. 剑指Offer面试题29(java版):数组中出现次数超过一半的数字

    题目:数组中有一个数字出现的次数超过数组长度的一半,请找出这个数字. 比如输入一个长度为9的数组{1,2,3,2.2,2.5,4,2}.因为数字2在数组中出现5次,超过数组长度的一半,因此输出2. 解 ...

  7. 二分lower_bound()与upper_bound()的运用

    <span style="color:#6633ff;">/* G - 二分 Time Limit:2000MS Memory Limit:32768KB 64bit ...

  8. Google C++编程规范 – 第十九条 -《前置声明》

    转自:http://roclinux.cn/?p=3285 本原创文章属于<Linux大棚>博客. 博客地址为http://roclinux.cn. 文章作者为roc wu == [规范] ...

  9. Java 中extends与implements使用方法 (转载)

    转自:http://blog.csdn.net/chen_chun_guang/article/details/6323201 初学Java语言, 代码中的extends和implements让我感到 ...

  10. vue中父组件传数据给子组件

    父组件: <template> <parent> <child :list="list"></child> //在这里绑定list对 ...