summaryrefslogtreecommitdiff
path: root/mkwebm
diff options
context:
space:
mode:
authoryuzu-eva <cafebabe@disroot.org>2025-05-08 14:01:37 +0200
committeryuzu-eva <cafebabe@disroot.org>2025-05-08 14:01:37 +0200
commitef7c1605a027b52bbff1b01ea693b60f53fa3a71 (patch)
tree1089334258aefbd459d18cf6968e78f1194739b0 /mkwebm
initial commit
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