After installing mpv-rpi through here on my Raspberry Pi 3 and trying to play a video with it, it refuses to load any videos. When try to play a video using the terminal, mpv video.mp4
I get this error.
(+) Video --vid=1 (*) (h264 958x720 29.970fps)
(+) Audio --aid=1 (*) (aac 2ch 44100Hz)
* failed to add service - already in use?
What can I do to fix this problem? I am completely stumped. I can't tell if this advice given about the Raspberry Pi 4 is applicable here and if this AUR package is obsolete.
Pinned Comments
alvearian commented on 2020-02-27 23:58
To sum up, mpv-rpi is not needed for rpi4, and --vo=rpi is not going to be fixed.
mpv --vo=gpu --gpu-context=drm --drm-connector=<card-number>.<connector-name> --hwdec=v4l2m2m-copy (or --hwdec=mmal-copy) does the job and makes use of hardware acceleration
For that to achieve you need the newest ffmpeg-git (for mmal, built like ffmpeg-mmal). Here is all the info https://www.raspberrypi.org/forums/viewtopic.php?f=28&t=266123&p=1618765#p1618765