aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/video_export.sh
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/video_export.sh')
-rw-r--r--scripts/video_export.sh19
1 files changed, 19 insertions, 0 deletions
diff --git a/scripts/video_export.sh b/scripts/video_export.sh
new file mode 100644
index 0000000..7313c93
--- /dev/null
+++ b/scripts/video_export.sh
@@ -0,0 +1,19 @@
+#!/bin/sh
+
+set -x
+
+ffmpeg \
+ -i Screencast.mov \
+ -f webm \
+ -c:v libvpx \
+ -b 275k \
+ -acodec libvorbis \
+ DomeKey-Screencast.webm
+
+ffmpeg \
+ -i Screencast.mov \
+ -vcodec h264 \
+ -acodec aac \
+ -strict \
+ -2 \
+ DomeKey-Screencast.mp4