summaryrefslogtreecommitdiff
path: root/.config/mpv/input.conf
diff options
context:
space:
mode:
authoryuzu-eva <stevenhu@web.de>2022-12-23 23:48:27 +0100
committeryuzu-eva <stevenhu@web.de>2022-12-23 23:48:27 +0100
commit275b74ab4f23e2ddf40c4d4bb411a00d116aee8c (patch)
tree8f0d1a5acbeec67fe08b0a4b59e016657ee91a44 /.config/mpv/input.conf
parentc9502c9c4b61c4cab7655c484ef7e577308343cf (diff)
added mpv scripts
Diffstat (limited to '.config/mpv/input.conf')
-rw-r--r--.config/mpv/input.conf23
1 files changed, 23 insertions, 0 deletions
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