Package Details: mpv-full 0.38.0-1

Git Clone URL: (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:
Keywords: hwaccel mpv player video
Licenses: GPL
Conflicts: mpv
Provides: mpv
Submitter: dbermond
Maintainer: dbermond
Last Packager: dbermond
Votes: 21
Popularity: 0.000082
First Submitted: 2017-02-15 20:52 (UTC)
Last Updated: 2024-04-18 17:58 (UTC)

Required by (375)

Sources (1)

Latest Comments

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

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

@AskAlice That's it then.

AskAlice commented on 2024-01-25 13:31 (UTC)

Ahh i had an old build of zimg in /usr/local/include and /usr/local/lib

dbermond commented on 2024-01-06 23:41 (UTC)

@AskAlice I've just checked, and the package is building fine. The only trick now is to build a custom ffmpeg (like ffmpeg-git) against libplacebo-git, as libplacebo git master got a soname version bump. By your error log, it looks like that you have an outdated zimg, as zimg versions before 3.0.5 does not expose the ZIMG_TRANSFER_ST428 enum value in zimg.h header. Make sure to have an up-to-date Arch Linux system.

AskAlice commented on 2024-01-06 22:28 (UTC)

Hi, what am I doing wrong?

[245/317] Compiling C object
cc -I. -I../mpv-0.37.0 -Icommon -Ietc -Iplayer/javascript -Iplayer/lua -Isub -Ivideo/out -I/usr/include/fribidi -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/sysprof-6 -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.11 -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/libmount -I/usr/include/blkid -I/usr/include/spirv_cross -fvisibility=hidden -flto=auto -fdiagnostics-color=always -Wall -Winvalid-pch -std=c11 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -Werror=implicit-function-declaration -Wempty-body -Wdisabled-optimization -Wstrict-prototypes -Wno-format-zero-length -Wno-redundant-decls -Wvla -Wno-format-truncation -Wimplicit-fallthrough -fno-math-errno -Wformat -Werror=format-security -Wundef -Wmissing-prototypes -Wshadow -Wno-switch -Wparentheses -Wpointer-arith -Wno-pointer-sign -Wno-unused-result -DNO_BUILD_TIMESTAMPS -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fPIC -pthread -D_REENTRANT -MD -MQ -MF -o -c ../mpv-0.37.0/video/zimg.c
../mpv-0.37.0/video/zimg.c: In function ‘mp_to_z_trc’:
../mpv-0.37.0/video/zimg.c:160:40: error: ‘ZIMG_TRANSFER_ST428’ undeclared (first use in this function); did you mean ‘ZIMG_TRANSFER_ST2084’?
  160 |     case MP_CSP_TRC_ST428:      return ZIMG_TRANSFER_ST428;
      |                                        ^~~~~~~~~~~~~~~~~~~
      |                                        ZIMG_TRANSFER_ST2084
../mpv-0.37.0/video/zimg.c:160:40: note: each undeclared identifier is reported only once for each function it appears in
[246/317] Compiling C object
../mpv-0.37.0/audio/out/ao_sndio.c: In function ‘reset’:
../mpv-0.37.0/audio/out/ao_sndio.c:238:5: warning: "HAVE_SNDIO_1_9" is not defined, evaluates to 0 [-Wundef]
  238 | #if HAVE_SNDIO_1_9
      |     ^~~~~~~~~~~~~~
[257/317] Compiling C object
../mpv-0.37.0/video/out/vo_gpu_next.c: In function ‘update_render_options’:
../mpv-0.37.0/video/out/vo_gpu_next.c:2010:5: warning: ‘tone_mapping_param’ is deprecated [-Wdeprecated-declarations]
 2010 |     pars->color_map_params.tone_mapping_param = opts->tone_map.curve_param;
      |     ^~~~
In file included from /usr/include/libplacebo/renderer.h:25,
                 from /usr/include/libplacebo/options.h:21,
                 from ../mpv-0.37.0/video/out/vo_gpu_next.c:23:
/usr/include/libplacebo/shaders/colorspace.h:307:36: note: declared here
  307 |     PL_DEPRECATED_IN(v6.311) float tone_mapping_param;        // see `tone_constants`
      |                                    ^~~~~~~~~~~~~~~~~~
../mpv-0.37.0/video/out/vo_gpu_next.c:2011:5: warning: ‘tone_mapping_param’ is deprecated [-Wdeprecated-declarations]
 2011 |     if (isnan(pars->color_map_params.tone_mapping_param)) // vo_gpu compatibility
      |     ^~
/usr/include/libplacebo/shaders/colorspace.h:307:36: note: declared here
  307 |     PL_DEPRECATED_IN(v6.311) float tone_mapping_param;        // see `tone_constants`
      |                                    ^~~~~~~~~~~~~~~~~~
../mpv-0.37.0/video/out/vo_gpu_next.c:2012:9: warning: ‘tone_mapping_param’ is deprecated [-Wdeprecated-declarations]
 2012 |         pars->color_map_params.tone_mapping_param = 0.0;
      |         ^~~~
/usr/include/libplacebo/shaders/colorspace.h:307:36: note: declared here
  307 |     PL_DEPRECATED_IN(v6.311) float tone_mapping_param;        // see `tone_constants`
      |                                    ^~~~~~~~~~~~~~~~~~
[270/317] Compiling C object
ninja: build stopped: subcommand failed.
==> ERROR: A failure occurred in build().
 -> error making: mpv-full-exit status 4

dbermond commented on 2023-09-04 23:05 (UTC)

@Hanuman Telling that mpv-full requires does not make sense. mpv 0.36.0 requires libplacebo >= 6.278.0, regardless of the library soname, being it 315 or the current one in libplacebo git masster (318). As I said, the package is currently building fine. What you could be facing is a build issue with libplacebo-git, which currently fails to build due to missing git submodules in the PKGBUILD. In the libplacebo-git AUR web page, I've posted a fix that can be manually applied to the PKGBUILD before the packager update, for those wanting to build it now. You can apply my suggested fix to libplacebo-git PKGBUILD, or also manually specify a slightly older upstream git commit libplacebo-git PKGBUILD. My bet is that the issue you're facing is due the AUR helper, which tries to automatically build everything. AUR helpers are not supported, please use makepkg. I've just checked, and the package is building fine with the latest versions of ffmpeg-git and libplacebo-git, as long as you apply the fix to libplacebo-git PKGBUILD.

Hanuman commented on 2023-09-04 17:26 (UTC)

As I said, building directly from AUR is not working. There's a version mismatch between mpv and libplacebo-git. I need libplacebo 315 with the latest mpv, whereas "paru libplacebo-git" offers "aur/libplacebo-git 6.287.0rc1.57.g363cada9-1". Resulting in the error I mentioned.

dbermond commented on 2023-09-04 16:25 (UTC)

@Hanuman Sorry, but Chaotic-AUR is not supported. The package is building and working fine.

Hanuman commented on 2023-09-04 03:56 (UTC) (edited on 2023-09-04 09:52 (UTC) by Hanuman)

This build is broken most of the time. Installation from Chaotic-AUR was causing errors so I installed manually from AUR. mpv-full requires, but libplacebo-git in AUR is only v287. As a result, launching mpv throws this error

mpv: error while loading shared libraries: cannot open shared object file: No such file or directory

Often (not always), having chaotic-aur maintainers rebuild fixed the problem, but it kept breaking literally at every update requiring manual interventions.

dbermond commented on 2023-09-02 13:17 (UTC)

@hrehfeld I don't see the point on this, as adding soname versions to packages is totally counter productive. Also, requiring 'ffmpeg-git' is much simpler. Every package providing 'ffmpeg-git' (as 'ffmpeg-full-git' does) will match the requirement.