Edited by jacer at 2015-12-27 12:35
Here is a guide on install libvdpau-sunxi on Debian and Ubuntu for OPI-PC, OPI-Plus/OPI-Plus2, OPI-2/mini 2.
Open terminal and input below commands.
code:
- cd ~
- wget https://launchpadlibrarian.net/216166259/libvdpau-dev_1.1-1ubuntu1_armhf.deb
- wget https://launchpadlibrarian.net/216166260/libvdpau1_1.1-1ubuntu1_armhf.deb
- git clone https://github.com/linux-sunxi/libvdpau-sunxi.git
- sudo dpkg -i *.deb
- cd libvdpau-sunxi
- make
- sudo make install
- sudo ln -s /usr/lib/arm-linux-gnueabihf/vdpau/libvdpau_sunxi.so.1 /usr/lib/libvdpau_nvidia.so
code:
- sudo vi /etc/udev/rules.d/50-disp.rules
Press i then copy and paste below to the blank window, finish with ESC and input :wq to save.
code:
- KERNEL=="disp", MODE="0660", GROUP="video"
code:
- sudo vi /etc/udev/rules.d/50-ion.rules
Press i then copy and paste below to the blank window, finish with ESC and input :wq to save.
code:
- KERNEL=="ion", MODE="0660", GROUP="video"
code:
- sudo vi /etc/udev/rules.d/50-cedar.rules
Press i then copy and paste below to the blank window, finish with ESC and input :wq to save.
code:
- KERNEL=="cedar_dev", MODE="0660", GROUP="video"
code:
- sudo usermod -a -G video $USER
Compile and install mpv or install compiled from below link.
code:
- sudo apt-get install libgme0 libopenal1 libopencore-amrnb0 libopencore-amrwb0 librubberband2 libsoxr0 libssh-4 libuchardet0 libvo-aacenc0 libvo-amrwbenc0
- wget http://ftp.us.debian.org/debian/pool/main/libj/libjpeg-turbo/libjpeg62-turbo_1.3.1-12_armhf.deb
- sudo dpkg -i libjpeg62*.deb
code:
- wget http://ftp.us.debian.org/debian/pool/main/g/gnutls28/libgnutls-deb0-28_3.3.19-1_armhf.deb
- wget http://ftp.us.debian.org/debian/pool/main/l/lcms2/liblcms2-2_2.6-3+b3_armhf.deb
- wget http://ftp.us.debian.org/debian/pool/main/o/openjpeg/libopenjpeg5_1.5.2-3_armhf.deb
- wget http://ftp.us.debian.org/debian/pool/main/t/twolame/libtwolame0_0.3.13-1.1_armhf.deb
- wget http://ftp.us.debian.org/debian/pool/main/libv/libva/libva-x11-1_1.4.1-1_armhf.deb
- wget http://ftp.us.debian.org/debian/pool/main/libv/libva/libva1_1.4.1-1_armhf.deb
- wget http://ftp.us.debian.org/debian/pool/main/g/gmp/libgmp10_6.0.0+dfsg-6_armhf.deb
- wget http://ftp.us.debian.org/debian/pool/main/n/nettle/libhogweed4_3.1.1-4_armhf.deb
- wget http://ftp.us.debian.org/debian/pool/main/n/nettle/libnettle6_3.1.1-4_armhf.deb
- wget http://ftp.us.debian.org/debian/pool/main/p/p11-kit/libp11-kit0_0.20.7-1_armhf.deb
- wget http://ftp.us.debian.org/debian/pool/main/libt/libtasn1-6/libtasn1-6_4.7-2_armhf.deb
- wget http://ftp.us.debian.org/debian/pool/main/s/samba/libsmbclient_4.1.17+dfsg-2_armhf.deb
- wget http://ftp.us.debian.org/debian/pool/main/libb/libbsd/libbsd0_0.7.0-2_armhf.deb
- wget http://ftp.us.debian.org/debian/pool/main/t/talloc/libtalloc2_2.1.1-2_armhf.deb
- wget http://ftp.us.debian.org/debian/pool/main/s/samba/samba-libs_4.1.17+dfsg-2_armhf.deb
- wget http://ftp.us.debian.org/debian/pool/main/l/ldb/libldb1_1.1.17-2_armhf.deb
- wget http://ftp.us.debian.org/debian/pool/main/n/ntdb/libntdb1_1.0-5_armhf.deb
- wget http://ftp.us.debian.org/debian/pool/main/t/tevent/libtevent0_0.9.21-1_armhf.deb
- wget http://ftp.us.debian.org/debian/pool/main/s/samba/libwbclient0_4.1.17+dfsg-2_armhf.deb
- wget http://ftp.us.debian.org/debian/pool/main/t/talloc/python-talloc_2.1.1-2_armhf.deb
- sudo apt-get remove libnettle4
- sudo dpkg -i *.deb
mpv 0.13 or
mpv 0.13 fritz compiled version
code:
- sudo dpkg -i mpv_0.13.0_armhf.deb
code:
- sudo reboot
- export VDPAU_DRIVER=sunxi
All done. You just right click a video file and press mpv Media Player to enjoy your time.