summaryrefslogtreecommitdiff
path: root/dot
diff options
context:
space:
mode:
authorAndrew Cady <d@jerkface.net>2018-06-12 16:55:24 -0400
committerAndrew Cady <d@jerkface.net>2018-06-12 17:07:12 -0400
commit49a3bb3566362bea8ea11bcaf9e1b5b015501ee3 (patch)
tree6d099124d2d55907508f78622b4507085b0342a2 /dot
parent286c48b3dc414e8273504b1dee665f9694d40d2b (diff)
webm command
Diffstat (limited to 'dot')
-rwxr-xr-xdot/local/bin/webm7
1 files changed, 7 insertions, 0 deletions
diff --git a/dot/local/bin/webm b/dot/local/bin/webm
new file mode 100755
index 0000000..5c200ca
--- /dev/null
+++ b/dot/local/bin/webm
@@ -0,0 +1,7 @@
1#!/bin/sh
2input=$1
3shift
4output=${input%.*}.webm
5[ -f "$input" -a ! -e "$output" ] || exit 1
6
7ffmpeg -i "$input" -c:v libvpx -c:a libvorbis "$@" "$output"