Jeffery Hsu Posted August 22, 2017 Posted August 22, 2017 Hi guys, I am tying to get HW video acceleration to work without a full desktop environment. Right now, I am able to get videos to start to play with startx /usr/bin/mpv --vo=x11 video.mkv. However, the video seems to be software decoded. I have tried startx /usr/bin/mpv --vo=vdpau video.mkv but mpv failed to start with an error message "[vo/vdpau] Error when calling vdp_device_create_x11: 1Error opening/initializing the selected video_out (-vo) device.Video: no videoA0". I have also tried startx /usr/bin/mpv --vo=x11 --hwdec=vdpau video.mkv but the video doesn't seem to be hardware accelerated. Can anyone give me some advice? Thanks!
chwe Posted August 22, 2017 Posted August 22, 2017 Do you use the server image of armbian? Using a desktop image without starting desktop should be a good starting point.
Naguissa Posted August 22, 2017 Posted August 22, 2017 Still not fully accelerated but, why not try at least -vo=xv ?Enviado desde mi Jolla mediante Tapatalk
Jeffery Hsu Posted August 23, 2017 Author Posted August 23, 2017 Hi Naguissa, I just tried -vo-xv. However, it returns the error message of "No Xvideo support found". Doest it mean I am missing something here? Thanks!
Naguissa Posted August 23, 2017 Posted August 23, 2017 Sure, xv is a basic video extensiin from 90´s (I remember had it running in a nvidia tnt card).The full name is XVideo.You may be working with simplest fb driver, as nor xv not gles are enabled.Enviado desde mi Jolla mediante Tapatalk
rellla Posted August 23, 2017 Posted August 23, 2017 Did you try mpv --vo=vdpau --hwdec=vdpau --hwdec-codecs=all according to http://linux-sunxi.org/Cedrus/libvdpau-sunxi? Regards
Recommended Posts