klode82 Posted August 7, 2019 Share Posted August 7, 2019 Armbianmonitor: http://ix.io/1QQH I need to use VideoLAN VLC on my Pine64, with Armbian Buster. When I play an H264 mkv video, I got images too slow, and then it stops (like freeze). I think there is no hardware acceleration. When I start with mpv through the command: export VDPAU_DRIVER=sunxi mpv --vo=vpdau --hwdec=vdpau --hwdec-codecs=all filename.mp4 I got this: Playing: test.mkv (+) Video --vid=1 (*) (f) 'TST' (h264 1920x1080 23.976fps) (+) Audio --aid=1 --alang=eng (*) (f) 'ENG EAC-3 6ch @640kb/s' (eac3 6ch 48000Hz) (+) Subs --sid=1 --slang=eng (*) (f) 'ENG FORCED' (subrip) Subs --sid=2 --slang=eng 'ENG FULL' (subrip) File tags: Title: test [vo/vdpau] Error when calling vdp_device_create_x11: 25 Error opening/initializing the selected video_out (--vo) device. Video: no video How can I play an H264 video well? I need it for laboratory and classroom using a projector for programming learning. Link to comment Share on other sites More sharing options...
ning Posted August 7, 2019 Share Posted August 7, 2019 mainline kernel doesn't support VDPAU video acceleration, it uses libva. please check: http://linux-sunxi.org/Sunxi-Cedrus if you want to use VDPAU, please download legacy image with kernel 3.14. Link to comment Share on other sites More sharing options...
klode82 Posted August 7, 2019 Author Share Posted August 7, 2019 Ok, so I can try with libva. Trying to compile the libva_v4l2_request, I got this error: Error on compiling libva_v4l2_request Can you help me? Link to comment Share on other sites More sharing options...
ning Posted August 8, 2019 Share Posted August 8, 2019 please update/recompile libva to latest github release. Link to comment Share on other sites More sharing options...
klode82 Posted August 8, 2019 Author Share Posted August 8, 2019 thanks @ning, I've found this repo: https://github.com/intel/libva Is this the right library to recompile? Link to comment Share on other sites More sharing options...
Recommended Posts