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 ...
随机推荐
- iOS之ToolBar定制
ToorBar的定制 在诸如社区类的app里面,很多都涉及到用户发布消息,如现今最流行的新浪微博,每条信息底部都会有个工具条,正如下图所示,有转发.评论和点赞三个按钮的工具条. 结构 1.作为一个独立 ...
- IIS服务器允许跨域配置
<configuration> <system.webServer> <httpProtocol> <customHeaders> <add na ...
- SSM框架整合首只拦路虎——Eclipse新建Maven Project界面select an archetype 空白
首先给大家说,本篇博客没有技术价值,纯属个人学习总结,权当给大家添加一乐.事件如有雷同,纯属巧合,莫怪! 前一段时间一直在看<淘淘商城>这个教程,里面讲的是SSM框架的一个电商项目.这不是 ...
- 在wex5平台grid里面的gridselect下拉不能显示汉字问题
当grid里面有gridSelect组件的时候,gridSelect里面的bind-ref是对应的数据库存入字段(int类型),bind-labelRef是对应的计算字段(视图里面的),而option ...
- html学习第一天笔记
语义化,让你的网页更好的被搜索引擎理解在这一章节我们要开始把网页中常用到的标签一 一向大家介绍,学习这一章节的时候要记住学习html标签过程中,主要注意两个方面的学习:标签的用途.标签在浏览器中的默认 ...
- Linux环境下的Nginx编译与安装
1.新建文件夹: mkdir -p /zuker cd /zuker 2.编译: yum -y install gcc-c++ make wget autoconf libjpeg libjpeg-d ...
- tomcat服务器奇异事件
我在A电脑里面启动服务器,服务器里面之前上传了XX文件,然后在A电脑浏览器能访问到(但是修改无效),在B电脑也能访问到(修改有效果),现在我把A电脑里面的文件删除,在A电脑都能访问到但是修改不了文件, ...
- dbflow 批量 增删查改
@ModelContainer @Table(database = DemoDatabase.class) class Person extends BaseModel implements Seri ...
- About_PHP_数据类型&常用数组函数
PHP数据类型总结: 1:Boolean 布尔类型 返回值就是true和false 特殊情况:(1)false (2)整型0的时候 (3)空字符串/字符串“0” (4)null 以上都会被返回fals ...
- RCurl getURL()函数做debug
getURL()函数做获取网页做debug,三步骤 1.首先创建一个对象debugGatherer(),该对象包含三个函数:(update(), value(), reset()); R> de ...