Is it possible to play video with gpu acceleration?


(badger) #1

Hello. I have a BPI-R1 and, after trying tons of OSs, I can’t manage to simply play videos at a good speed and full screen.

Is it possible on this board? if so, what’s the best route and OS to use? I’d like to use this computer as a media center.


(Igor) #2

Of course it is:

https://www.armbian.com/lamobo-r1/

but since we don’t provide desktop image, you need to use images for normal Banana:

https://www.armbian.com/banana-pi/

or build on your own from sources:

Video accleration works with Legacy kernel and prebuild mpv player, youtubedl, etc. only. It’s possible on others too but you need to recompile which is not a trivial task.


(badger) #3

Thank you! I have installed the Armbian ubuntu legacy. Now I can play videos but not at full screen.

I’ve tried with mpv, smplayer and mplayer. Only with mplayer I can play videos at good speed but not at full screen… I’ve installed vdpau full drivers package but I can’t play video selecting this video driver.

Please, can you help me?


(Igor) #4

You can only use preinstalled mpv player otherwise you need to recompile players and I don’t know if they work. Preinstalled mpv works, also full screen.


(badger) #5

I have installed a fresh Desktop Legacy 3.4.113 Ubuntu Xenial from https://www.armbian.com/banana-pi/ and when I try to play a video I get this error:

m@bananapi:~$ mpv lazy-dachshund.mov
Playing: lazy-dachshund.mov
 (+) Video --vid=1 (*) (h264)
 (+) Audio --aid=1 --alang=und (*) (aac)
Failed to open VDPAU backend libvdpau_sunxi.so: cannot open shared object file: No such file or directory
[vo/vdpau] Error when calling vdp_device_create_x11: 1
Error opening/initializing the selected video_out (-vo) device.
Video: no video
AO: [pulse] 44100Hz mono 1ch float
A: 00:00:08 / 00:00:09 (88%)

I have not used apt, I only used preinstalled software (wget and mpv)


(Igor) #6

Than we have some problem with latest build, get some older version or wait we fix it.


(badger) #7

Thank you so much. It works with Armbian 5.24 Ubuntu Xenial


(Isa) #8

Hi,

Does this (gpu acceleration) also work for Android?