树莓派编译安装硬件加速VLC

源地址 https://www.raspberrypi.org/forums/viewtopic.php?f=66&t=59814

仅支持树莓派2&3

准备步骤

如果以前安装过VLC,请将其卸载。

正式开始

下载并解压

wget http://download.videolan.org/vlc/2.2.5.1/vlc-2.2.5.1.tar.xz 

tar -xJf vlc-2.2.5.1.tar.xz

wget http://download.videolan.org/vlc/2.2.5.1/vlc-2.2.5.1.tar.xz

tar -xJf vlc-2.2.5.1.tar.xz

安装依赖

sudo apt-get update sudo apt-get install autopoint gettext liba52-0.7.4-dev libaa1-dev libasound2-dev libass-dev libavahi-client-dev libavc1394-dev libavcodec-dev libavformat-dev libbluray-dev libcaca-dev libcddb2-dev libcdio-dev libchromaprint-dev libdbus-1-dev libdc1394-22-dev libdca-dev libdirectfb-dev libdvbpsi-dev libdvdnav-dev libdvdread-dev libegl1-mesa-dev libfaad-dev libflac-dev libfluidsynth-dev libfreerdp-dev libfreetype6-dev libfribidi-dev libgl1-mesa-dev libgles1-mesa-dev libgles2-mesa-dev libgnutls28-dev libgtk2.0-dev libidn11-dev libiso9660-dev libjack-jackd2-dev libkate-dev liblircclient-dev liblivemedia-dev liblua5.2-dev libmad0-dev libmatroska-dev libmodplug-dev libmpcdec-dev libmpeg2-4-dev libmtp-dev libncursesw5-dev libnotify-dev libogg-dev libomxil-bellagio-dev libopus-dev libpng12-dev libpulse-dev libqt4-dev libraw1394-dev libresid-builder-dev librsvg2-dev libsamplerate0-dev libschroedinger-dev libsdl-image1.2-dev libsdl1.2-dev libshine-dev libshout3-dev libsidplay2-dev libsmbclient-dev libspeex-dev libspeexdsp-dev libssh2-1-dev libswscale-dev libtag1-dev libtheora-dev libtwolame-dev libudev-dev libupnp-dev libv4l-dev libva-dev libvcdinfo-dev libvdpau-dev libvncserver-dev libvorbis-dev libx11-dev libx264-dev libxcb-composite0-dev libxcb-keysyms1-dev libxcb-randr0-dev libxcb-shm0-dev libxcb-xv0-dev libxcb1-dev libxext-dev libxinerama-dev libxml2-dev libxpm-dev libzvbi-dev lua5.2 oss4-dev pkg-config zlib1g-dev libtool build-essential autoconf


sudo apt-get update

开始编译

cd vlc-2.2.5.1 
./bootstrap CFLAGS="-I/opt/vc/include/ -I/opt/vc/include/interface/vcos/pthreads -I/opt/vc/include/interface/vmcs_host/linux -I/opt/vc/include/interface/mmal -I/opt/vc/include/interface/vchiq_arm -I/opt/vc/include/IL -I/opt/vc/include/GLES2 -mfloat-abi=hard -mcpu=cortex-a7 -mfpu=neon-vfpv4" CXXFLAGS="-I/opt/vc/include/ -I/opt/vc/include/interface/vcos/pthreads -I/opt/vc/include/interface/vmcs_host/linux -I/opt/vc/include/interface/mmal -I/opt/vc/include/interface/vchiq_arm -I/opt/vc/include/IL -mfloat-abi=hard -I/opt/vc/include/GLES2 -mcpu=cortex-a7 -mfpu=neon-vfpv4" LDFLAGS="-L/opt/vc/lib" ./configure --prefix=/usr --enable-omxil --enable-omxil-vout --enable-rpi-omxil --disable-mmal-codec --disable-mmal-vout --enable-gles2 
make -j3

cd vlc-2.2.5.1

./bootstrap

CFLAGS="-I/opt/vc/include/ -I/opt/vc/include/interface/vcos/pthreads -I/opt/vc/include/interface/vmcs_host/linux -I/opt/vc/include/interface/mmal -I/opt/vc/include/interface/vchiq_arm -I/opt/vc/include/IL -I/opt/vc/include/GLES2 -mfloat-abi=hard -mcpu=cortex-a7 -mfpu=neon-vfpv4" CXXFLAGS="-I/opt/vc/include/ -I/opt/vc/include/interface/vcos/pthreads -I/opt/vc/include/interface/vmcs_host/linux -I/opt/vc/include/interface/mmal -I/opt/vc/include/interface/vchiq_arm -I/opt/vc/include/IL -mfloat-abi=hard -I/opt/vc/include/GLES2 -mcpu=cortex-a7 -mfpu=neon-vfpv4" LDFLAGS="-L/opt/vc/lib" ./configure --prefix=/usr --enable-omxil --enable-omxil-vout --enable-rpi-omxil --disable-mmal-codec --disable-mmal-vout --enable-gles2

make -j3

最后安装

sudo make install

重要

安装完成后在设置中启用ALSA and bcm2835和OpenMAX IL video output,否则无法使用硬件加速

WPS_Office_2016专业版_专业增强版_多省市党政机关专版序列号

注:本信息均来自互联网,不保证有效性

WPS 2016 Pro Plus序列号(还可以使用2180天):

WUYPK-9FXD2-GYBGB-39CCW-GXXYH

R7AKQ-KLBXV-RNX3F-BPACQ-NQDGE (该序列号来自石家庄人社局)

THUV2-32HH7-6NMHN-PTX7Y-QQCTH(该序列号来自昔阳县政府)

用这个可以激活WPS 2016专业增强版

下载地址

广西:http://wpspro.support.wps.cn/gov/guangxi/

广东:http://wpspro.support.wps.cn/gov/guangdong/

广东珠海:http://wpspro.support.wps.cn/gov/guangdong/zhuhai/ (专业增强版_含VBA)

重庆:http://wpspro.support.wps.cn/gov/chongqing/

重庆巴南:http://wpspro.support.wps.cn/gov/chongqing/banan/ (专业增强版_含VBA,10.8.2.6837)

重庆沙坪坝:http://wpspro.support.wps.cn/gov/chongqing/shapingba/ (10.8.2.6837)

四川:http://wpspro.support.wps.cn/gov/sichuan/

四川成都:http://wpspro.support.wps.cn/gov/sichuan/chengdu/

海南:http://wpspro.support.wps.cn/gov/hainan/

吉林:http://wpspro.support.wps.cn/gov/jilin/

辽宁:http://wpspro.support.wps.cn/gov/liaoning/

黑龙江:http://wpspro.support.wps.cn/gov/heilongjiang/

福建:http://wpspro.support.wps.cn/gov/fujian/

江西:http://wpspro.support.wps.cn/gov/jiangxi/

山东:http://wpspro.support.wps.cn/gov/shandong/

西藏:http://wpspro.support.wps.cn/gov/xizang/

云南:http://wpspro.support.wps.cn/gov/yunnan/ (专业增强版_含VBA,10.8.2.6837)

湖南长沙:http://wpspro.support.wps.cn/gov/hunan/changsha/

湖北武汉:http://wpspro.support.wps.cn/gov/hubei/wuhan/ (专业增强版_含VBA,10.8.2.6837)

中国铁建:http://wpspro.support.wps.cn/enterprise/crcc/