Search Criteria
Package Details: mpv-git 0.39.0_13_g2c5928e518-1
Package Actions
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.173995 |
First Submitted: | 2012-12-04 09:21 (UTC) |
Last Updated: | 2024-09-24 06:58 (UTC) |
Dependencies (18)
- ffmpeg (ffmpeg-nvcodec-11-1-gitAUR, ffmpeg-amd-full-gitAUR, ffmpeg-cudaAUR, ffmpeg-fullAUR, ffmpeg-decklinkAUR, ffmpeg-headlessAUR, ffmpeg-amd-fullAUR, ffmpeg-libfdk_aacAUR, ffmpeg-obsAUR, ffmpeg-ffplayoutAUR, ffmpeg-full-gitAUR, ffmpeg-gitAUR)
- hicolor-icon-theme (hicolor-icon-theme-gitAUR)
- libass (libass-gitAUR)
- libplacebo (libplacebo-gitAUR)
- libxinerama (libxinerama-randr-gitAUR)
- libxkbcommon (libxkbcommon-gitAUR)
- libxpresent
- libxss
- luajit (luajit-2.1-lua52-gitAUR, luajit-gitAUR, luajit-openrestyAUR)
- wayland (wayland-gitAUR, wayland-asan-gitAUR, wayland-chromiumAUR)
- git (git-gitAUR, git-glAUR) (make)
- meson (meson-gitAUR) (make)
- pacman-contrib (pacman-contrib-gitAUR) (make)
- python-docutils (make)
- vulkan-headers (vulkan-headers-gitAUR) (make)
- wayland-protocols (wayland-protocols-gitAUR) (make)
- youtube-dlAUR (youtube-dl-gitAUR, yt-dlp-drop-inAUR, youtube-dl-nightlyAUR) (optional) – for video-sharing websites playback
- yt-dlp (yt-dlp-gitAUR) (optional) – for video-sharing websites playback (preferred over youtube-dl)
Required by (409)
- acestream-launcher (requires mpv) (optional)
- acter-bin (requires mpv)
- acter-nightly-bin (requires mpv)
- aliyunpan-gaozhangmin-bin (requires mpv) (optional)
- ani-cli (requires mpv)
- ani-cli-git (requires mpv)
- ani-cli-vostfr-git (requires mpv)
- ani-dl (requires mpv)
- ani-skip-git (requires mpv)
- animdl-git (requires mpv) (optional)
- anitr-cli (requires mpv)
- aniwrapper-git (requires mpv)
- anki (requires mpv) (optional)
- anki-before-bazel (requires mpv) (optional)
- anki-bin (requires mpv) (optional)
- anki-git (requires mpv) (optional)
- anki-qt5 (requires mpv) (optional)
- baka-mplayer-git (requires mpv)
- baka-mplayer-git (optional)
- balss-git (requires mpv)
- Show 389 more...
Latest Comments
« First ‹ Previous 1 2 3 4 5 6 7 8 9 10 11 .. 38 Next › Last »
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, includingluajit
and it will presumably depend onlibxpresent
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.legionnaire commented on 2022-06-20 23:32 (UTC) (edited on 2022-06-20 23:35 (UTC) by legionnaire)
This is crashing on open after I updated:
(+) Video --vid=1 () (h264 1920x1080 29.970fps) (+) Audio --aid=1 --alang=eng () (aac 2ch 48000Hz) Subs --sid=1 --slang=eng (subrip) error: XDG_RUNTIME_DIR not set in the environment. [vo/gpu] VT_GETMODE failed: Inappropriate ioctl for device [vo/gpu/opengl] Failed to set up VT switcher. Terminal switching will be unavailable. [vo/gpu] Failed to commit ModeSetting atomic request (-13) [vo/gpu/opengl] Failed to set CRTC for connector 95: Permission denied error: XDG_RUNTIME_DIR not set in the environment. [ao/alsa] Playback open error: Host is down [ao/jack] cannot open server [ao] Failed to initialize audio driver 'pipewire' Could not open/initialize audio device -> no sound. Audio: no audio VO: [gpu] 1920x1080 yuv420p [vo/gpu/vulkan/libplacebo] vk->CreateSwapchainKHR(vk->dev, &sinfo, PL_VK_ALLOC, &p->swapchain): VK_ERROR_UNKNOWN (../src/vulkan/swapchain.c:583) [vo/gpu/vulkan/libplacebo] Failed (re)creating swapchain! Could not initialize video chain. Video: no video
Exiting... (Errors when loading file)
I've never opened MPV through bash (I just used "sudo mpv media.mkv") but I wanted to have some sort of log to paste here. If I just click on the executable from the start menu it opens (with the loading icon) for a few seconds then crashes.
EDIT: I installed libxpresent and then reinstalled mpv-git but it still crashes
qmega commented on 2022-06-20 22:07 (UTC)
@Batou You probably need to install libxpresent and rebuild the package. If you updated your PKGBUILD in the last few hours, there was supposed to be a message to that effect when pacman installed the package.
Batou commented on 2022-06-20 22:02 (UTC)
mpv-git
does not work for me anymore. I'm now getting:every time I start the
mpv
. I only get the audio. I've tried everything. Even if you don't use mpv.conf file, it doesn't display anything. Non git mpv from Arch does work. No idea what's going on.qmega commented on 2022-06-20 15:08 (UTC)
@DEC05EBA Sorry, I didn't seem to get an email notification for your comment. Currently I do see mpv_stream_cb_add_ro exported with this package on my system. I'd guess it was fixed by https://github.com/mpv-player/mpv/issues/9971 Let me know if you still have the issue. If it does still happen to you but only with this package, it may have to do with build flags.
qmega commented on 2022-06-20 15:02 (UTC) (edited on 2022-06-20 15:50 (UTC) by qmega)
I already added that if you uncomment the x11 feature in _opt_features (as usual it'll be enabled automatically if it's already installed when you build).
Maybe I'll try to add a note of some kind if you have libxrandr but not libxpresent installed, since that will unexpectedly disable x11 support. EDIT: Added a warning on install if you are upgrading from a version before the commit adding xpresent and you have the previous x11 depends installed but not libxpresent.
haawda commented on 2022-06-20 10:19 (UTC)
New dependency libxpresent, see https://github.com/mpv-player/mpv/commit/3d459832a88a9bd2835b339cf6ca98f84aad0115
« First ‹ Previous 1 2 3 4 5 6 7 8 9 10 11 .. 38 Next › Last »