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: | 228 |
Popularity: | 0.30 |
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-cudaAUR, ffmpeg-ffplayoutAUR, ffmpeg-decklinkAUR, ffmpeg-amd-fullAUR, ffmpeg-fullAUR, ffmpeg-headlessAUR, ffmpeg-libfdk_aacAUR, ffmpeg-amd-full-gitAUR, ffmpeg-full-gitAUR, ffmpeg-gitAUR, ffmpeg-obsAUR)
- 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 (434)
- acestream-launcher (requires mpv) (optional)
- acter-bin (requires mpv)
- acter-nightly-bin (requires mpv)
- aliyunpan-gaozhangmin-bin (requires mpv) (optional)
- amphi-notes (requires mpv)
- ani-cli (requires mpv)
- ani-cli-git (requires mpv)
- ani-cli-vostfr-git (requires mpv)
- ani-dl (requires mpv)
- ani-skip-git (requires mpv)
- anicli-ru (requires mpv)
- animdl-git (requires mpv) (optional)
- animesama-cli (requires mpv)
- anitr-cli (requires mpv)
- aniwrapper-git (requires mpv)
- anki (requires mpv) (optional)
- anki-bin (requires mpv) (optional)
- anki-git (requires mpv) (optional)
- anki-qt5 (requires mpv) (optional)
- anymex-bin (requires mpv)
- Show 414 more...
Latest Comments
« First ‹ Previous 1 2 3 4 5 6 7 8 9 10 11 .. 38 Next › Last »
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, 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.« First ‹ Previous 1 2 3 4 5 6 7 8 9 10 11 .. 38 Next › Last »