summaryrefslogtreecommitdiff
path: root/.config/mpv/input.conf
diff options
context:
space:
mode:
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