RetroArch/cores/libretro-mpv
2018-07-01 21:19:40 +02:00
..
internal_cores.h Create internal_cores.h 2018-07-01 21:19:40 +02:00
LICENSE Add libretro-mpv 2018-01-15 01:38:05 +01:00
link.T Add libretro-mpv 2018-01-15 01:38:05 +01:00
Makefile Update mpv libretro core 2018-06-20 03:46:53 +02:00
mpv-libretro.c This spams too much, disable this 2018-06-20 07:31:05 +02:00
README.md Update mpv libretro core 2018-06-20 03:46:53 +02:00
version.h Update mpv libretro core 2018-06-20 03:46:53 +02:00

libretro-mpv

mpv media player as a libretro core. A proof of concept release is now available.

Aims to use features already established in mpv that are not currently available in Retroarch movieplayer.

I want to be able to use Retroarch as my movie player on my embedded devices (Raspberry Pi) and desktop using hardware acceleration without having to use Kodi or mpv directly. Thus allowing for a more integrated experience, and smaller root filesystem.

Compiling

Overview

Retroarch must be compiled with --disable-ffmpeg to stop the integrated movieplayer from playing the input file.

FFmpeg (preferably master branch) must be compiled with --enable-shared.

mpv must be compiled with --enable-libmpv-shared.

Then run make in the mpv-libretro folder.

Compiling with Mingw-w64 on Windows

RetroArch must be compiled with --disable-ffmpeg and have OpenGL or OpenGLES enabled. Compiling RetroArch is not described here.

  1. Open Minwg-w64 64 bit (not MSYS2 shell).
  2. Install ffmpeg using pacman -S mingw64/mingw-w64-x86_64-ffmpeg.
  3. Clone the ao_cb branch of https://github.com/deltabeard/mpv.git . This fork has the audio callback patches required for libretro-mpv.
  4. Follow the instructions at https://github.com/mpv-player/mpv/blob/master/DOCS/compile-windows.md#native-compilation-with-msys2 to compile mpv.
  5. Download libretro-mpv release 0.3.alpha by either checking out the audio-cb-new branch of https://github.com/libretro/libretro-mpv.git or by downloading https://github.com/libretro/libretro-mpv/archive/0.3.alpha.tar.gz .
  6. Run make in the libretro-mpv folder. If using OpenGLES, run make platform=gles instead.

Overall, the dependencies required to build libretro-mpv are: