]> git.phdru.name Git - audio-cdr-video.git/blobdiff - video/transcoding/tc_fix-avi-index
Move outdated scripts to separate subdirectories
[audio-cdr-video.git] / video / transcoding / tc_fix-avi-index
diff --git a/video/transcoding/tc_fix-avi-index b/video/transcoding/tc_fix-avi-index
new file mode 100755 (executable)
index 0000000..c3b7480
--- /dev/null
@@ -0,0 +1,15 @@
+#! /bin/sh
+
+
+if [ -z "$1" ]; then
+   echo "Usage: $0 input.avi"
+   exit 1
+fi
+
+
+# This call of transcode only copies ONE audiostream from the input;
+# if there are more - you need to extract them separately and merge
+# into the output. See tc_extract_a1 for an example.
+
+transcode -i "$1" -P3 -u 50 -o output.avi &&
+exec mv output.avi "$1"