login|Register
Forum > Device drivers(GPU&VPU)
Post|
看27849|回11|Favorite
jacer 看全部
2015-12-24 23:18:28
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:

  1. cd ~
  2. wget https://launchpadlibrarian.net/216166259/libvdpau-dev_1.1-1ubuntu1_armhf.deb
  3. wget https://launchpadlibrarian.net/216166260/libvdpau1_1.1-1ubuntu1_armhf.deb
  4. git clone https://github.com/linux-sunxi/libvdpau-sunxi.git
  5. sudo dpkg -i *.deb
  6. cd libvdpau-sunxi
  7. make
  8. sudo make install
  9. sudo ln -s /usr/lib/arm-linux-gnueabihf/vdpau/libvdpau_sunxi.so.1 /usr/lib/libvdpau_nvidia.so

code:

  1. 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:

  1. KERNEL=="disp", MODE="0660", GROUP="video"

code:

  1. 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:

  1. KERNEL=="ion", MODE="0660", GROUP="video"

code:

  1. 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:

  1. KERNEL=="cedar_dev", MODE="0660", GROUP="video"

code:

  1. sudo usermod -a -G video $USER
Compile and install mpv or install compiled from below link.

code:

  1. sudo apt-get install libgme0 libopenal1 libopencore-amrnb0 libopencore-amrwb0 librubberband2 libsoxr0 libssh-4 libuchardet0 libvo-aacenc0 libvo-amrwbenc0
  2. wget http://ftp.us.debian.org/debian/pool/main/libj/libjpeg-turbo/libjpeg62-turbo_1.3.1-12_armhf.deb
  3. sudo dpkg -i libjpeg62*.deb

code:

  1. wget http://ftp.us.debian.org/debian/pool/main/g/gnutls28/libgnutls-deb0-28_3.3.19-1_armhf.deb
  2. wget http://ftp.us.debian.org/debian/pool/main/l/lcms2/liblcms2-2_2.6-3+b3_armhf.deb
  3. wget http://ftp.us.debian.org/debian/pool/main/o/openjpeg/libopenjpeg5_1.5.2-3_armhf.deb
  4. wget http://ftp.us.debian.org/debian/pool/main/t/twolame/libtwolame0_0.3.13-1.1_armhf.deb
  5. wget http://ftp.us.debian.org/debian/pool/main/libv/libva/libva-x11-1_1.4.1-1_armhf.deb
  6. wget http://ftp.us.debian.org/debian/pool/main/libv/libva/libva1_1.4.1-1_armhf.deb
  7. wget http://ftp.us.debian.org/debian/pool/main/g/gmp/libgmp10_6.0.0+dfsg-6_armhf.deb
  8. wget http://ftp.us.debian.org/debian/pool/main/n/nettle/libhogweed4_3.1.1-4_armhf.deb
  9. wget http://ftp.us.debian.org/debian/pool/main/n/nettle/libnettle6_3.1.1-4_armhf.deb
  10. wget http://ftp.us.debian.org/debian/pool/main/p/p11-kit/libp11-kit0_0.20.7-1_armhf.deb
  11. wget http://ftp.us.debian.org/debian/pool/main/libt/libtasn1-6/libtasn1-6_4.7-2_armhf.deb
  12. wget http://ftp.us.debian.org/debian/pool/main/s/samba/libsmbclient_4.1.17+dfsg-2_armhf.deb
  13. wget http://ftp.us.debian.org/debian/pool/main/libb/libbsd/libbsd0_0.7.0-2_armhf.deb
  14. wget http://ftp.us.debian.org/debian/pool/main/t/talloc/libtalloc2_2.1.1-2_armhf.deb
  15. wget http://ftp.us.debian.org/debian/pool/main/s/samba/samba-libs_4.1.17+dfsg-2_armhf.deb
  16. wget http://ftp.us.debian.org/debian/pool/main/l/ldb/libldb1_1.1.17-2_armhf.deb
  17. wget http://ftp.us.debian.org/debian/pool/main/n/ntdb/libntdb1_1.0-5_armhf.deb
  18. wget http://ftp.us.debian.org/debian/pool/main/t/tevent/libtevent0_0.9.21-1_armhf.deb
  19. wget http://ftp.us.debian.org/debian/pool/main/s/samba/libwbclient0_4.1.17+dfsg-2_armhf.deb
  20. wget http://ftp.us.debian.org/debian/pool/main/t/talloc/python-talloc_2.1.1-2_armhf.deb
  21. sudo apt-get remove libnettle4
  22. sudo dpkg -i *.deb

