summaryrefslogtreecommitdiff
path: root/.config/mpv/input.conf
diff options
context:
space:
mode:
authoryuzu-eva <stevenhu@web.de>2023-04-01 19:12:44 +0200
committeryuzu-eva <stevenhu@web.de>2023-04-01 19:12:44 +0200
commitccba79d7f97140a325af7b98b8ce2917e7cf4fc8 (patch)
tree2b3ff294f2ab915a08916125a9e4fd2c3fa126ac /.config/mpv/input.conf
parent39e9d4e4f740647e49cf7f2f090bc0ddb27a7d76 (diff)
parentbe35ccddeb63db26949183ade5a801593918a597 (diff)
merge desktop into master
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