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 ...
随机推荐
- LeetCode之226. Invert Binary Tree
------------------------------------- 反转树的基本操作. 可是下面那句话是什么鬼啊,这么牛掰的人都会有这种遭遇,确实抚慰了一点最近面试被拒的忧伤..... AC代 ...
- CSC321 神经网络语言模型 RNN-LSTM
主要两个方面 Probabilistic modeling 概率建模,神经网络模型尝试去预测一个概率分布 Cross-entropy作为误差函数使得我们可以对于观测到的数据 给予较高的概率值 同时可以 ...
- QT error: cannot find -lGL
自己电脑新搭建的QT5.4.2编程环境,编译的第一个程序出现错误:error: cannot find -lGL 经查证,是找不到GL库,解决办法: sudo apt-get install libg ...
- Visual Studio Productivity Power Tools居然也开源
(此文章同时发表在本人微信公众号"dotNET每日精华文章",欢迎右边二维码来关注.) 题记:微软开源玩得嗨,连VS扩展插件Productivity Power Tools也开源. ...
- C语言中字符串结束符'\0'
转自:http://www.cnblogs.com/kaituorensheng/archive/2013/12/09/3464462.html 本质 '\0'就是8位的00000000,因为字符类型 ...
- Epub基础知识介绍
转载自:http://www.cnblogs.com/linlf03/archive/2011/12/13/2286218.html 一.什么是epub epub是一个完全开放和免费的电子书标准.它可 ...
- [Unity3D]Unity+Android交互教程——让手机"动"起来
想要用Unity实现一个二维码扫描的功能,然后网上找插件,找到一个貌似叫EasyCodeScanner,但下载下来用用,真不好使,一导入运行就报错,调好错了再运行发现点按钮没反应,反复试了几遍发现还是 ...
- 使用samba实现linux与windows共享(测试成功)
samba服务器搭建 实现linux与windows文件共享有很多种方法,诸如wpc,vmtools等,今天我来介绍我在rehat系统中实验成功并且现在在用的的方法,直接给出操作步骤: ...
- MySQL 存储过程基本函数
字符串类 CHARSET(str) //返回字串字符集CONCAT (string2 [,... ]) //连接字串INSTR (string ,substring ) //返回substring首次 ...
- 实现携程X分钟前有人预定功能
实现携程X分钟前有人预定功能 原理:利用cookie与计时器两部分: 首先,进入页面,x会被随机数赋值,赋值后x会一分钟加1,直到加到60,再从1开始累加. 页面是否相同是根据页面的url后的id值判 ...