Package Details: mpv-rpi 1:0.28.2-1

Git Clone URL: (read-only)
Package Base: mpv-rpi
Description: mpv with Raspberry Pi support
Upstream URL:
Licenses: GPL3
Conflicts: mpv
Provides: mpv
Submitter: fmang
Maintainer: fmang
Last Packager: fmang
Votes: 6
Popularity: 0.325475
First Submitted: 2016-09-14 09:47
Last Updated: 2018-05-19 21:54

Required by (88)

Sources (2)

Latest Comments

chicomag commented on 2018-03-10 14:52

export PKG_CONFIG_PATH=/opt/vc/lib/pkgconfig/ worked for me, thanks!

fmang commented on 2018-03-10 09:31

@cyberic If it's located in /opt no wonder it's missing. You're probably not the only one.

Try running export PKG_CONFIG_PATH=/opt/vc/lib/pkgconfig/ before makepkg. Reference:

If it works, I'll add it to the build script. If it doesn't, could you run pacman -Qo /opt/vc/include/bcm_host.h and then pacman -Ql PKG where PKG is the package -Qo printed. If the output is too big, my mail address is in the header of the PKGBUILD.

cyberic commented on 2018-03-10 00:05


I got this error:

[130/492] Compiling video/out/opengl/hwdec_rpi.c ../video/out/opengl/hwdec_rpi.c:25:10: fatal error: bcm_host.h: No such file or directory #include <bcm_host.h> ^~~~~~~~~~~~ compilation terminated.</bcm_host.h>

Waf: Leaving directory `/home/od/tt/mpv-rpi/src/mpv-0.27.2/build' Build failed -> task in 'mpv' failed with exit status 1 (run with -v to display more information)

The missing file is present on my fs:

$ find /opt -name bcm_host.h /opt/vc/include/bcm_host.h

and during the configure I got this:

Checking for Raspberry Pi support : yes

How can I alter the include path?


fmang commented on 2017-12-31 10:37

@Nemorensis Absolutely, mpv has an option named rpi-background for that.

Nemorensis commented on 2017-12-30 21:18

love having mpv on my rpi, thanks.

Any way to black out borders of the player so you don't have the background showing if the video is not the same aspect ration as your screen.

Dark-Sky commented on 2017-11-20 02:00

Thanks fmang

It compiled just fine now.

fmang commented on 2017-11-19 21:16

I ported the upstream patches. Should work now.

Dark-Sky commented on 2017-11-19 20:28

This will not compile after yesterday's libva update:

../video/vaapi.c: In function 'va_initialize':
../video/vaapi.c:191:5: error: too few arguments to function 'vaSetErrorCallback'
In file included from ../video/vaapi.h:24:0,
from ../video/vaapi.c:22:
/usr/include/va/va.h:270:19: note: declared here
VAMessageCallback vaSetErrorCallback(VADisplay dpy, VAMessageCallback callback, void *user_context);

fmang commented on 2017-11-05 13:30

@nagual Done. I should have expected you'd come here after ffmpeg-mmal :)

nagual commented on 2017-11-05 13:05

@fmang Any chance to add armv6h support?

All comments