jerryn Posted December 11, 2018 Posted December 11, 2018 (edited) I made a custom Plex Media Player build that leverages the decent performance we get with the fbdev/dri driver. I tested Rockchip MPP gstreamer plugin. The Rockchip Hardware VPU is very basic, it breaks with mkv playback, so I decided to use ffmpeg software decoding since it's extremely robust. Also 1080p playback through DRI isn't too shabby!. If you want 4k video then you need to contact Rockchip. They seem to be overwhelmed or not interested in bringing 4k support to Linux. I built a .deb package that will install plexmediaplayer to /usr/local. No worries about installing to somewhere and clobbering an official library or package. Official Armbian dependencies will be installed to the proper location. The plexmedia web-client will be installed to /usr/local/share/plexmediaplayer, the Qt5 binary will be installed to /usr/local/bin/plexmediaplayer install with: gdebi plex-media-player-install.deb remove with: apt-get remove plex-media-player-installer To fix the installer package I basically reflashed my NanoPC-T4 with a clean Armbian image, printed out the errors. Updated the Debian control file with all the proper dependencies. Here's the binary install package. If you get a dependency error you can use the --ignore-depends dpkg argument and resolve after the install. The files are installed in an easy location to clean up. plex-media-player-install.deb Edited December 15, 2018 by jerryn Fixed the installer package, performed testing on a clean image. This is now ready to install 2
Seasalt Posted December 11, 2018 Posted December 11, 2018 10 hours ago, jerryn said: I made a custom Plex Media Player build that leverages the decent performance we get with the fbdev/dri driver. Fantastic. I am downloading it now and will install tomorrow. I am having trouble playing x265 on my M4 Bionic armbian. Seasalt
NicoD Posted December 11, 2018 Posted December 11, 2018 18 hours ago, jerryn said: install with: dpkg -i plex-media-player-install.deb Hi. I`ve tried it on Armbian Bionic on the M4 but it didn`t work. Here`s what I did. nicod@nanopim4:~$ cd Downloads/ nicod@nanopim4:~/Downloads$ sudo dpkg -i plex-media-player-install.deb [sudo] password for nicod: dpkg: error processing archive plex-media-player-install.deb (--install): package architecture (aarch64) does not match system (arm64) Errors were encountered while processing: plex-media-player-install.deb nicod@nanopim4:~/Downloads$ sudo dpkg --add-architecture aarch64 nicod@nanopim4:~/Downloads$ sudo dpkg -i plex-media-player-install.deb Selecting previously unselected package plex-media-player-installer:aarch64. (Reading database ... 108720 files and directories currently installed.) Preparing to unpack plex-media-player-install.deb ... Unpacking plex-media-player-installer:aarch64 (1.0) ... dpkg: dependency problems prevent configuration of plex-media-player-installer:aarch64: plex-media-player-installer:aarch64 depends on libharfbuzz. plex-media-player-installer:aarch64 depends on libfreetype6. plex-media-player-installer:aarch64 depends on libfontconfig1. plex-media-player-installer:aarch64 depends on libx11. plex-media-player-installer:aarch64 depends on libxrandr. plex-media-player-installer:aarch64 depends on libvdpau. plex-media-player-installer:aarch64 depends on libva. plex-media-player-installer:aarch64 depends on mesa-common-dev. plex-media-player-installer:aarch64 depends on libegl1-mesa. plex-media-player-installer:aarch64 depends on libasound2. plex-media-player-installer:aarch64 depends on libpulse. plex-media-player-installer:aarch64 depends on libuchardet. plex-media-player-installer:aarch64 depends on zlib1g. plex-media-player-installer:aarch64 depends on libfribidi. plex-media-player-installer:aarch64 depends on libgnutls. plex-media-player-installer:aarch64 depends on libgl1-mesa. plex-media-player-installer:aarch64 depends on libsdl2. plex-media-player-installer:aarch64 depends on qt5-default. plex-media-player-installer:aarch64 depends on libqt5webkit5. plex-media-player-installer:aarch64 depends on qtlocation5. plex-media-player-installer:aarch64 depends on qtsensors5. plex-media-player-installer:aarch64 depends on qtdeclarative5. plex-media-player-installer:aarch64 depends on libsqlite3. plex-media-player-installer:aarch64 depends on libqt5webchannel5. plex-media-player-installer:aarch64 depends on libqt5webengine-data. plex-media-player-installer:aarch64 depends on libqt5webengine5. plex-media-player-installer:aarch64 depends on libqt5webenginecore5. plex-media-player-installer:aarch64 depends on libqt5webenginewidgets5. plex-media-player-installer:aarch64 depends on libqt5widgets5. plex-media-player-installer:aarch64 depends on libqt5x11extras5. plex-media-player-installer:aarch64 depends on libqt5multimedia5. plex-media-player-installer:aarch64 depends on libqt5multimedia5-plugins. plex-media-player-installer:aarch64 depends on libqt5multimediaquick-p5. plex-media-player-installer:aarch64 depends on libqt5multimediawidgets5. plex-media-player-installer:aarch64 depends on libqt5network5. plex-media-player-installer:aarch64 depends on libqt5opengl5. plex-media-player-installer:aarch64 depends on libqt5positioning5. plex-media-player-installer:aarch64 depends on libqt5positioning5-plugins. plex-media-player-installer:aarch64 depends on mvp. dpkg: error processing package plex-media-player-installer:aarch64 (--install): dependency problems - leaving unconfigured Errors were encountered while processing: plex-media-player-installer:aarch64 Any idea?
jerryn Posted December 11, 2018 Author Posted December 11, 2018 Yep.. I am using uname -a to get the architecture type. I get aarch64. I will rebuild with arm64 and post it. It should be posted within the hour 1
jerryn Posted December 11, 2018 Author Posted December 11, 2018 Please open a console and run: uname -a
NicoD Posted December 11, 2018 Posted December 11, 2018 2 minutes ago, jerryn said: Please open a console and run: uname -a nicod@nanopim4:~/Downloads$ uname -a Linux nanopim4 4.4.162-rk3399 #41 SMP Fri Oct 26 14:03:47 CEST 2018 aarch64 aarch64 aarch64 GNU/Linux
jerryn Posted December 11, 2018 Author Posted December 11, 2018 I have a habbit or relying on uname -a to get me the correct architecture package type. Try this, I set it to arm64.
NicoD Posted December 11, 2018 Posted December 11, 2018 I`m having now also having unmet dependencies: nicod@nanopim4:~/Downloads$ sudo apt update Hit:1 http://ports.ubuntu.com bionic InRelease Hit:2 http://ports.ubuntu.com bionic-security InRelease Hit:3 http://ports.ubuntu.com bionic-updates InRelease Hit:4 http://ports.ubuntu.com bionic-backports InRelease Ign:6 http://repo.vivaldi.com/snapshot/deb stable InRelease Hit:7 http://repo.vivaldi.com/snapshot/deb stable Release Hit:5 https://apt.armbian.com bionic InRelease Reading package lists... Done Building dependency tree Reading state information... Done 45 packages can be upgraded. Run 'apt list --upgradable' to see them. N: Skipping acquire of configured file 'main/binary-aarch64/Packages' as repository 'http://ports.ubuntu.com bionic InRelease' doesn't support architecture 'aarch64' N: Skipping acquire of configured file 'restricted/binary-aarch64/Packages' as repository 'http://ports.ubuntu.com bionic InRelease' doesn't support architecture 'aarch64' N: Skipping acquire of configured file 'universe/binary-aarch64/Packages' as repository 'http://ports.ubuntu.com bionic InRelease' doesn't support architecture 'aarch64' N: Skipping acquire of configured file 'multiverse/binary-aarch64/Packages' as repository 'http://ports.ubuntu.com bionic InRelease' doesn't support architecture 'aarch64' N: Skipping acquire of configured file 'main/binary-aarch64/Packages' as repository 'http://ports.ubuntu.com bionic-security InRelease' doesn't support architecture 'aarch64' N: Skipping acquire of configured file 'restricted/binary-aarch64/Packages' as repository 'http://ports.ubuntu.com bionic-security InRelease' doesn't support architecture 'aarch64' N: Skipping acquire of configured file 'universe/binary-aarch64/Packages' as repository 'http://ports.ubuntu.com bionic-security InRelease' doesn't support architecture 'aarch64' N: Skipping acquire of configured file 'multiverse/binary-aarch64/Packages' as repository 'http://ports.ubuntu.com bionic-security InRelease' doesn't support architecture 'aarch64' N: Skipping acquire of configured file 'main/binary-aarch64/Packages' as repository 'http://ports.ubuntu.com bionic-updates InRelease' doesn't support architecture 'aarch64' N: Skipping acquire of configured file 'restricted/binary-aarch64/Packages' as repository 'http://ports.ubuntu.com bionic-updates InRelease' doesn't support architecture 'aarch64' N: Skipping acquire of configured file 'universe/binary-aarch64/Packages' as repository 'http://ports.ubuntu.com bionic-updates InRelease' doesn't support architecture 'aarch64' N: Skipping acquire of configured file 'multiverse/binary-aarch64/Packages' as repository 'http://ports.ubuntu.com bionic-updates InRelease' doesn't support architecture 'aarch64' N: Skipping acquire of configured file 'main/binary-aarch64/Packages' as repository 'http://ports.ubuntu.com bionic-backports InRelease' doesn't support architecture 'aarch64' N: Skipping acquire of configured file 'restricted/binary-aarch64/Packages' as repository 'http://ports.ubuntu.com bionic-backports InRelease' doesn't support architecture 'aarch64' N: Skipping acquire of configured file 'universe/binary-aarch64/Packages' as repository 'http://ports.ubuntu.com bionic-backports InRelease' doesn't support architecture 'aarch64' N: Skipping acquire of configured file 'multiverse/binary-aarch64/Packages' as repository 'http://ports.ubuntu.com bionic-backports InRelease' doesn't support architecture 'aarch64' N: Skipping acquire of configured file 'main/binary-arm64/Packages' as repository 'http://repo.vivaldi.com/snapshot/deb stable InRelease' doesn't support architecture 'arm64' N: Skipping acquire of configured file 'main/binary-aarch64/Packages' as repository 'http://repo.vivaldi.com/snapshot/deb stable InRelease' doesn't support architecture 'aarch64' N: Skipping acquire of configured file 'main/binary-aarch64/Packages' as repository 'http://apt.armbian.com bionic InRelease' doesn't support architecture 'aarch64' N: Skipping acquire of configured file 'bionic-utils/binary-aarch64/Packages' as repository 'http://apt.armbian.com bionic InRelease' doesn't support architecture 'aarch64' N: Skipping acquire of configured file 'bionic-desktop/binary-aarch64/Packages' as repository 'http://apt.armbian.com bionic InRelease' doesn't support architecture 'aarch64' nicod@nanopim4:~/Downloads$ sudo dpkg -r plex-media-player-install dpkg: warning: ignoring request to remove plex-media-player-install which isn't installed It`s just a test image so no problem
jerryn Posted December 11, 2018 Author Posted December 11, 2018 Did the new package install ? Or do I need to roll back my deb file back to aarch64 ?
NicoD Posted December 11, 2018 Posted December 11, 2018 Just now, jerryn said: Did the new package install ? Or do I need to roll back my deb file back to aarch64 ? One moment, I'm going an upgrade first, was some time ago I used this image.
jerryn Posted December 11, 2018 Author Posted December 11, 2018 I'm pretty sure I can boot and run my nanopc-t4 from an sd image wihout wiping out my eMMC/NVMe install. I can test too. I'll do that after supper.
NicoD Posted December 11, 2018 Posted December 11, 2018 Again many dependency problems nicod@nanopim4:~/Downloads$ sudo dpkg -i plex-media-player-install.deb Selecting previously unselected package plex-media-player-installer. (Reading database ... 108734 files and directories currently installed.) Preparing to unpack plex-media-player-install.deb ... Unpacking plex-media-player-installer (1.0) ... dpkg: dependency problems prevent configuration of plex-media-player-installer: plex-media-player-installer depends on libharfbuzz; however: Package libharfbuzz is not installed. plex-media-player-installer depends on libx11; however: Package libx11 is not installed. plex-media-player-installer depends on libxrandr; however: Package libxrandr is not installed. plex-media-player-installer depends on libvdpau; however: Package libvdpau is not installed. plex-media-player-installer depends on libva; however: Package libva is not installed. plex-media-player-installer depends on mesa-common-dev; however: Package mesa-common-dev is not installed. plex-media-player-installer depends on libpulse; however: Package libpulse is not installed. plex-media-player-installer depends on libuchardet; however: Package libuchardet is not installed. plex-media-player-installer depends on libfribidi; however: Package libfribidi is not installed. plex-media-player-installer depends on libgnutls; however: Package libgnutls is not installed. plex-media-player-installer depends on libgl1-mesa; however: Package libgl1-mesa is not installed. plex-media-player-installer depends on libsdl2; however: Package libsdl2 is not installed. plex-media-player-installer depends on qt5-default; however: Package qt5-default is not installed. plex-media-player-installer depends on qtlocation5; however: Package qtlocation5 is not installed. plex-media-player-installer depends on qtsensors5; however: Package qtsensors5 is not installed. plex-media-player-installer depends on qtdeclarative5; however: Package qtdeclarative5 is not installed. plex-media-player-installer depends on libsqlite3; however: Package libsqlite3 is not installed. plex-media-player-installer depends on libqt5webengine-data; however: Package libqt5webengine-data is not installed. plex-media-player-installer depends on libqt5webengine5; however: Package libqt5webengine5 is not installed. plex-media-player-installer depends on libqt5webenginecore5; however: Package libqt5webenginecore5 is not installed. plex-media-player-installer depends on libqt5webenginewidgets5; however: Package libqt5webenginewidgets5 is not installed. plex-media-player-installer depends on libqt5multimedia5; however: Package libqt5multimedia5 is not installed. plex-media-player-installer depends on libqt5multimedia5-plugins; however: Package libqt5multimedia5-plugins is not installed. plex-media-player-installer depends on libqt5multimediaquick-p5; however: Package libqt5multimediaquick-p5 is not installed. plex-media-player-installer depends on libqt5multimediawidgets5; however: Package libqt5multimediawidgets5 is not installed. plex-media-player-installer depends on libqt5opengl5; however: Package libqt5opengl5 is not installed. plex-media-player-installer depends on libqt5positioning5-plugins; however: Package libqt5positioning5-plugins is not installed. plex-media-player-installer depends on mvp; however: Package mvp is not installed. dpkg: error processing package plex-media-player-installer (--install): dependency problems - leaving unconfigured Errors were encountered while processing: plex-media-player-installer
NicoD Posted December 11, 2018 Posted December 11, 2018 When I try to install them manually: nicod@nanopim4:~/Downloads$ sudo apt install libharfbuzz libx11 Reading package lists... Done Building dependency tree Reading state information... Done Package libharfbuzz is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source Package libx11 is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source E: Package 'libharfbuzz' has no installation candidate E: Package 'libx11' has no installation candidate A missing repo maybe?
jerryn Posted December 11, 2018 Author Posted December 11, 2018 I have the latest stable Armbian release. I will boot my NanoPC-T4 on an SD and install the package on the SD image. Hopefully I will run into the same problem and fix it. I will look at this soon. Thanks for trying
NicoD Posted December 11, 2018 Posted December 11, 2018 4 hours ago, jerryn said: I have the latest stable Armbian release. I will boot my NanoPC-T4 on an SD and install the package on the SD image. Hopefully I will run into the same problem and fix it. I will look at this soon. Thanks for trying Thank you for wanting to do this. I`m going to sleep, I`ll see tomorrow if it worked for you. Thanks
jerryn Posted December 12, 2018 Author Posted December 12, 2018 No problem. I just booted into an Armbian SD image. I'll see if I run into errors. Actually I should of tested like this before I posted the archive.
jerryn Posted December 12, 2018 Author Posted December 12, 2018 I'm going to test with the current stable armbian image and update this thread when done. 2
jerryn Posted December 15, 2018 Author Posted December 15, 2018 Ok everybody. When you install the plex-media-player-install.deb package, use gdebi I did a lot of testing on a new clean Armbian image. If you test it please let me know if it works for you. I tested with remote and local plex servers. The installer created an entry in the Applications/Multimedia Menu. Run Plex from there. To exit hit escape. All CEC commands should work. Esc is Exit from full screen video playback back to plex.
Jason Fisher Posted March 27, 2019 Posted March 27, 2019 I need this in my armhf life. Can you share the ./configure setups you used?
Recommended Posts