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: 229
Popularity: 0.42
First Submitted: 2012-12-04 09:21 (UTC)
Last Updated: 2024-09-24 06:58 (UTC)

Required by (626)

Sources (2)

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 8 9 10 11 .. 38 Next › Last »

Kyletsit commented on 2023-05-07 15:24 (UTC) (edited on 2023-05-07 15:24 (UTC) by Kyletsit)

Broken with python 3.11

Trying to run mpv, any command:

mpv: error while loading shared libraries: libpython3.10.so.1.0: cannot open shared object file: No such file or directory

Rebuilt today.

I'm not 100% sure if this is the correct place to report this. So if it isn't, I'm sorry.

qmega commented on 2023-01-28 17:57 (UTC)

Fixed.

mxsr commented on 2023-01-28 12:38 (UTC) (edited on 2023-01-28 12:38 (UTC) by mxsr)

version.sh has been deleted. Change to PKGBUILD to use version.py instead, problem solved.

SomeOwl commented on 2023-01-28 12:23 (UTC)

Does anyone else have trouble building this package at the moment? According to my console output, version.sh is missing. I'm pretty sure I was able to build this package before.

nadanke commented on 2022-07-08 07:08 (UTC)

@qmega Agree with all your points. I think this package is fine now, thank you for maintaining!

qmega commented on 2022-07-08 07:00 (UTC)

@nadanke That's a good point, and I think I've been too uptight about minimizing default dependencies. I've enabled luajit, x11, wayland, and libplacebo by default.

I still don't think this package should enable every optional feature. If you want that, there's mpv-full-git. (mpv has an above-average number of optional dependencies and a few are AUR-only, so I believe pulling them all in would be more trouble than it's worth for most users of this package.)

@C0rn3j I don't think optdepend is appropriate since installing it won't make an existing build work, but it's now a hard depend by default.

nadanke commented on 2022-07-07 17:58 (UTC) (edited on 2022-07-07 18:00 (UTC) by nadanke)

According to the wiki, "Dependencies should normally include the requirements for building all optional features of a package. Alternatively, any feature whose dependencies are not included should be explicitly disabled via a configure option."

https://wiki.archlinux.org/title/PKGBUILD#depends

The mpv package in the community repo has 72 dependencies, including luajit and it will presumably depend on libxpresent once a new official version will be released.

I do think it makes sense to at least add those two here - I reckon most people want OSC and X support, instead of having them rebuild the package after installing it the first time those who don't want those features can edit the PKGBUILD themselves. just my 2 cents

C0rn3j commented on 2022-07-07 13:19 (UTC)

Would be nice to add libxpresent to optdepends at least.

Batou commented on 2022-06-21 02:41 (UTC)

@qmega THANK YOU!! Installing libxpresent fixed it for me. Everything's working well. Thanks for doing an awesome job maintaining this package! I know it's not easy.

qmega commented on 2022-06-20 23:41 (UTC) (edited on 2022-06-20 23:49 (UTC) by qmega)

@legionnaire That looks like most likely the same issue as previous comment. You probably just need to install libxpresent (or uncomment "x11" in _opt_features near the top of the PKGBUILD) and rebuild the package. My guess it that you had been using X11 for your video output, x11 support is no longer getting compiled for you due to the new dependency on libxpresent which you don't have installed, and the errors you actually see are from mpv attempting to automatically fallback to a drm-based output or something similar and failing to do that too.

Also, using sudo with mpv sounds like a pretty bad idea (huge attack surface, and shouldn't be much need). There might be something else wrong if you find yourself having to do that.

EDIT: Did you rebuild mpv-git (e.g. makepkg -f) after installing libxpresent, or just reinstall the already-built package? The latter would not be enough.

If you really did rebuild with libxpresent available and you're still getting that same error message, that's rather suspicious given the timing and the particular messages, but the next thing would be to check the "List of enabled features" returned by mpv --v and ensure that x11 is in there, assuming that you do use X11. If you don't use X11, please provide more details about your environment.