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 ...
随机推荐
- u盘--软驱
https://item.taobao.com/item.htm?spm=a230r.1.14.26.XUgxcR&id=12352589458&ns=1&abbucket=5 ...
- mybatis最重要的mapper文件书写
1.MyBatis中在查询进行select映射的时候,返回类型可以用resultType,也可以用resultMap. 也只有在mapper的select标签中,才会指定resultMap属性的值,其 ...
- fuse-dfs挂载hdfs实录
部署安装了最新稳定版hadoop2.2.0.然后在网上找来fuse-dfs编译教程.可是最后失败了.至今原因未知--,错误描写叙述为:Transport endpoint is not connect ...
- 必测的支付漏洞(一)——使用fiddler篡改支付金额
互联网产品中常会遇到支付功能,测试人员测试这部分功能时一定要重视,因为如果这部分出现了较严重的bug,将会给公司带来不小的经济损失!如果你测出了问题领导也一定会高兴的!因此测试优先级很高,但具有一定难 ...
- Swift 函数Count,Filter,Map,Reduce
原创Blog,转载请注明出处 blog.csdn.net/hello_hwc 前言:和OC不同,Swift有非常多全局的函数,这些全局函数对简化代码来说非常实用.眼下Swift出到了2.0,只是我这篇 ...
- Echarts 如何使用 bmap 的 API
使用 Echarts 在绘制 Binning on map 的图形时(其实也就是 在地图上绘制热力色块图) 解决因为数据量过大,希望在拖拽加载或者缩放加载的时候,根据可视区域的经纬度范围,来请求相应的 ...
- ionic2 在执行ionic serve后报 build dev failed: Cannot set property 'fileSystem' of null
ionic2 真是烦人,因为环境依赖的问题还有网络的问题,不知砸的,项目放一段事件不运行就会出问题. 我一开始是 用 cnpm install安装的依赖,其中也报了错, 然后执行 ionic serv ...
- linux之安装软件出现Could not open lock file /var/lib/dpkg/lock - open (13: Permission denied)解决总结
sudo rm -rf /var/lib/dpkg/lock sudo rm -rf /var/cache/apt/archives/lock
- Hibernate - Query简易
package cn.demo; import java.util.List; import org.hibernate.Query; import org.hibernate.Session; im ...
- go6---slice切片
package main /* 切片Slice 其本身并不是数组,它指向底层的数组 作为变长数组的替代方案,可以关联底层数组的局部或全部 为引用类型 可以直接创建或从底层数组获取生成 使用len()获 ...