mpv 0.13 or mpv 0.13 fritz compiled version

code:

  1. sudo dpkg -i mpv_0.13.0_armhf.deb

code:

  1. sudo reboot
  2. export VDPAU_DRIVER=sunxi
All done. You just right click a video file and press mpv Media Player to enjoy your time.
adheybgz 看全部
2015-12-26 13:33:17
u did good , but the subtitle it don't work somehow. *.srt and *.ass no luck, can u give  direction ?
jacer 看全部
2015-12-26 14:31:25

quote:

adheybgz replied at 2015-12-26 13:33
u did good , but the subtitle it don't work somehow. *.srt and *.ass no luck, can u give  direction  ...

Use SMplayer.
john0815 看全部
2015-12-26 15:37:35
Edited by john0815 at 2015-12-26 15:45

librubberband2 is not found when I want to install it

and
sudo dpgk -i libjpeg62*.deb

should be changed in

sudo dpkg -i libjpeg62*.deb

and
I get the following message:
dpkg -i mpv_0.13.0_armhf.deb
(Datenbank wird gelesen … 146481 Dateien und Verzeichnisse sind derzeit installiert.)
Vorbereitung zum Entpacken von mpv_0.13.0_armhf.deb ...
mpv (1:0.13.0) über (0.9.2-1ubuntu2) wird entpackt …
dpkg: Abhängigkeitsprobleme verhindern Konfiguration von mpv:
mpv hängt ab von libgcrypt11 (>= 1.4.5); aber:
  Paket libgcrypt11 ist nicht installiert.
mpv hängt ab von libgnutls26 (>= 2.12.17-0); aber:
  Paket libgnutls26 ist nicht installiert.
mpv hängt ab von libopenjpeg2; aber:
  Paket libopenjpeg2 ist nicht installiert.
mpv hängt ab von librubberband2; aber:
  Paket librubberband2 ist nicht installiert.
mpv hängt ab von libvpx1 (>= 1.3.0); aber:
  Paket libvpx1:armhf ist nicht installiert.
mpv hängt ab von libx264-142; aber:
  Paket libx264-142:armhf ist nicht installiert.

dpkg: Fehler beim Bearbeiten des Paketes mpv (--install):
Abhängigkeitsprobleme - verbleibt unkonfiguriert
Trigger für desktop-file-utils (0.22-1ubuntu3) werden verarbeitet ...
Trigger für mime-support (3.58ubuntu1) werden verarbeitet ...
Trigger für hicolor-icon-theme (0.15-0ubuntu1) werden verarbeitet ...
Trigger für man-db (2.7.4-1) werden verarbeitet ...
Fehler traten auf beim Bearbeiten von:
mpv


fritz 看全部
2015-12-26 21:06:30
@jacer
If you do a:

quote:

sudo ln -s /usr/lib/arm-linux-gnueabihf/vdpau/libvdpau_sunxi.so.1 /usr/lib/libvdpau_nvidia.so


then you don't need anymore to export VDPAU_DRIVER:

quote:

export VDPAU_DRIVER=sunxi


@john0815
Which debian version you use and which mpv package you try to install?

123NextPage

OrangePi En

Powered by Discuz! X3.4

homepage|Simple edition|Touch edition|PC