05-01-2016, 04:25 PM
If you are on ubuntu image, then probably use longsleep packages. Otherwise:
Before you start you should have installed gcc, gnumake, autoconf and other development tools.
You will also need pixman header files and shared library installed. As well thedevelopment headers and shared library for vdpau. In debian and ubuntu you can install that using :
sudo apt-get install libvdpau-dev
Then
git clone https://github.com/linux-sunxi/libump.git
cd libump
./configure
make
sudo make install
git clone https://github.com/ssvb/xf86-video-fbturbo.git
cd xf86-video-fbturbo/
./configure --prefix=/usr
make
sudo make install
git clone https://github.com/linux-sunxi/libcedrus.git
cd libcedrus
make
sudo make install
git clone https://github.com/linux-sunxi/libvdpau-sunxi.git
cd libvdpau-sunxi
make
sudo make install
This is my /etc/X11/xorg.conf file:
Section "Device"
Identifier "Allwinner A10/A13 FBDEV"
Driver "fbturbo"
Option "fbdev" "/dev/fb0"
Option "SwapbuffersWait" "true"
EndSection
After that restart x server, or just reboot, and use the mplayer script or flags mentioned earlier in the thread. I was using
VDPAU_DRIVER=sunxi /usr/bin/mplayer -vo vdpau -vc ffmpeg12vdpau,ffh264vdpau,ffhevcvdpau, some_file.avi
for playback.
Before you start you should have installed gcc, gnumake, autoconf and other development tools.
You will also need pixman header files and shared library installed. As well thedevelopment headers and shared library for vdpau. In debian and ubuntu you can install that using :
sudo apt-get install libvdpau-dev
Then
git clone https://github.com/linux-sunxi/libump.git
cd libump
./configure
make
sudo make install
git clone https://github.com/ssvb/xf86-video-fbturbo.git
cd xf86-video-fbturbo/
./configure --prefix=/usr
make
sudo make install
git clone https://github.com/linux-sunxi/libcedrus.git
cd libcedrus
make
sudo make install
git clone https://github.com/linux-sunxi/libvdpau-sunxi.git
cd libvdpau-sunxi
make
sudo make install
This is my /etc/X11/xorg.conf file:
Section "Device"
Identifier "Allwinner A10/A13 FBDEV"
Driver "fbturbo"
Option "fbdev" "/dev/fb0"
Option "SwapbuffersWait" "true"
EndSection
After that restart x server, or just reboot, and use the mplayer script or flags mentioned earlier in the thread. I was using
VDPAU_DRIVER=sunxi /usr/bin/mplayer -vo vdpau -vc ffmpeg12vdpau,ffh264vdpau,ffhevcvdpau, some_file.avi
for playback.