环境 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播放器的更多相关文章

  1. CentOS下源码安装mplayer播放器

    http://www.mplayerhq.hu/MPlayer/releases/ [root@ok MPlayer-1.2.1]# pwd /root/MPlayer-1.2.1 http://ww ...

  2. centos7安装VLC播放器

    centos7安装VLC播放器 1.安装eple 下载地址:https://dl.fedoraproject.org/pub/epel/7/x86_64/e/epel-release-7-5.noar ...

  3. Ubuntu安装VLC播放器

    Ubuntu安装VLC官方介绍:http://www.videolan.org/vlc/download-ubuntu.html sudo apt-get update sudo apt-get in ...

  4. Ubuntu 16.04安装VLC播放器,替代系统默认播放器

    VLC播放器应该说是开源项目中最好的视频播放器,但功能不止于视频播放,还有视频直播等等.可以通过安装字幕插件搜索字母等. 安装步骤: 1.安装: sudo add-apt-repository ppa ...

  5. 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 ...

  6. 项目源码--Android3D影音播放器源码

      下载源码   技术要点: 1.本地音乐管理 2.音频流的解码 3. UI控件的综合使用 4. 视频流的解码 5. 动态更换皮肤 6. 3D效果的实现 7. 源码带详细的中文注释 ...... 详细 ...

  7. Fedora中安装VLC播放器

    需要在机器上安装VLC,无奈不能直接通过yum安装,网上搜了一下,直接安装成功,其实挺简单的: 我的机器是Fedora15,其他的类似: ------------------------- 首先:su ...

  8. centos6.5 安装vlc播放器【超简单】

    # cd /etc/yum.repos.d/ # wget http://pkgrepo.linuxtech.net/el6/release/linuxtech.repo //我试了3次才下载下来 # ...

  9. centos7源码安装Apache及Tomcat

    源码安装Apache (1) 一.通过 https://apr.apache.org/  下载 APR 和 APR-util 通过 http://httpd.apache.org/download.c ...

随机推荐

  1. SQL入门语句之ORDER BY 和GROUP BY

    一.SQL入门语句之ORDER BY ORDER BY 是用来基于一个或多个列按升序或降序顺序排列数据 1.从数据库表获取全部数据按字段A的升序排列 select *from table_name o ...

  2. Word2vec 模型载入(tensorflow)

    opts = Options() with tf.Graph().as_default(), tf.Session() as session: model = Word2Vec(opts, sessi ...

  3. [生活日记]参与unity非游戏行业开发者大会小结

    今天下午花了半天时间公司全体都去人民广场参与了一个unity非游戏行业开发者大会,主要了解到unity这款全球顶尖之一的游戏引擎的一个发展史,从05年三个美国人技术研发开始,一直到12年开始引进中国, ...

  4. LightOJ1126 Building Twin Towers(DP)

    题目 Source http://www.lightoj.com/volume_showproblem.php?problem=1126 Description Professor Sofdor Al ...

  5. android PreferenceFragment

    初始化: public SettingPreferenceFragment() { } public void setArguments(Bundle bundle){ String targetId ...

  6. Ubuntu install Docker

    首先需要说明的是,根据Docker的官方文档,Docker的安装必须在64位的机子上.这里只说明Ubuntu 14.04与16.04,我成功安装成功过Ubuntu 14.04,16.04还没有测试过, ...

  7. [LintCode] Reverse Words in a String 翻转字符串中的单词

    Given an input string, reverse the string word by word. For example,Given s = "the sky is blue& ...

  8. Ubuntu系统的安装与使用 深度音乐播放器

    1.添加深度音乐播放器的ppa源并更新源缓存 sudo add-apt-repository ppa:noobslab/deepin-sc  sudo apt-get update 2. 安装需要的依 ...

  9. 浅谈WebLogic和Tomcat

    J2ee开发主要是浏览器和服务器进行交互的一种结构.逻辑都是在后台进行处理,然后再把结果传输回给浏览器.可以看出服务器在这种架构是非常重要的. 这几天接触到两种Java的web服务器,做项目用的Tom ...

  10. shFlags简介

    看到有脚本中使用了shFlags,于是google了一下,发现还是个挺方便的东西. https://github.com/kward/shflags/wiki/Documentation12x sha ...