Package Details: mpv-full 0.40.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: 28
Popularity: 1.39
First Submitted: 2017-02-15 20:52 (UTC)
Last Updated: 2025-10-08 17:53 (UTC)

Required by (489)

Sources (2)

Latest Comments

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

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.

dbermond commented on 2024-07-08 20:39 (UTC)

@MrGraf you need to rebuild the package against the latest libplacebo. Please remember that it's user responsibility to do the needed rebuilds.

MrGraf commented on 2024-07-08 12:59 (UTC)

libplacebo.so=349-64

MrGraf commented on 2024-07-08 12:58 (UTC)

need update mpv: error while loading shared libraries: libplacebo.so.338: cannot open shared object file: No such file or directory

dbermond commented on 2024-01-28 12:07 (UTC)

@AskAlice That's it then.