summarylogtreecommitdiffstats
path: root/mp4creator.sh
diff options
context:
space:
mode:
authorJoeny Ang2015-07-01 15:12:01 +0800
committerJoeny Ang2015-07-01 15:12:01 +0800
commit10dd46fd5c005e5855e9c59dda833b103a75b842 (patch)
treed79f10e970eb3fdc6807e0d8cde2e2abfdb1f390 /mp4creator.sh
downloadaur-air-video-server.tar.gz
Initial import
Diffstat (limited to 'mp4creator.sh')
-rw-r--r--mp4creator.sh8
1 files changed, 8 insertions, 0 deletions
diff --git a/mp4creator.sh b/mp4creator.sh
new file mode 100644
index 000000000000..cc9b76f1aaba
--- /dev/null
+++ b/mp4creator.sh
@@ -0,0 +1,8 @@
+#!/bin/sh
+
+if [ "$#" -gt 5 ]; then
+ MP4Box -fps "$4" -add "$2" "$6"
+else
+ MP4Box -add "$2" "$3"
+fi
+