--- /dev/null
+#! /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"