01-18-2018, 06:11 PM
(01-16-2018, 05:01 PM)ozcy Wrote:(01-15-2018, 11:15 PM)tllim Wrote:(01-14-2018, 12:11 PM)ozcy Wrote: ...
The video playback using VPU for acceleration, not GPU.
Thank you for the hint tllim... so the right question is then, How I do to enable the VPU or VDPAU in VLC or smplayer? The first program show no screen, the second restart the xserver
Thanks in advance.
Here is the info getting from http://linux-sunxi.org/Cedrus/libvdpau-sunxi:
Playing video
With everything setup properly, it should now be possible to playback hardware accelerated media!
The best test file would be one of the well known sample media's. The big buck bunny is an often used one. http://samplemedia.linaro.org/H264/big_b..._7200K.MP4
Depending if you use mpv or mplayer2, the following options are required. For mplayer2:
mplayer -vo vdpau -vc ffmpeg12vdpau,ffh264vdpau, [filename]
For mpv:
mpv --vo=vdpau --hwdec=vdpau --hwdec-codecs=all [filename]
Note: There have been reports that some mplayer versions in certain repositories are not compiled with vdpau support.
Now you can also try to use other files, but note it has to be mpeg1, mpeg2 or h264 encoded!