From 275b74ab4f23e2ddf40c4d4bb411a00d116aee8c Mon Sep 17 00:00:00 2001 From: yuzu-eva Date: Fri, 23 Dec 2022 23:48:27 +0100 Subject: added mpv scripts --- .config/mpv/input.conf | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 .config/mpv/input.conf (limited to '.config/mpv/input.conf') diff --git a/.config/mpv/input.conf b/.config/mpv/input.conf new file mode 100644 index 0000000..396711e --- /dev/null +++ b/.config/mpv/input.conf @@ -0,0 +1,23 @@ +# crop.lua +# ========== +# start cropping +c script-message-to crop start-crop hard +alt+c script-message-to crop start-crop soft +# delogo mode can be used like so +l script-message-to crop start-crop delogo +# remove the crop +d vf del -1 + +# or use the ready-made "toggle" binding +C script-message-to crop toggle-crop hard + +# remove the soft zoom +0 set video-pan-x 0; set video-pan-y 0; set video-zoom 0 + +# encode.lua +# ============ +# use default profile (makes vp8 webms) +E script-message-to encode set-timestamp + +# use webm profile +e script-message-to encode set-timestamp encode_webm -- cgit v1.2.3