https://github.com/longsleep/libvdpau-sunxi
Debian packaging for experimental VDPAU for Allwinner sunxi SoCs
https://github.com/longsleep/libvdpau-sunxi
Last synced: over 1 year ago
JSON representation
Debian packaging for experimental VDPAU for Allwinner sunxi SoCs
- Host: GitHub
- URL: https://github.com/longsleep/libvdpau-sunxi
- Owner: longsleep
- Created: 2016-05-01T19:52:03.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2016-05-01T20:24:23.000Z (over 10 years ago)
- Last Synced: 2025-04-11T21:14:43.607Z (over 1 year ago)
- Language: C
- Homepage: https://linux-sunxi.org/Cedrus
- Size: 269 KB
- Stars: 2
- Watchers: 3
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README
Awesome Lists containing this project
README
This is an experimental VDPAU implementation for sunxi SoCs.
It supports decoding of MPEG1 and MPEG2, some limited MPEG4 types,
H.264 and on H3/A64 it also decodes H.265.
Requirements:
libvdpau >= 1.1
libcedrus (https://github.com/linux-sunxi/libcedrus)
pixman (http://www.pixman.org)
Installation:
$ make
$ make install
Usage:
$ export VDPAU_DRIVER=sunxi
$ mpv --vo=vdpau --hwdec=vdpau --hwdec-codecs=all [filename]
Note: Make sure that you have write access to both /dev/disp and /dev/cedar_dev
Limitations:
Output bypasses X video driver by opening own disp layers.
You can't use Xv from fbturbo at the same time, and on H3 the video is
always on top and can't be overlapped by other windows.
OSD Support (not available on H3):
To enable OSD support for e.g. subtitles, set VDPAU_OSD environment
variable to 1:
$ export VDPAU_OSD=1
To disable G2D mixer processor usage, set VDPAU_DISABLE_G2D environment
variable to 1:
$ export VDPAU_DISABLE_G2D=1
This partly breaks X11 integration due to hardware limitations. The video
area can't be overlapped by other windows. For fullscreen use this is no
problem.