Package Details: mpv-git 0.39.0_13_g2c5928e518-1

Git Clone URL: https://aur.archlinux.org/mpv-git.git (read-only, click to copy)
Package Base: mpv-git
Description: Video player based on MPlayer/mplayer2 (git version)
Upstream URL: https://mpv.io
Keywords: media player video
Licenses: GPL-2.0-or-later
Conflicts: mpv
Provides: libmpv.so, mpv
Submitter: rpolzer
Maintainer: qmega
Last Packager: qmega
Votes: 225
Popularity: 0.144807
First Submitted: 2012-12-04 09:21 (UTC)
Last Updated: 2024-09-24 06:58 (UTC)

Required by (408)

Sources (2)

Latest Comments

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

djsigmann commented on 2024-12-02 18:57 (UTC) (edited on 2024-12-02 18:57 (UTC) by djsigmann)

I had an issue similar to @Beethoven-n's, however, when running libtree as @qmega suggested, it turned out that shaderc was trying to find libglslang.so.14, reinstalling the package solved any issues. One might also want to reinstall the lib32-shaderc package, should it be installed.

paru -Syu shaderc lib32-shaderc

Beethoven-n commented on 2024-12-01 20:21 (UTC)

turns out, the issue was because of ffmpeg-obs, and the idea just randomly occurred to me last night installing obs-studio-liberty so that i could use stock ffmpeg fixed it

qmega commented on 2024-12-01 06:57 (UTC)

@Beethoven-n What about ffmpeg? libavfilter.so also links against libglslang. Are you sure your mirrors are up to date?

I can't be sure without more context, but I believe your error comes from trying to generate protocols for the desktop file near the end of the build. The actual compilation of the mpv binary has completed at that point, and I find it unlikely it would have linked to a non-existent library. My guess it linked to ffmpeg and that's what's linked to the glslang you don't have installed. With your particular error message, it looks like maybe you downgraded glslang but didn't downgrade ffmpeg to match?

If needed, you can run lddtree from pax-utils on /tmp/makepkg/mpv-git/src/mpv/build/mpv and /usr/bin/ffmpeg to see what is directly linked to the stale library.

Beethoven-n commented on 2024-12-01 06:23 (UTC)

@qmega I already use the repo version of libplacebo.

qmega commented on 2024-12-01 02:20 (UTC) (edited on 2024-12-01 02:22 (UTC) by qmega)

@Beethoven-n I'm guessing you need to rebuild libplacebo. That's what links against libglslang. Are you using libplacebo-git or another self-built installation?

Upgrading libplacebo-git is currently somewhat involved. What I did:

  1. Patch the libplacebo-git PKGBUILD for a bug in its pkgver() exposed by the latest libplacebo commit, and to build against latest glslang. I've posted both patches in the AUR comments for that package.
  2. Build that package and install it with pacman -Ud to override ffmpeg's versioned dependency temporarily. This will break ffmpeg until you...
  3. Rebuild ffmpeg against the newly installed libplacebo, e.g. with pkgctl repo clone ffmpeg && cd ffmpeg && makepkg -si. You don't need any patches to ffmpeg, just a rebuild so it links to the right soversion.
  4. Finally, you can rebuild mpv-git and it should work.

(Alternatively, if you don't mind using an older libplacebo, you could simply install the repo version and then you'd only have to rebuild this package.)

Beethoven-n commented on 2024-12-01 01:10 (UTC)

glslang just updated to version 15. this, among other packages, fail to build or fail to run on both glslang version 14 and version 15.

/tmp/makepkg/mpv-git/src/mpv/build/mpv: error while loading shared libraries: libglslang.so.15: cannot open shared object file: No such file or directory

qmega commented on 2024-11-22 17:41 (UTC)

@Baerbeisser Was your comment intended for a different package? This one is not responsible for yt-dlp (apart from having it as an optdep) and does not involve any python xattr packages. If an AUR helper is recommending those packages to you when you install this one, it would be as a result of whatever yt-dlp package is being used.

Baerbeisser commented on 2024-11-22 14:27 (UTC) (edited on 2024-11-22 14:27 (UTC) by Baerbeisser)

Still recommends python-xattr and python-pyxattr despite them having implemented native xattr support now.

https://github.com/yt-dlp/yt-dlp/pull/8205

kevku commented on 2024-07-22 19:19 (UTC)

requires libjack for some reason