Simple Video Player - cubieplayer/Cubian GitHub Wiki

This a very simple tutorial, It works on my cb1 with latest cubian.

First,Install Media player and vdpau driver

apt-get update
apt-get install libvdpau-sunxi mplayer2

Then,create a shell script maybe called play.sh

#!/bin/sh
export VDPAU_DRIVER=sunxi
mplayer -vo vdpau -vc ffmpeg12vdpau,ffh264vdpau, $1

use play.sh PATH_TO_MEDIA_FILE to start the play.

###Note:

  1. only h264, mpeg1 and mpeg2 are supported, see http://linux-sunxi.org/Cedrus
  2. A sample media can be download from http://samplemedia.linaro.org/H264/big_buck_bunny_1080p_H264_AAC_25fps_7200K.MP4