ubuntu14.0 (arm平台)源码安装 VLC播放器
环境 ubuntu14.0 arm开发板
源
deb http://mirrors.ustc.edu.cn/ubuntu-ports/ trusty main multiverse restricted universe
deb http://mirrors.ustc.edu.cn/ubuntu-ports/ trusty-backports main multiverse restricted universe
deb http://mirrors.ustc.edu.cn/ubuntu-ports/ trusty-proposed main multiverse restricted universe
deb http://mirrors.ustc.edu.cn/ubuntu-ports/ trusty-security main multiverse restricted universe
deb http://mirrors.ustc.edu.cn/ubuntu-ports/ trusty-updates main multiverse restricted universe
deb-src http://mirrors.ustc.edu.cn/ubuntu-ports/ trusty main multiverse restricted universe
deb-src http://mirrors.ustc.edu.cn/ubuntu-ports/ trusty-backports main multiverse restricted universe
deb-src http://mirrors.ustc.edu.cn/ubuntu-ports/ trusty-proposed main multiverse restricted universe
deb-src http://mirrors.ustc.edu.cn/ubuntu-ports/ trusty-security main multiverse restricted universe
deb-src http://mirrors.ustc.edu.cn/ubuntu-ports/ trusty-updates main multiverse restricted universe
deb http://ports.ubuntu.com precise main restricted universe multiverse
deb-src http://ports.ubuntu.com/ubuntu-ports/ precise main universe
源码下载地址 http://mirrors.neusoft.edu.cn/videolan/vlc/2.2.4/vlc-2.2.4.tar.xz
wget http://mirrors.neusoft.edu.cn/videolan/vlc/2.2.4/vlc-2.2.4.tar.xz
安装依赖库
apt-get install liblua5.1-0-dev liblua50-dev liblualib50-dev liblivemedia-dev libogg-dev libmad0-dev libfaad-dev liba52-dev libflac-dev apt-get install libmpeg2-4-dev
tar xf vlc-2.2.4.tar.xz
cd vlc-2.2.4
./configure --prefix=/usr/local/vlc --enable-run-as-root --enable-x11 --enable-xvideo --disable-gtk --enable-sdl --enable-avcodec --enable-avformat --enable-swscale --enable-mad --enable-libdvbpsi --enable-a52 --enable-libmpeg2 --enable-faad --enable-vorbis --enable-ogg --enable-theora --enable-faac --enable-mkv --enable-freetype --enable-fribidi --enable-speex --enable-flac --enable-live555 --with-live555-tree=/usr/lib/live --enable-caca --enable-skins --enable-alsa --disable-kde --enable-ncurses --enable-release --disable-qt4
make && make install
错误:
configure: error: Library ogg vorbis >= 1.1 vorbisenc >= 1.1 needed for vorb
解决方法: apt-get install libvorbis-dev
configure: error: Library ogg speex >= 1.0.5 needed for speex was not found
apt-get install libspeex-dev
configure: error: Library ogg theoradec >= 1.0 theoraenc needed for theora was not found
apt-get install libtheora-dev
configure: error: Library caca >= 0.99.beta14 needed for caca was not found
apt-get install libcaca-dev
configure: error: No package 'alsa' found. alsa-lib 1.0.24 or later required.
apt-get install libalsa-ocaml-dev
configure: error: No package 'ncursesw' found
apt-get install libncursesw5-dev
configure: error: libgcrypt version 1.1.94 or higher not found. Install libgcrypt or pass --disable-libgcrypt.
apt-get install libgcrypt-dev
错误
make[4]: 正在进入目录 `/root/vlc-2.2.4/modules'
CC codec/avcodec/libavcodec_plugin_la-avcodec.lo
codec/avcodec/avcodec.c: In function ‘CloseDecoder’:
codec/avcodec/avcodec.c:365:9: error: implicit declaration of function ‘av_free’ [-Werror=implicit-function-declaration]
av_free( p_sys->p_context->extradata );
^
codec/avcodec/avcodec.c: In function ‘ffmpeg_OpenCodec’:
codec/avcodec/avcodec.c:407:42: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
else if (p_sys->p_context->width != p_dec->fmt_in.video.i_width)
^
codec/avcodec/avcodec.c:411:43: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
else if (p_sys->p_context->height != p_dec->fmt_in.video.i_height)
^
cc1: some warnings being treated as errors
make[4]: *** [codec/avcodec/libavcodec_plugin_la-avcodec.lo] 错误 1
make[4]:正在离开目录 `/root/vlc-2.2.4/modules'
make[3]: *** [all-recursive] 错误 1
make[3]:正在离开目录 `/root/vlc-2.2.4/modules'
make[2]: *** [all] 错误 2
make[2]:正在离开目录 `/root/vlc-2.2.4/modules'
make[1]: *** [all-recursive] 错误 1
make[1]:正在离开目录 `/root/vlc-2.2.4'
make: *** [all] 错误 2
解决方法:
修改文件
vi /root/vlc-2.2.4/modules/Makefile
在2640行 删除 -Werror-implicit-function-declaration
ubuntu14.0 (arm平台)源码安装 VLC播放器的更多相关文章
- CentOS下源码安装mplayer播放器
http://www.mplayerhq.hu/MPlayer/releases/ [root@ok MPlayer-1.2.1]# pwd /root/MPlayer-1.2.1 http://ww ...
- centos7安装VLC播放器
centos7安装VLC播放器 1.安装eple 下载地址:https://dl.fedoraproject.org/pub/epel/7/x86_64/e/epel-release-7-5.noar ...
- Ubuntu安装VLC播放器
Ubuntu安装VLC官方介绍:http://www.videolan.org/vlc/download-ubuntu.html sudo apt-get update sudo apt-get in ...
- Ubuntu 16.04安装VLC播放器,替代系统默认播放器
VLC播放器应该说是开源项目中最好的视频播放器,但功能不止于视频播放,还有视频直播等等.可以通过安装字幕插件搜索字母等. 安装步骤: 1.安装: sudo add-apt-repository ppa ...
- Django2.0.6-Xadmin后台源码安装流程(python 3.8+django 2.0)
1. 命令行执行 pip install git+git://github.com/sshwsfc/xadmin.git@django2 2.修改url.py 3.修改setting.py 4.卸载x ...
- 项目源码--Android3D影音播放器源码
下载源码 技术要点: 1.本地音乐管理 2.音频流的解码 3. UI控件的综合使用 4. 视频流的解码 5. 动态更换皮肤 6. 3D效果的实现 7. 源码带详细的中文注释 ...... 详细 ...
- Fedora中安装VLC播放器
需要在机器上安装VLC,无奈不能直接通过yum安装,网上搜了一下,直接安装成功,其实挺简单的: 我的机器是Fedora15,其他的类似: ------------------------- 首先:su ...
- centos6.5 安装vlc播放器【超简单】
# cd /etc/yum.repos.d/ # wget http://pkgrepo.linuxtech.net/el6/release/linuxtech.repo //我试了3次才下载下来 # ...
- centos7源码安装Apache及Tomcat
源码安装Apache (1) 一.通过 https://apr.apache.org/ 下载 APR 和 APR-util 通过 http://httpd.apache.org/download.c ...
随机推荐
- python入门一
python类型 编程语言主要从以下几个角度为进行分类,编译型和解释型.静态语言和动态语言.强类型定义语言和弱类型定义语言. 编译型和解释型 编译型:在程序执行之前,有一个单独的编译过程,将程序翻译成 ...
- Macbook Pro 使用小记
本周到手Macbook Pro,很激动.刚刚使用了几天,简单记下自己的感受. Macbook Pro的硬件配置和做工真没得说,非常完美. 触控板很强大.很好用,鼠标可以基本不用了,但要稍微学习一下 ...
- MyBatis学习(四)MyBatis和Spring整合
MyBatis和Spring整合 思路 1.让spring管理SqlSessionFactory 2.让spring管理mapper对象和dao. 使用spring和mybatis整合开发mapper ...
- html标准
html1.使用双引号2. <img src=""> 不添加/3. <html lang="zh-CN">4. <a class= ...
- Build2016上值得一看的大数据相关Session
(此文章同时发表在本人微信公众号"dotNET每日精华文章",欢迎右边二维码来关注.) 题记:Build2016开完很久了,现在才来回顾下,就说说那些和大数据相关的Session, ...
- JAVA基础再回首
http://blog.csdn.net/m366917/article/details/51559031
- Android_AsyncTask异步任务(一)
AsyncTask,是android提供的轻量级的异步类,可以直接继承AsyncTask,在类中实现异步操作,并提供接口反馈当前异步执行的程度(可以通过接口实现UI进度更新),最后反馈执行的结果给UI ...
- 手动编译安装docker环境,以及偶尔出现的bug
总结安装过程如下: 前提:安装git,go,make, docker(docker中编译docker) git clone https://git@github.com/docker/docker c ...
- POJ3279 Fliptile(暴力)
有一种暴力是这样的,枚举一边,确定另一边. 这一题是这么解的,枚举第一行所有翻转情况,然后剩下几行其实是确定的,因为前i行翻转方式确定后只能通过第i+1行的翻转来改变第i行的状态,于是依次模拟求出剩下 ...
- Leetcode Construct Binary Tree from Inorder and Postorder Traversal
Given inorder and postorder traversal of a tree, construct the binary tree. Note:You may assume that ...