-
-
Notifications
You must be signed in to change notification settings - Fork 2
Linux MPV Guide
Mattscreative edited this page Dec 5, 2025
·
2 revisions
Complete beginner-friendly guide to MPV on Linux, covering Arch Linux, CachyOS, and other distributions including installation, configuration, and advanced playback features.
Arch/CachyOS:
# Install MPV
sudo pacman -S mpv
# With GUI
sudo pacman -S mpv mpv-mprisDebian/Ubuntu:
sudo apt install mpvFedora:
sudo dnf install mpvStart MPV:
# Play file
mpv video.mp4
# Or from file managerCreate config:
# Create config directory
mkdir -p ~/.config/mpv
# Edit config
vim ~/.config/mpv/mpv.confCommon settings:
# Video output
vo=gpu
# Hardware acceleration
hwdec=auto
# Subtitle settings
sub-auto=all
sub-file-paths=subs
# Audio
audio-device=auto
MPV controls:
- Space: Play/Pause
- F: Fullscreen
- M: Mute
- Arrow keys: Seek
- Q: Quit
Play directory:
# Play all videos in directory
mpv /path/to/videos/
# Shuffle
mpv --shuffle /path/to/videos/Enable GPU:
# In config
hwdec=auto
# Or command line
mpv --hwdec=auto video.mp4Load subtitles:
# Auto-load subtitles
mpv --sub-auto=all video.mp4
# Load specific subtitle
mpv --sub-file=subtitle.srt video.mp4Check codecs:
# List codecs
mpv --list-codecs
# Check hardware acceleration
mpv --hwdec=helpUse hardware acceleration:
# Enable GPU decoding
mpv --hwdec=auto video.mp4This guide covered MPV installation, configuration, and usage for Arch Linux, CachyOS, and other distributions.
- Multimedia - Media applications
- Hardware Acceleration - GPU acceleration
- MPV: https://mpv.io/
This guide covers Arch Linux, CachyOS, and other Linux distributions. For distribution-specific details, refer to your distribution's documentation.