Command line media player packaged for Linyaps.
This is the mpv media player packaged as a Linyaps application. mpv is a free, open source, and cross-platform media player with support for a wide variety of media file formats, audio and video codecs, and subtitle types.
- Package ID:
io.mpv - Version: 0.41.0.0
- Source: mpv-player/mpv (v0.41.0)
- Base:
org.deepin.base/25.2.2
- Supports almost all video and audio formats
- Hardware video decoding (VAAPI, VDPAU, Vulkan)
- High quality video rendering with libplacebo
- Lua scripting support
- Wayland and X11 display server support
- Network streaming support
- Advanced subtitle rendering
Ensure you have the LingLong build tools installed. Then:
# Clone this repository
git clone <repository-url>
cd io.mpv
# Build the package
ll-builder buildThe package requires the following build dependencies (automatically resolved by the build system):
- build-essential, meson, ninja-build, pkgconf
- FFmpeg libraries (libavcodec-dev, libavformat-dev, etc.)
- Video output (libva-dev, libvulkan-dev, libegl-dev, etc.)
- Audio output (libasound2-dev, libpulse-dev, libpipewire-0.3-dev)
- And many more (see
linglong.yamlfor the complete list)
ll-cli install io.mpvmpv [options] [file]| Option | Description |
|---|---|
--fs |
Fullscreen mode |
--no-audio |
Disable audio |
--volume=<value> |
Set volume (0-100) |
--loop=<count> |
Loop playback |
--sub=<file> |
Load subtitle file |
# Play a video file
mpv video.mp4
# Play with subtitles
mpv --sub=subtitle.srt movie.mkv
# Play URL stream
mpv https://example.com/stream.m3u8
# Play audio only
mpv --no-video music.flacThe base image (org.deepin.base/25.2.2) includes libva version 1.20, which has compatibility issues on some Wayland compositors:
- libva 1.20 uses the
wl_drmprotocol, which not all Wayland compositors implement - libva itself has some implementation issues with this protocol
Symptom: Enabling hardware video decoding via VAAPI on Wayland will cause a coredump (segfault).
Workarounds:
-
Disable hardware acceleration (use software decoding):
mpv --hwdec=no video.mp4
-
Unset WAYLAND_DISPLAY (run under XWayland or raw X11):
unset WAYLAND_DISPLAY mpv --hwdec=vaapi video.mp4
mpv is licensed under GPLv2+. See the upstream repository for details.