December 04, 2020, 02:15:14 am


Have you visited the Allwinner Chipset wiki? -

Armbian Video Kiosk with mpv on Cubietruck

Started by classdroogies, May 10, 2018, 09:32:35 am

Previous topic - Next topic


May 10, 2018, 09:32:35 am Last Edit: May 11, 2018, 04:30:33 pm by classdroogies

I wrote a tutorial for create basic video kiosk in few year ago and I decided to update this :),879.0.html

I use Armbian with a customized image Ubuntu xenial, with legacy kernel, without desktop packages for minimal fresh installation.

Note video acceleration work only with legacy kernel.

For mainline kernel the development is currently work in progress :

Read the Armbian documentation for build your image.

With this image it's very simple, you must have a few packages :

sudo apt-get install xserver-xorg-core xinit xserver-xorg-video-fbdev xfonts-base libvdpau-sunxi1 nodm mpv

And a fewest configuration :

Add this parameters to /boot/armbianEnv.txt for enable memory reservations


Configure nodm with your user which should be automatically logged in, under /etc/default/nodm file :


Create ~/.xsession to launch mpv

#! /bin/bash
mpv --vo=vdpau --hwdec=vdpau --hwdec-codecs=all --loop=yes /home/cubie/video/*.mp4

And of course, you must have a video to read :

mkdir ~/video

wget -O ~/video/big_buck_bunny.mp4

Now reboot and  8)