This tutorial is about building SMplayer with mpv support for ubuntu mate, lubuntu and xubuntu for raspberry pi 2.
SMplayer is a GUI for mplayer and mpv in the lasts versions.
Native SMplayer is package in ubuntu mate but the version is old and support only mplayer and not mpv.
First step install mpv with hardware video decoding for raspberry pi.
Now you can download my build of SMplayer or build it from source.
Download SMplayer with mpv support
Open a terminal then :
wget http://dl.free.fr/rRI9fayra -O smplayer_16.1.0_armhf.deb
Check the sha1 :
echo “0e24f06dfde63084dde439469f682bf084cb8dc2 smplayer_16.1.0_armhf.deb” | sha1sum -c -
You must have :
If you don’t the archive is corrupted or hacked !
Go to Install SMplayer
Build SMplayer with mpv support
Open a termibal then :
sudo apt-get update
sudo apt-get install smplayer
sudo apt-get build-dep smplayer
tar jxvf smplayer-16.1.0.tar.bz2
sudo dpkg -i smplayer_16.1.0_armhf.deb
With Fullscreen mode (work very good)
Launch smplayer, then go to menu “Options -> Préférence”, then choose Video tab and un the first list of videos output choose “rpi”.
It will play videos with hardware acceleration decoding in full screen mode.
With windowed, resizable or fullscreen mode (work not bad depending on video)
Create (if not exist) or edit :
Add the line :
Launch smplayer, then go to menu “Options -> Préférence”, then choose Video tab and un the first list of videos output choose “X11”.
Play a video.
If you want to go back to fullscreen mode you have to delete the line “vd=lavc:h264_mmal” in ~/.config/mpv/mpv.conf file.