]> git.rmz.io Git - dotfiles.git/blobdiff - bin/work/convert_AVCD
cleaning up bin
[dotfiles.git] / bin / work / convert_AVCD
diff --git a/bin/work/convert_AVCD b/bin/work/convert_AVCD
new file mode 100755 (executable)
index 0000000..36fab79
--- /dev/null
@@ -0,0 +1,12 @@
+#! /bin/bash
+
+for file in *.MTS; do
+  ffmpeg -i $file \
+        -vcodec mpeg4 \
+        -b 18000k \
+        -acodec libmp3lame \
+        -ac 2 \
+        -ab 320k \
+        -s 1920x1080 \
+        ${file/MTS/avi}
+done