Config
Keybinds
Last active
May 12, 2023 17:06
-
-
Save alsolovyev/fb25512afc153775bbfeda02e3ffbec6 to your computer and use it in GitHub Desktop.
Configuration files for MPV Player
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
########## MPV Input Config ########## | |
# Play/pause | |
space cycle pause | |
k cycle pause | |
# Switch video streams | |
v cycle video | |
м cycle video | |
# Decrease/increase current playback speed | |
] add speed 0.1 | |
[ add speed -0.1 | |
# Switch audio streams | |
a cycle audio | |
ф cycle audio | |
# Mute/unmut audio | |
m cycle mute | |
ь cycle mute | |
# Switch subtitles | |
s cycle sub | |
ы cycle sub | |
# Set subtitles delay | |
Ctrl+Shift+RIGHT add sub-delay 0.1 | |
Ctrl+Shift+LEFT add sub-delay -0.1 | |
# Show insformation about file | |
i script-binding stats/display-stats-toggle | |
ш script-binding stats/display-stats-toggle | |
# Control position | |
RIGHT seek 5 | |
LEFT seek -5 | |
l seek 5 | |
j seek -5 | |
# Seek to the next/previous chapter | |
Shift+Left add chapter -1 | |
Shift+Right add chapter 1 | |
# Control volume | |
UP add volume 2 | |
DOWN add volume -2 | |
MOUSE_BTN3 add volume 2 | |
MOUSE_BTN4 add volume -2 | |
# Toggle position on top | |
MBTN_RIGHT cycle ontop | |
t cycle ontop | |
е cycle ontop | |
# Save position on quit | |
q quit-watch-later | |
й quit-watch-later | |
# Quit | |
ESC quit | |
# Toggle fullscreen mode | |
f cycle fullscreen | |
а cycle fullscreen | |
MOUSE_BTN0_DBL cycle fullscreen | |
# Take a screenshot | |
p screenshot | |
з screenshot | |
# Disable mouse | |
MOUSE_BTN0 ignore | |
# Set window size | |
1 set window-scale 1.0 | |
2 set window-scale 0.5 | |
3 set window-scale 0.3 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
########## MPV Config ########## | |
# Load a config file from the playback directory | |
use-filedir-conf | |
# Remove default hotkeys | |
no-input-default-bindings | |
# Starting with centered window | |
geometry=50%:50% | |
# Video decoding | |
hwdec=auto | |
# Set max size of a new window to 50% of the screen size | |
# window-scale=0.5 | |
autofit-larger=50%x50% | |
# Set volume to 75% | |
volume=75 | |
# Autoload external audio files | |
audio-file-auto=fuzzy | |
# Extra directories to search for external audio | |
audio-file-paths=ru:RUS Sound | |
# Subtitles | |
sub-scale=0.8 | |
sub-font='' | |
sub-border-size=2 | |
sub-spacing=0.7 | |
# Extra directories to search for subtitles | |
sub-file-paths=ru:RUS Subs | |
# Set default lang | |
slang=ru,rus,en,eng | |
alang=en,eng,ru,rus | |
# Remove border arount a new window | |
no-border | |
# (Windows only) Snap the player window to screen edges. | |
snap-window | |
# Hide cursor only in fullscreen mode | |
cursor-autohide-fs-only | |
# GUI config | |
script-opts=osc-layout=slimbox,osc-scalefullscreen=0.5,osc-scalewindowed=0.8,osc-windowcontrols=no | |
# OSD/OSC config | |
osd-level=1 | |
osd-font='' | |
osd-border-size=1 | |
osd-scale=0.5 | |
video-osd=yes | |
osd-align-y=top | |
osd-align-x=center | |
osd-bar-align-y=0.8 | |
osd-bar-w=50 | |
osd-bar-h=2.5 | |
# Set screenshot format and place | |
screenshot-format=png | |
screenshot-png-compression=8 | |
screenshot-directory="~/Desktop" | |
# Colorize output log messages | |
msg-color | |
msg-module | |
# Use max quality for HLS streams | |
hls-bitrate=max | |
# Set quality for youtub-dl | |
ytdl-format=bestvideo+bestaudio/best | |
# Cache | |
# cache=no | |
# cache-default=400000 # size in KB | |
# cache-backbuffer=250000 # size in KB | |
# demuxer-max-bytes=114748364 # ~100 MiB in bytes | |
# Video Configuration | |
# gpu-api=opengl | |
# opengl-pbo=no #!!!! | |
# icc-profile-auto | |
# icc-contrast=1000 # silence some warning because the profile is bad | |
# Protocol Specific Configuration | |
# [protocol.https] | |
# cache=no | |
# user-agent='Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:57.0) Gecko/20100101 Firefox/58.0' | |
# [protocol.http] | |
# cache=no | |
# user-agent='Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:57.0) Gecko/20100101 Firefox/58.0' | |
# Display player information in the console | |
# https://mpv.io/manual/stable/#options-msg-level | |
# Available levels: | |
# - no: complete silence | |
# - fatal: fatal messages only | |
# - error: error messages | |
# - warn: warning messages | |
# - info: informational messages | |
# - status: status messages (default) | |
# - v: verbose messages | |
# - debug: debug messages | |
# - trace: very noisy debug messages | |
msg-level=all=status |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment