Skip to content

Experimental VDPAU for Allwinner sunxi SoCs (WiP)

Notifications You must be signed in to change notification settings

rofehr/libvdpau-sunxi

 
 

Repository files navigation

This is an experimental VDPAU implementation for sunxi SoCs.

Most features of full VDPAU are missing, only decoding of h264, mpeg1 and
mpeg2 and output of software-decoded videos will work.
Output bypasses X video driver, hence don't try to use Xv
at the same time.
Only tested with mplayer, mpv and vdr. If other players need unimplemented functions,
something will fail.

Build it:

   $ make
   $ make install

   $ export VDPAU_DRIVER=sunxi

To disable OSD support for e.g. subtitles, set VDPAU_NOOSD environment
variable to 1 (OSD enabled by default):
   $ export VDPAU_NOOSD=1

To enable deinterlacer support, set VDPAU_DEINT environment
variable to 1:
   $ export VDPAU_DEINT=1

and then for mplayer:
   $ mplayer -vo vdpau -vc ffmpeg12vdpau,ffh264vdpau, [filename]
or for mpv:
   $ 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
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.
Note: this needs G2D, so make sure that you have write access to /dev/g2d.

About

Experimental VDPAU for Allwinner sunxi SoCs (WiP)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 97.7%
  • Assembly 1.8%
  • Makefile 0.5%