summaryrefslogtreecommitdiff
path: root/mkwebm
diff options
context:
space:
mode:
Diffstat (limited to 'mkwebm')
-rwxr-xr-xmkwebm8
1 files changed, 8 insertions, 0 deletions
diff --git a/mkwebm b/mkwebm
new file mode 100755
index 0000000..16ab946
--- /dev/null
+++ b/mkwebm
@@ -0,0 +1,8 @@
+#!/usr/bin/env bash
+
+for i in "$@"; do
+ ffmpeg -i "${i}" -f webm \
+ -c:v libvpx-vp9 \
+ -crf 32 \
+ -c:a libopus "${i%.*}.webm"
+done