From 3f532c7393edea16117b14b20c63cd128480d4bf Mon Sep 17 00:00:00 2001 From: Anton Bobov Date: Thu, 27 Jul 2023 15:53:03 +0500 Subject: mpv: changed MPV config location --- files/.config/mpv/input.conf | 14 ++++++++++++ files/.config/mpv/mpv.conf | 51 ++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 65 insertions(+) create mode 100644 files/.config/mpv/input.conf create mode 100644 files/.config/mpv/mpv.conf (limited to 'files/.config') 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 -- cgit v1.2.3