diff options
| author | Anton Bobov <anton@bobov.name> | 2023-07-27 15:53:03 +0500 |
|---|---|---|
| committer | Anton Bobov <anton@bobov.name> | 2023-07-27 15:53:16 +0500 |
| commit | 3f532c7393edea16117b14b20c63cd128480d4bf (patch) | |
| tree | c0800ee93ba56855a9ca127e74c6b8c5344d5347 /files/.config | |
| parent | 82ef876be9b347e7b2182e4ed84188c806150e7d (diff) | |
mpv: changed MPV config location
Diffstat (limited to 'files/.config')
| -rw-r--r-- | files/.config/mpv/input.conf | 14 | ||||
| -rw-r--r-- | files/.config/mpv/mpv.conf | 51 |
2 files changed, 65 insertions, 0 deletions
diff --git a/files/.config/mpv/input.conf b/files/.config/mpv/input.conf new file mode 100644 index 0000000..40f89cd --- /dev/null +++ b/files/.config/mpv/input.conf @@ -0,0 +1,14 @@ +## Rotate by 90 degrees clockwise +#Alt+RIGHT no-osd vf add rotate=90 +## Rotate by 90 degrees counterclockwise +#Alt+LEFT no-osd vf add rotate=270 + +# Disable: Activate/deactivate deinterlacer. +d ignore + +Alt+p run "/bin/sh" "-c" "xdotool search --class mpv | xargs -I{} xdotool key --window {} p" + +# default loudnorm I=-24 +# I=-15 -- louder volume +# anull -- disable audio filter +a cycle_values af loudnorm loudnorm=I=-15 anull diff --git a/files/.config/mpv/mpv.conf b/files/.config/mpv/mpv.conf new file mode 100644 index 0000000..9f9f81d --- /dev/null +++ b/files/.config/mpv/mpv.conf @@ -0,0 +1,51 @@ +# Speed up playback by the factor +speed=1.33 + +# Create a video output window even if there is no video +force-window=immediate + +# Always save the current playback position on quit +save-position-on-quit + +# Disable any use of the terminal and stdin/stdout/stderr +no-terminal + +# Enable any whitelisted hardware video decoding API +hwdec=auto-safe + +# If the current file is an image, kept open forever +image-display-duration=inf +# +screenshot-template=mpv-shot-%F-%{media-title}-%p-%n +screenshot-directory=~/mpv-screenshots + +# Cache size +demuxer-max-bytes=500M + +ytdl-format="bestvideo[height<=?1080]+bestaudio/best" + +# +# PROFILES +# + +[loudnorm] +af=lavfi=[loudnorm] + +[audio] +speed=1 + +# +# EXTENSIONS +# + +[extension.gif] +loop-file=yes + +[extension.flac] +profile=audio + +[extension.mp3] +profile=audio + +[extension.ogg] +profile=audio |
