Package Details: mpv-full 0.41.0-2

Git Clone URL: https://aur.archlinux.org/mpv-full.git (read-only, click to copy)
Package Base: mpv-full
Description: A free, open source, and cross-platform media player (with all possible libs)
Upstream URL: https://mpv.io/
Keywords: hwaccel mpv player video
Licenses: GPL-2.0-or-later
Conflicts: mpv
Provides: mpv
Submitter: dbermond
Maintainer: dbermond
Last Packager: dbermond
Votes: 31
Popularity: 0.91
First Submitted: 2017-02-15 20:52 (UTC)
Last Updated: 2026-07-05 01:08 (UTC)

Required by (688)

Sources (3)

Latest Comments

1 2 3 4 5 6 .. 11 Next › Last »

dbermond commented on 2026-07-19 01:00 (UTC)

@luftwaffle As far as I know, there is no way to configure or pass the video encoder option to ffmpeg for the tests. Use ffmpeg from the official repositories for building, or build in a clean chroot with devtools.

luftwaffle commented on 2026-07-15 01:50 (UTC)

The check() step fails during makepkg when generating test/samples/video.mkv, because ffmpeg defaults to h264_rkmpp (Rockchip's hardware VPU encoder) instead of libx264 when no -c:v is specified. On systems with rkmpp support compiled into ffmpeg but no Rockchip hardware present, this causes "Failed to initialize MPP context" and aborts the build. Explicitly passing -c:v libx264 in the ffmpeg command used to generate test media would fix this for anyone (like me) using ffmpeg-full or a similar build with unused hardware encoders enabled.

dbermond commented on 2026-07-05 01:08 (UTC)

@npreining Package updated. No need to provide a manual pkg-config file for vapoursynth.

npreining commented on 2026-07-03 20:40 (UTC) (edited on 2026-07-03 20:41 (UTC) by npreining)

As of now, current mpv-full is broken due to two reasons:

The following patch fixes both by (1) depending on libjpeg.so instead of libjpeg, and (2) synthesizing a .pc config file for libvapoursynth-script at build time.

diff --git a/PKGBUILD b/PKGBUILD
index c12ab9f..93e1b7a 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@

 pkgname=mpv-full
 pkgver=0.41.0
-pkgrel=1
+pkgrel=1.1
 pkgdesc='A free, open source, and cross-platform media player (with all possible libs)'
 arch=('x86_64')
 license=('GPL-2.0-or-later')
@@ -25,7 +25,7 @@ depends=(
     'libdrm'
     'libdvdnav'
     'libgl'
-    'libjpeg'
+    'libjpeg.so'
     'libpipewire'
     'libplacebo'
     'libpulse'
@@ -78,6 +78,25 @@ source=("https://github.com/mpv-player/mpv/archive/v${pkgver}/mpv-${pkgver}.tar.
 sha256sums=('ee21092a5ee427353392360929dc64645c54479aefdb5babc5cfbb5fad626209')

 build() {
+    # Arch's vapoursynth ships libvapoursynth-script.so + VSScript4.h
+    # but no vapoursynth-script.pc, which mpv >=0.41 requires. Synthesize it
+    # locally and expose via PKG_CONFIG_PATH. Drop when vapoursynth ships the .pc.
+    local _pcdir="${srcdir}/pkgconfig-shim"
+    install -d "$_pcdir"
+    local _vsver
+    _vsver="$(pkg-config --modversion vapoursynth)"
+    cat > "${_pcdir}/vapoursynth-script.pc" <<EOF
+prefix=/usr
+libdir=\${prefix}/lib
+includedir=\${prefix}/include
+Name: vapoursynth-script
+Description: VapourSynth script evaluation library
+Version: ${_vsver}
+Libs: -L\${libdir} -lvapoursynth-script
+Cflags: -I\${includedir}
+EOF
+    export PKG_CONFIG_PATH="${_pcdir}${PKG_CONFIG_PATH:+:${PKG_CONFIG_PATH}}"
+
     arch-meson "mpv-${pkgver}" build \
         -Dgpl='true' \
         -Dcplayer='true' \

dbermond commented on 2025-10-08 17:54 (UTC)

@Culted @sfkd_123456 fixed. Now building fine with ffmpeg 8.0.

sfkd_123456 commented on 2025-10-07 17:06 (UTC) (edited on 2025-10-07 17:07 (UTC) by sfkd_123456)

build fail in ffmpeg 8.0

Reference: https://github.com/mpv-player/mpv/issues/16176

It seems we might have to wait for mpv 41.0.

For now, modifying the variable names according to the compiler's suggestions should work.

Below is the patch for the modifications.

diff --git a/PKGBUILD b/PKGBUILD
index 5453db9..97328a3 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -200,3 +200,7 @@ package() {
     # delete private entries only required for static linking
     sed -i -e '/Requires.private/d' -e '/Libs.private/d' "${pkgdir}/usr/lib/pkgconfig/mpv.pc"
 }
+prepare() {
+    cd "mpv-${pkgver}"
+    patch -p1 < ../../fix_ff_profile.patch
+}
\ No newline at end of file
diff --git a/fix_ff_profile.patch b/fix_ff_profile.patch
new file mode 100644
index 0000000..d6625f9
--- /dev/null
+++ b/fix_ff_profile.patch
@@ -0,0 +1,24 @@
+diff --git a/demux/demux_mkv.c b/demux/demux_mkv.c
+index 135edcc..cc7ce3e 100644
+--- a/demux/demux_mkv.c
++++ b/demux/demux_mkv.c
+@@ -2200,16 +2200,16 @@ static int demux_mkv_open_sub(demuxer_t *demuxer, mkv_track_t *track)
+             // [0x30..0x37] are component tags utilized for
+             // non-mobile captioning service ("profile A").
+             if (component_tag >= 0x30 && component_tag <= 0x37)
+-                lav->profile = FF_PROFILE_ARIB_PROFILE_A;
++                lav->profile = AV_PROFILE_ARIB_PROFILE_A;
+             break;
+         case 0x0012:
+             // component tag 0x87 signifies a mobile/partial reception
+             // (1seg) captioning service ("profile C").
+             if (component_tag == 0x87)
+-                lav->profile = FF_PROFILE_ARIB_PROFILE_C;
++                lav->profile = AV_PROFILE_ARIB_PROFILE_C;
+             break;
+         }
+-        if (lav->profile == FF_PROFILE_UNKNOWN)
++        if (lav->profile == AV_PROFILE_UNKNOWN)
+             MP_WARN(demuxer, "ARIB caption profile %02x / %04x not supported.\n",
+                     component_tag, data_component_id);
+     }

Culted commented on 2025-10-06 09:50 (UTC) (edited on 2025-10-06 09:50 (UTC) by Culted)

build is failing

 Found ninja-1.12.1 at /usr/bin/ninja
INFO: autodetecting backend as ninja                                            
INFO: calculating backend command to run: /usr/bin/ninja -C /home/robert/.cache/yay/mpv-full/src/build
ninja: Entering directory `/home/robert/.cache/yay/mpv-full/src/build'
[149/399] Compiling C object libmpv.so.2.5.0.p/demux_demux_mkv.c.o
FAILED: libmpv.so.2.5.0.p/demux_demux_mkv.c.o 
ccache cc -Ilibmpv.so.2.5.0.p -I. -I../mpv-0.40.0 -I../mpv-0.40.0/include -Icommon -Ietc -Iplayer/javascript -Iplayer/lua -Isub -Ivideo/out -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/fribidi -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libxml2 -I/usr/include/lua5.2 -I/usr/include/SDL2 -I/usr/include/uchardet -I/usr/include/vapoursynth -I/usr/include/python3.13 -I/usr/include/AL -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/libdrm -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/glycin-2 -I/usr/include/libmount -I/usr/include/blkid -fvisibility=hidden -fdiagnostics-color=always -Wall -Winvalid-pch -Wextra -std=c11 -D_FILE_OFFSET_BITS=64 -Wdisabled-optimization -Wempty-body -Wformat -Wimplicit-fallthrough -Wparentheses -Wpointer-arith -Wshadow -Wundef -Wvla -Wno-cast-function-type -Wno-format-zero-length -Wno-missing-field-initializers -Wno-sign-compare -Wno-switch -Wno-unused-parameter -fno-math-errno -fno-signed-zeros -fno-trapping-math -Werror=format-security -Wno-unused-result -D_GNU_SOURCE -DNO_BUILD_TIMESTAMPS -Wmissing-prototypes -Wstrict-prototypes -Werror=implicit-function-declaration -Wno-pointer-sign -march=native -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -flto=auto -fPIC -pthread -D_GNU_SOURCE=1 -D_REENTRANT -MD -MQ libmpv.so.2.5.0.p/demux_demux_mkv.c.o -MF libmpv.so.2.5.0.p/demux_demux_mkv.c.o.d -o libmpv.so.2.5.0.p/demux_demux_mkv.c.o -c ../mpv-0.40.0/demux/demux_mkv.c
../mpv-0.40.0/demux/demux_mkv.c: In function ‘demux_mkv_open_sub’:
../mpv-0.40.0/demux/demux_mkv.c:2203:32: error: ‘FF_PROFILE_ARIB_PROFILE_A’ undeclared (first use in this function); did you mean ‘AV_PROFILE_ARIB_PROFILE_A’?
 2203 |                 lav->profile = FF_PROFILE_ARIB_PROFILE_A;
      |                                ^~~~~~~~~~~~~~~~~~~~~~~~~
      |                                AV_PROFILE_ARIB_PROFILE_A
../mpv-0.40.0/demux/demux_mkv.c:2203:32: note: each undeclared identifier is reported only once for each function it appears in
../mpv-0.40.0/demux/demux_mkv.c:2209:32: error: ‘FF_PROFILE_ARIB_PROFILE_C’ undeclared (first use in this function); did you mean ‘AV_PROFILE_ARIB_PROFILE_C’?
 2209 |                 lav->profile = FF_PROFILE_ARIB_PROFILE_C;
      |                                ^~~~~~~~~~~~~~~~~~~~~~~~~
      |                                AV_PROFILE_ARIB_PROFILE_C
../mpv-0.40.0/demux/demux_mkv.c:2212:29: error: ‘FF_PROFILE_UNKNOWN’ undeclared (first use in this function); did you mean ‘AV_PROFILE_UNKNOWN’?
 2212 |         if (lav->profile == FF_PROFILE_UNKNOWN)
      |                             ^~~~~~~~~~~~~~~~~~
      |                             AV_PROFILE_UNKNOWN
[166/399] Compiling C object libmpv.so.2.5.0.p/input_input.c.o
ninja: build stopped: subcommand failed. 
propably has something to do with ffmpeg 8.0?

dbermond commented on 2025-03-30 12:01 (UTC)

@zxcv This is an upstream issue. Please report this upstream.

zxcv commented on 2025-03-26 22:30 (UTC)

When trying to install with standard language settings it breaks on multi lang file test. using LANG=C yay -S mpv-full fixed this for me.

Hanuman commented on 2024-07-08 20:44 (UTC)

For me, mpv-full would frequently break with such dependency mismatch errors. The only solution I found was to instead use mpv-full-build-git.