{{define "config"}} {{template "head-common" .}} {{.Title}} {{template "accessibility-common" .}} {{template "main-layout-start" .}} {{template "config-content" .}} {{template "main-layout-end" .}} {{template "body-common-scripts" .}} {{end}} {{define "config-content"}}

MPV Config Management

Edit MPV settings, manage backups, and reset configuration

Additional Settings

Quality preset. High-quality is best for most users.

When enabled, MPV remembers your playback position. Resume where you left off next time.

Use native OS window controls (Yes) or MPV's stylized borderless window (No).

Screenshot Settings

To take a screenshot, press S and it will be saved to screenshot folder.

Image format for screenshots. WebP and AVIF offer greater compression with high quality (or lossless quality) and universal compatibility. JPEG XL is still experimental on the web.

File Location

Leave empty for current directory.

Template options

%f - filename (no ext)

%F - full filepath

%n - sequential number

%t - timestamp (UTC)

%T - timestamp (local)

%wH - hour (2 digits)

%wM - minute (2 digits)

%wS - second (2 digits)

%wT - milliseconds (3 digits)

Default: mpv-shot%n

General Options

Include colorspace info (e.g., bt.709, bt.2020).

Use 10-bit+ for HDR content.

PNG Codec Settings

PNG compression (0-9). Higher = smaller file, slower. Default: 7

JPEG Codec Settings

Quality for JPEG/JPG (0-100). Higher = better quality, larger file. Default: 90

WebP Codec Settings

Yes = no quality loss, larger files.

Quality for lossy WebP (0-100). Default: 75

JPEG XL Codec Settings

Distance (0.0-15.0). Lower = better quality. 0.0 = lossless. Default: 1.0

AVIF Codec Settings

Encoder name (e.g., libaom-av1, rav1e). Default: libaom-av1

Pixel format (e.g., yuv420p, yuv444p). Leave empty for auto.

Options as key=value list. Default: usage=allintra,crf=0,cpu-used=8

Reset MPV Config

Reset your MPV configuration to recommended settings. A backup will be created automatically.

Config File Location

Active Config

~/.config/mpv/mpv.conf

Backup Directory

~/.config/mpv/conf_backups/

Restore Config Backup

Restore MPV configuration from a previous backup:

{{if .ConfigBackups}}
{{range .ConfigBackups}}

{{.Filename}}

Created: {{.CreatedDate}}

Path: {{.FilePath}}

{{end}}
{{else}}

No configuration backups found

Backups are created automatically when you reset config

{{end}}
{{end}}