Added every script to track by default
authorAlan J. Pippin <ajp@server.pippins.net>
Sun, 6 Apr 2008 21:55:05 +0000 (15:55 -0600)
committerAlan J. Pippin <ajp@pippins.net>
Sun, 6 Apr 2008 21:55:05 +0000 (15:55 -0600)
59 files changed:
Windows Scripts/Adobe Encore DVD Howto.txt [new file with mode: 0755]
Windows Scripts/Adobe Premiere Howto.txt [new file with mode: 0755]
Windows Scripts/Compress DivX Audio.bat [new file with mode: 0755]
Windows Scripts/DIVX Settings for DV to DIVX.txt [new file with mode: 0755]
Windows Scripts/DivX Adobe Premiere AVIs/Thumbs.db [new file with mode: 0755]
Windows Scripts/DubMan Templates/Compress DivX Audio.bat [new file with mode: 0755]
Windows Scripts/DubMan Templates/Compress DivX Audio.djt [new file with mode: 0755]
Windows Scripts/DubMan Templates/Convert DV to DivX 1st pass.djt [new file with mode: 0755]
Windows Scripts/DubMan Templates/Convert DV to DivX 2 passes.djt [new file with mode: 0755]
Windows Scripts/DubMan Templates/Convert DV to DivX 2nd pass HQ.djt [new file with mode: 0755]
Windows Scripts/DubMan Templates/Convert DV to DivX 2nd pass.djt [new file with mode: 0755]
Windows Scripts/DubMan Templates/Convert DV to DivX.bat [new file with mode: 0755]
Windows Scripts/DubMan Templates/Convert DV to DivX.djt [new file with mode: 0755]
Windows Scripts/DubMan Templates/Single DV AVI to DIVX.djt [new file with mode: 0755]
Windows Scripts/DubMan Templates/VirtualDub Audio Compression.vcf [new file with mode: 0755]
Windows Scripts/DubMan Templates/VirtualDub DV to DIVX compression - pass 1 HQ.vcf [new file with mode: 0755]
Windows Scripts/DubMan Templates/VirtualDub DV to DIVX compression - pass 1.vcf [new file with mode: 0755]
Windows Scripts/DubMan Templates/VirtualDub DV to DIVX compression - pass 2 HQ.vcf [new file with mode: 0755]
Windows Scripts/DubMan Templates/VirtualDub DV to DIVX compression - pass 2.vcf [new file with mode: 0755]
Windows Scripts/DubMan Templates/VirtualDub DV to DIVX compression.vcf [new file with mode: 0755]
Windows Scripts/TMPG Settings/DIVX to DVD .mcf [new file with mode: 0755]
Windows Scripts/TMPG Settings/DV to DVD 2pass VBR.mcf [new file with mode: 0755]
Windows Scripts/TMPG Settings/DV to DVD CBR.mcf [new file with mode: 0755]
Windows Scripts/TMPG Settings/DV to DVD CQ.mcf [new file with mode: 0755]
Windows Scripts/TMPG Settings/DV to DVD wizard.mcf [new file with mode: 0755]
Windows Scripts/TMPG Settings/DV to DVD.mcf [new file with mode: 0755]
Windows Scripts/TMPG Settings/TV to DVD wizard CBR.mcf [new file with mode: 0755]
Windows Scripts/TMPG Settings/TV to DVD wizard VBR.mcf [new file with mode: 0755]
Windows Scripts/TMPG Settings/TV to DVD.mcf [new file with mode: 0755]
Windows Scripts/Thumbs.db [new file with mode: 0755]
Windows Scripts/dv2all.bat [new file with mode: 0755]
Windows Scripts/dv2divx.bat [new file with mode: 0755]
Windows Scripts/dv2divx_2pass.bat [new file with mode: 0755]
Windows Scripts/dv2divx_2pass_HQ.bat [new file with mode: 0755]
Windows Scripts/dv2rm.bat [new file with mode: 0755]
Windows Scripts/dv2rm.pl [new file with mode: 0755]
avi2divx [new file with mode: 0755]
avi2divx4 [new file with mode: 0755]
avi2flv [new file with mode: 0755]
avi2mp3avi [new file with mode: 0755]
avi2raw [new file with mode: 0755]
avi2xvid [new file with mode: 0755]
avimerge [new file with mode: 0755]
backup_system.cmd [new file with mode: 0755]
burniso.cmd [new file with mode: 0755]
copy_home_videos.cmd [new file with mode: 0755]
create_merge_videos [new file with mode: 0644]
dos2ux [new file with mode: 0755]
dump_raw_video_files_from_camera [new file with mode: 0755]
em [new file with mode: 0755]
fix_video_names [new file with mode: 0644]
make_home_videos.cmd [new file with mode: 0755]
make_home_videos.cmd.noreboot [new file with mode: 0755]
make_home_videos.pl [new file with mode: 0755]
merge_all_new_mpg_clips.pl [new file with mode: 0755]
merge_mpg_clips [new file with mode: 0755]
mov2avi [new file with mode: 0755]
setprompt.pl [new file with mode: 0755]
vob2avi [new file with mode: 0755]

diff --git a/Windows Scripts/Adobe Encore DVD Howto.txt b/Windows Scripts/Adobe Encore DVD Howto.txt
new file mode 100755 (executable)
index 0000000..927e278
--- /dev/null
@@ -0,0 +1,8 @@
+1) Cannot transcode DIVX avi source files. Transcoder just hangs.\r
+   Currently, must convert all DIVX avi source files to DV avi.\r
+2) DV source files will transcode properly.\r
+3) Use NTSC Progressive High Quality 7Mb VBR 2 Pass PCM encoding.\r
+4) Raw Premiere Projects exported as DV have out of focus text banners.\r
+   So, export to DV, convert to high quality DIVX, then take that DIVX\r
+   file and convert it to DV. Use this DV file as the source file, and\r
+   everything will look great.
\ No newline at end of file
diff --git a/Windows Scripts/Adobe Premiere Howto.txt b/Windows Scripts/Adobe Premiere Howto.txt
new file mode 100755 (executable)
index 0000000..f7a1b7a
--- /dev/null
@@ -0,0 +1 @@
+1) Issue with exporting to DIVX. Strange artifacts occur in the DIVX source.
\ No newline at end of file
diff --git a/Windows Scripts/Compress DivX Audio.bat b/Windows Scripts/Compress DivX Audio.bat
new file mode 100755 (executable)
index 0000000..bcba0f5
--- /dev/null
@@ -0,0 +1 @@
+"C:\Program Files\Java\j2re1.4.0\bin\javaw.exe" -jar "C:\Program Files\DubMan\DubMan.jar" "V:\Videos\DubMan Templates\Compress DivX Audio.djt" /r\r
diff --git a/Windows Scripts/DIVX Settings for DV to DIVX.txt b/Windows Scripts/DIVX Settings for DV to DIVX.txt
new file mode 100755 (executable)
index 0000000..e69de29
diff --git a/Windows Scripts/DivX Adobe Premiere AVIs/Thumbs.db b/Windows Scripts/DivX Adobe Premiere AVIs/Thumbs.db
new file mode 100755 (executable)
index 0000000..f616767
Binary files /dev/null and b/Windows Scripts/DivX Adobe Premiere AVIs/Thumbs.db differ
diff --git a/Windows Scripts/DubMan Templates/Compress DivX Audio.bat b/Windows Scripts/DubMan Templates/Compress DivX Audio.bat
new file mode 100755 (executable)
index 0000000..bcba0f5
--- /dev/null
@@ -0,0 +1 @@
+"C:\Program Files\Java\j2re1.4.0\bin\javaw.exe" -jar "C:\Program Files\DubMan\DubMan.jar" "V:\Videos\DubMan Templates\Compress DivX Audio.djt" /r\r
diff --git a/Windows Scripts/DubMan Templates/Compress DivX Audio.djt b/Windows Scripts/DubMan Templates/Compress DivX Audio.djt
new file mode 100755 (executable)
index 0000000..02a32c8
--- /dev/null
@@ -0,0 +1,33 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>\r
+<dubman:template xmlns:dubman="http://dubman.sourceforge.net" name="" format="1.1" version="0.812">\r
+  <dubman:bulk>\r
+    <dubman:wildcard />\r
+  </dubman:bulk>\r
+  <dubman:jobs>\r
+    <dubman:job>\r
+      <dubman:name value="Compress DivX Audio" />\r
+      <dubman:input value="V:\Videos\Divx Adobe Premiere AVIs\*.avi" />\r
+      <dubman:output value="V:\Videos\*.avi" />\r
+      <dubman:deleteInput value="false" />\r
+      <dubman:script>VirtualDub.audio.SetSource(1);\r
+VirtualDub.audio.SetMode(1);\r
+VirtualDub.audio.SetInterleave(1,500,1,0,0);\r
+VirtualDub.audio.SetClipMode(1,1);\r
+VirtualDub.audio.SetConversion(0,0,0,0,0);\r
+VirtualDub.audio.SetVolume();\r
+VirtualDub.audio.SetCompression(85,48000,2,0,16000,1,12,"AQAAAAAAAQAAAOgD");\r
+VirtualDub.audio.EnableFilterGraph(0);\r
+VirtualDub.video.SetDepth(24,24);\r
+VirtualDub.video.SetMode(0);\r
+VirtualDub.video.SetFrameRate(0,1);\r
+VirtualDub.video.SetIVTC(0,0,-1,0);\r
+VirtualDub.video.SetRange(0,0);\r
+VirtualDub.video.SetCompression();\r
+VirtualDub.video.filters.Clear();\r
+VirtualDub.audio.filters.Clear();\r
+VirtualDub.subset.Delete();</dubman:script>\r
+      <dubman:runWith value="0" />\r
+    </dubman:job>\r
+  </dubman:jobs>\r
+</dubman:template>\r
+\r
diff --git a/Windows Scripts/DubMan Templates/Convert DV to DivX 1st pass.djt b/Windows Scripts/DubMan Templates/Convert DV to DivX 1st pass.djt
new file mode 100755 (executable)
index 0000000..b21d579
--- /dev/null
@@ -0,0 +1,59 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>\r
+<dubman:template xmlns:dubman="http://dubman.sourceforge.net" name="" format="1.1" version="0.812">\r
+  <dubman:bulk>\r
+    <dubman:wildcard />\r
+  </dubman:bulk>\r
+  <dubman:jobs>\r
+    <dubman:job>\r
+      <dubman:name value="Convert DV to DivX 1st Pass" />\r
+      <dubman:input value="U:\MiniDV\*.avi" />\r
+      <dubman:output value="V:\DIVX-Videos\firstpass.avi" />\r
+      <dubman:deleteInput value="false" />\r
+      <dubman:script>VirtualDub.audio.SetSource(1);\r
+VirtualDub.audio.SetMode(1);\r
+VirtualDub.audio.SetInterleave(1,500,1,0,0);\r
+VirtualDub.audio.SetClipMode(1,1);\r
+VirtualDub.audio.SetConversion(0,0,0,0,0);\r
+VirtualDub.audio.SetVolume();\r
+VirtualDub.audio.SetCompression(85,48000,2,0,16000,1,12,"AQACAAAAgAEBAHEF");\r
+VirtualDub.audio.EnableFilterGraph(0);\r
+VirtualDub.video.SetDepth(24,24);\r
+VirtualDub.video.SetMode(3);\r
+VirtualDub.video.SetFrameRate(0,1);\r
+VirtualDub.video.SetIVTC(0,0,-1,0);\r
+VirtualDub.video.SetRange(0,0);\r
+VirtualDub.video.SetCompression(0x78766964,0,10000,0);\r
+VirtualDub.video.SetCompData(512,"zAEAAAAAAAACAAAAAAk9AAAAgEABAAAAAAAAAAAAAAAAAAAAAAAAAJYAAAAyAAAA0EfIAQAAYAAAAEgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAAAmpmZmZmZyT+amZmZmZnJPwAAAAAAAAAAAAAAAIACAADgAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOA/AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAoAAAAZAAAAAAAAAABAAAAAQAAAAEAAAABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAAAAAAAAABAAAAAgAAAAIAAAABAAAAAAAAAAAAAAAAAAAAAwAAAAEAAAAAAAAAAAAAAFY6XGRpdngubG9nAGM6XHRlc3QuZGl2eABjOlxtdmluZm8uYmluAGM6XG5ld3JjLnR4dAA=");\r
+VirtualDub.video.filters.Clear();\r
+VirtualDub.audio.filters.Clear();\r
+VirtualDub.subset.Delete();</dubman:script>\r
+      <dubman:runWith value="0" />\r
+    </dubman:job>\r
+    <dubman:job>\r
+      <dubman:name value="Convert DV to DivX 2nd Pass" />\r
+      <dubman:input value="V:\DIVX-VIdeos\firstpass.avi" />\r
+      <dubman:output value="V:\DIVX-Videos\*.avi" />\r
+      <dubman:deleteInput value="false" />\r
+      <dubman:script>VirtualDub.audio.SetSource(1);\r
+VirtualDub.audio.SetMode(1);\r
+VirtualDub.audio.SetInterleave(1,500,1,0,0);\r
+VirtualDub.audio.SetClipMode(1,1);\r
+VirtualDub.audio.SetConversion(0,0,0,0,0);\r
+VirtualDub.audio.SetVolume();\r
+VirtualDub.audio.SetCompression(85,48000,2,0,16000,1,12,"AQACAAAAgAEBAHEF");\r
+VirtualDub.audio.EnableFilterGraph(0);\r
+VirtualDub.video.SetDepth(24,24);\r
+VirtualDub.video.SetMode(3);\r
+VirtualDub.video.SetFrameRate(0,1);\r
+VirtualDub.video.SetIVTC(0,0,-1,0);\r
+VirtualDub.video.SetRange(0,0);\r
+VirtualDub.video.SetCompression(0x78766964,0,10000,0);\r
+VirtualDub.video.SetCompData(512,"zAEAAAAAAAACAAAAAAk9AAAAgEABAAAAAAAAAAAAAAAAAAAAAAAAAJYAAAAyAAAA0EfIAQAAYAAAAEgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAAAmpmZmZmZyT+amZmZmZnJPwAAAAAAAAAAAAAAAIACAADgAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOA/AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAoAAAAZAAAAAAAAAABAAAAAQAAAAEAAAABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAAAAAAAAABAAAAAgAAAAIAAAABAAAAAAAAAAAAAAAAAAAAAwAAAAEAAAAAAAAAAAAAAFY6XGRpdngubG9nAGM6XHRlc3QuZGl2eABjOlxtdmluZm8uYmluAGM6XG5ld3JjLnR4dAA=");\r
+VirtualDub.video.filters.Clear();\r
+VirtualDub.audio.filters.Clear();\r
+VirtualDub.subset.Delete();</dubman:script>\r
+      <dubman:runWith value="0" />\r
+    </dubman:job>\r
+  </dubman:jobs>\r
+</dubman:template>\r
+\r
diff --git a/Windows Scripts/DubMan Templates/Convert DV to DivX 2 passes.djt b/Windows Scripts/DubMan Templates/Convert DV to DivX 2 passes.djt
new file mode 100755 (executable)
index 0000000..471c1b5
--- /dev/null
@@ -0,0 +1,59 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>\r
+<dubman:template xmlns:dubman="http://dubman.sourceforge.net" name="" format="1.1" version="0.812">\r
+  <dubman:bulk>\r
+    <dubman:wildcard />\r
+  </dubman:bulk>\r
+  <dubman:jobs>\r
+    <dubman:job>\r
+      <dubman:name value="Convert DV to DivX 1st Pass" />\r
+      <dubman:input value="U:\MiniDV\*.avi" />\r
+      <dubman:output value="V:\DIVX-Videos\*.avi" />\r
+      <dubman:deleteInput value="false" />\r
+      <dubman:script>VirtualDub.audio.SetSource(1);\r
+VirtualDub.audio.SetMode(1);\r
+VirtualDub.audio.SetInterleave(1,500,1,0,0);\r
+VirtualDub.audio.SetClipMode(1,1);\r
+VirtualDub.audio.SetConversion(0,0,0,0,0);\r
+VirtualDub.audio.SetVolume();\r
+VirtualDub.audio.SetCompression(85,48000,2,0,16000,1,12,"AQACAAAAgAEBAHEF");\r
+VirtualDub.audio.EnableFilterGraph(0);\r
+VirtualDub.video.SetDepth(24,24);\r
+VirtualDub.video.SetMode(3);\r
+VirtualDub.video.SetFrameRate(0,1);\r
+VirtualDub.video.SetIVTC(0,0,-1,0);\r
+VirtualDub.video.SetRange(0,0);\r
+VirtualDub.video.SetCompression(0x78766964,0,10000,0);\r
+VirtualDub.video.SetCompData(512,"zAEAAAAAAAACAAAAAAk9AAAAgEABAAAAAAAAAAAAAAAAAAAAAAAAAJYAAAAyAAAA0EfIAQAAYAAAAEgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAAAmpmZmZmZyT+amZmZmZnJPwAAAAAAAAAAAAAAAIACAADgAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOA/AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAoAAAAZAAAAAAAAAABAAAAAQAAAAEAAAABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAAAAAAAAABAAAAAgAAAAIAAAABAAAAAAAAAAAAAAAAAAAAAwAAAAEAAAAAAAAAAAAAAFY6XGRpdngubG9nAGM6XHRlc3QuZGl2eABjOlxtdmluZm8uYmluAGM6XG5ld3JjLnR4dAA=");\r
+VirtualDub.video.filters.Clear();\r
+VirtualDub.audio.filters.Clear();\r
+VirtualDub.subset.Delete();</dubman:script>\r
+      <dubman:runWith value="0" />\r
+    </dubman:job>\r
+    <dubman:job>\r
+      <dubman:name value="Convert DV to DivX 2nd Pass" />\r
+      <dubman:input value="U:\MiniDV\*.avi" />\r
+      <dubman:output value="V:\DIVX-Videos\*.avi" />\r
+      <dubman:deleteInput value="false" />\r
+      <dubman:script>VirtualDub.audio.SetSource(1);\r
+VirtualDub.audio.SetMode(1);\r
+VirtualDub.audio.SetInterleave(1,500,1,0,0);\r
+VirtualDub.audio.SetClipMode(1,1);\r
+VirtualDub.audio.SetConversion(0,0,0,0,0);\r
+VirtualDub.audio.SetVolume();\r
+VirtualDub.audio.SetCompression(85,48000,2,0,16000,1,12,"AQACAAAAgAEBAHEF");\r
+VirtualDub.audio.EnableFilterGraph(0);\r
+VirtualDub.video.SetDepth(24,24);\r
+VirtualDub.video.SetMode(3);\r
+VirtualDub.video.SetFrameRate(0,1);\r
+VirtualDub.video.SetIVTC(0,0,-1,0);\r
+VirtualDub.video.SetRange(0,0);\r
+VirtualDub.video.SetCompression(0x78766964,0,10000,0);\r
+VirtualDub.video.SetCompData(512,"zAEAAAAAAAACAAAAAAk9AAAAgEABAAAAAAAAAAAAAAAAAAAAAAAAAJYAAAAyAAAA0EfIAQAAYAAAAEgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAAAmpmZmZmZyT+amZmZmZnJPwAAAAAAAAAAAAAAAIACAADgAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOA/AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAoAAAAZAAAAAAAAAABAAAAAQAAAAEAAAABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAAAAAAAAABAAAAAgAAAAIAAAABAAAAAAAAAAAAAAAAAAAAAwAAAAEAAAAAAAAAAAAAAFY6XGRpdngubG9nAGM6XHRlc3QuZGl2eABjOlxtdmluZm8uYmluAGM6XG5ld3JjLnR4dAA=");\r
+VirtualDub.video.filters.Clear();\r
+VirtualDub.audio.filters.Clear();\r
+VirtualDub.subset.Delete();</dubman:script>\r
+      <dubman:runWith value="0" />\r
+    </dubman:job>\r
+  </dubman:jobs>\r
+</dubman:template>\r
+\r
diff --git a/Windows Scripts/DubMan Templates/Convert DV to DivX 2nd pass HQ.djt b/Windows Scripts/DubMan Templates/Convert DV to DivX 2nd pass HQ.djt
new file mode 100755 (executable)
index 0000000..fe89a1c
--- /dev/null
@@ -0,0 +1,59 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>\r
+<dubman:template xmlns:dubman="http://dubman.sourceforge.net" name="" format="1.1" version="0.812">\r
+  <dubman:bulk>\r
+    <dubman:wildcard />\r
+  </dubman:bulk>\r
+  <dubman:jobs>\r
+    <dubman:job>\r
+      <dubman:name value="Convert DV to DivX 1st Pass" />\r
+      <dubman:input value="V:\MiniDV\*.avi" />\r
+      <dubman:output value="V:\DIVX-Videos\*.avi" />\r
+      <dubman:deleteInput value="false" />\r
+      <dubman:script>VirtualDub.audio.SetSource(1);
+VirtualDub.audio.SetMode(1);
+VirtualDub.audio.SetInterleave(1,500,1,0,0);
+VirtualDub.audio.SetClipMode(1,1);
+VirtualDub.audio.SetConversion(0,0,0,0,0);
+VirtualDub.audio.SetVolume();
+VirtualDub.audio.SetCompression(85,48000,2,0,16000,1,12,"AQACAAAAgAEBAHEF");
+VirtualDub.audio.EnableFilterGraph(0);
+VirtualDub.video.SetDepth(24,24);
+VirtualDub.video.SetMode(3);
+VirtualDub.video.SetFrameRate(0,1);
+VirtualDub.video.SetIVTC(0,0,-1,0);
+VirtualDub.video.SetRange(0,0);
+VirtualDub.video.SetCompression(0x78766964,0,10000,0);
+VirtualDub.video.SetCompData(512,"zAEAAAAAAAACAAAAgI1bAAAAgEABAAAAAAAAAAAAAAAAAAAAAAAAAJYAAAAyAAAA0EfIAQAAYAAAAEgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAAAmpmZmZmZyT+amZmZmZnJPwAAAAAAAAAAAAAAAIACAADgAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOA/AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAoAAAAZAAAAAAAAAABAAAAAQAAAAEAAAABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAAAAgAAAAIAAAABAAAAAAAAAAAAAAAAAAAAAwAAAAEAAAAAAAAAAAAAAFY6XGRpdngubG9nAGM6XHRlc3QuZGl2eABjOlxtdmluZm8uYmluAGM6XG5ld3JjLnR4dAA=");
+VirtualDub.video.filters.Clear();
+VirtualDub.audio.filters.Clear();
+VirtualDub.subset.Delete();</dubman:script>\r
+      <dubman:runWith value="0" />\r
+    </dubman:job>\r
+    <dubman:job>\r
+      <dubman:name value="Convert DV to DivX 2nd Pass" />\r
+      <dubman:input value="V:\MiniDV\*.avi" />\r
+      <dubman:output value="V:\DIVX-Videos\*.avi" />\r
+      <dubman:deleteInput value="false" />\r
+      <dubman:script>VirtualDub.audio.SetSource(1);
+VirtualDub.audio.SetMode(1);
+VirtualDub.audio.SetInterleave(1,500,1,0,0);
+VirtualDub.audio.SetClipMode(1,1);
+VirtualDub.audio.SetConversion(0,0,0,0,0);
+VirtualDub.audio.SetVolume();
+VirtualDub.audio.SetCompression(85,48000,2,0,16000,1,12,"AQACAAAAgAEBAHEF");
+VirtualDub.audio.EnableFilterGraph(0);
+VirtualDub.video.SetDepth(24,24);
+VirtualDub.video.SetMode(3);
+VirtualDub.video.SetFrameRate(0,1);
+VirtualDub.video.SetIVTC(0,0,-1,0);
+VirtualDub.video.SetRange(0,0);
+VirtualDub.video.SetCompression(0x78766964,0,10000,0);
+VirtualDub.video.SetCompData(512,"zAEAAAAAAAADAAAAgI1bAAAAgEABAAAAAAAAAAAAAAAAAAAAAAAAAJYAAAAyAAAA0EfIAQAAYAAAAEgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAAAmpmZmZmZyT+amZmZmZnJPwAAAAAAAAAAAAAAAIACAADgAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOA/AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAoAAAAZAAAAAAAAAABAAAAAQAAAAEAAAABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAAAAAAAAABAAAAAgAAAAIAAAABAAAAAAAAAAAAAAAAAAAAAwAAAAEAAAAAAAAAAAAAAFY6XGRpdngubG9nAGM6XHRlc3QuZGl2eABjOlxtdmluZm8uYmluAGM6XG5ld3JjLnR4dAA=");
+VirtualDub.video.filters.Clear();
+VirtualDub.audio.filters.Clear();
+VirtualDub.subset.Delete();</dubman:script>\r
+      <dubman:runWith value="0" />\r
+    </dubman:job>\r
+  </dubman:jobs>\r
+</dubman:template>\r
+\r
diff --git a/Windows Scripts/DubMan Templates/Convert DV to DivX 2nd pass.djt b/Windows Scripts/DubMan Templates/Convert DV to DivX 2nd pass.djt
new file mode 100755 (executable)
index 0000000..ea220fe
--- /dev/null
@@ -0,0 +1,34 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>\r
+<dubman:template xmlns:dubman="http://dubman.sourceforge.net" name="" format="1.1" version="0.812">\r
+  <dubman:bulk>\r
+    <dubman:wildcard />\r
+  </dubman:bulk>\r
+  <dubman:jobs>\r
+    <dubman:job>\r
+      <dubman:name value="Convert DV to DivX 2nd Pass" />\r
+      <dubman:input value="U:\MiniDV\*.avi" />\r
+      <dubman:output value="V:\DIVX-Videos\*.avi" />\r
+      <dubman:deleteInput value="false" />\r
+      <dubman:script>VirtualDub.audio.SetSource(1);\r
+VirtualDub.audio.SetMode(1);\r
+VirtualDub.audio.SetInterleave(1,500,1,0,0);\r
+VirtualDub.audio.SetClipMode(1,1);\r
+VirtualDub.audio.SetConversion(0,0,0,0,0);\r
+VirtualDub.audio.SetVolume();\r
+VirtualDub.audio.SetCompression(85,48000,2,0,16000,1,12,"AQACAAAAgAEBAHEF");\r
+VirtualDub.audio.EnableFilterGraph(0);\r
+VirtualDub.video.SetDepth(24,24);\r
+VirtualDub.video.SetMode(3);\r
+VirtualDub.video.SetFrameRate(0,1);\r
+VirtualDub.video.SetIVTC(0,0,-1,0);\r
+VirtualDub.video.SetRange(0,0);\r
+VirtualDub.video.SetCompression(0x78766964,0,10000,0);\r
+VirtualDub.video.SetCompData(364,"OAEAAAAAAAADAAAAwMYtAAAAgEABAAAAAAAAAAAAAAAAAAAAlgAAADIAAAAgEWoAAAAwAAAAJAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAABAAAAAAAAAAAAAAAAAAAAAAQAAAAAAAACamZmZmZnJP5qZmZmZmck/AgAAAAAAAAAAAAAAgAIAAOABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4D8AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAABkAAAAAAAAAAEAAAABAAAAAQAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAAAAAAAAAEAAAACAAAA/////wEAAAAAAAAAAAAAAAAAAAACAAAAYzpcZGl2eC5sb2cAYzpcdGVzdC5kaXZ4AGM6XG12aW5mby5iaW4AYzpcbmV3cmMudHh0AA==");\r
+VirtualDub.video.filters.Clear();\r
+VirtualDub.audio.filters.Clear();\r
+VirtualDub.subset.Delete();</dubman:script>\r
+      <dubman:runWith value="0" />\r
+    </dubman:job>\r
+  </dubman:jobs>\r
+</dubman:template>\r
+\r
diff --git a/Windows Scripts/DubMan Templates/Convert DV to DivX.bat b/Windows Scripts/DubMan Templates/Convert DV to DivX.bat
new file mode 100755 (executable)
index 0000000..6067262
--- /dev/null
@@ -0,0 +1 @@
+"C:\Program Files\Java\j2re1.4.0\bin\javaw.exe" -jar "C:\Program Files\DubMan\DubMan.jar" "V:\Videos\DubMan Templates\Convert DV to DivX.djt" /r\r
diff --git a/Windows Scripts/DubMan Templates/Convert DV to DivX.djt b/Windows Scripts/DubMan Templates/Convert DV to DivX.djt
new file mode 100755 (executable)
index 0000000..a4b18eb
--- /dev/null
@@ -0,0 +1,34 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>\r
+<dubman:template xmlns:dubman="http://dubman.sourceforge.net" name="" format="1.1" version="0.812">\r
+  <dubman:bulk>\r
+    <dubman:wildcard />\r
+  </dubman:bulk>\r
+  <dubman:jobs>\r
+    <dubman:job>\r
+      <dubman:name value="Convert DV to DivX" />\r
+      <dubman:input value="U:\MiniDV\*.avi" />\r
+      <dubman:output value="V:\DIVX-Videos\*.avi" />\r
+      <dubman:deleteInput value="false" />\r
+      <dubman:script>VirtualDub.audio.SetSource(1);\r
+VirtualDub.audio.SetMode(1);\r
+VirtualDub.audio.SetInterleave(1,500,1,0,0);\r
+VirtualDub.audio.SetClipMode(1,1);\r
+VirtualDub.audio.SetConversion(0,0,0,0,0);\r
+VirtualDub.audio.SetVolume();\r
+VirtualDub.audio.SetCompression(85,48000,2,0,16000,1,12,"AQACAAAAgAEBAHEF");\r
+VirtualDub.audio.EnableFilterGraph(0);\r
+VirtualDub.video.SetDepth(24,24);\r
+VirtualDub.video.SetMode(3);\r
+VirtualDub.video.SetFrameRate(0,1);\r
+VirtualDub.video.SetIVTC(0,0,-1,0);\r
+VirtualDub.video.SetRange(0,0);\r
+VirtualDub.video.SetCompression(0x78766964,0,10000,0);\r
+VirtualDub.video.SetCompData(364,"OAEAAAAAAAAAAAAAwMYtAAAAgEABAAAAAAAAAAAAAAAAAAAAlgAAADIAAAAgEWoAAAAwAAAAJAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAABAAAAAAAAAAAAAAAAAAAAAAQAAAAAAAACamZmZmZnJP5qZmZmZmck/AgAAAAAAAAAAAAAAgAIAAOABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4D8AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAABkAAAAAAAAAAEAAAABAAAAAQAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAAAAAAAAAEAAAACAAAA/////wEAAAAAAAAAAAAAAAAAAAACAAAAYzpcZGl2eC5sb2cAYzpcdGVzdC5kaXZ4AGM6XG12aW5mby5iaW4AYzpcbmV3cmMudHh0AA==");\r
+VirtualDub.video.filters.Clear();\r
+VirtualDub.audio.filters.Clear();\r
+VirtualDub.subset.Delete();</dubman:script>\r
+      <dubman:runWith value="0" />\r
+    </dubman:job>\r
+  </dubman:jobs>\r
+</dubman:template>\r
+\r
diff --git a/Windows Scripts/DubMan Templates/Single DV AVI to DIVX.djt b/Windows Scripts/DubMan Templates/Single DV AVI to DIVX.djt
new file mode 100755 (executable)
index 0000000..5b1be6e
--- /dev/null
@@ -0,0 +1,33 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>\r
+<dubman:template xmlns:dubman="http://dubman.sourceforge.net" format="1.0" version="0.711">\r
+  <dubman:bulk />\r
+  <dubman:jobs>\r
+    <dubman:job>\r
+      <dubman:name value="Test" />\r
+      <dubman:input value="V:\MiniDV\Hospital Entrance.avi" />\r
+      <dubman:output value="V:\Videos\VirtualDub AVIs\Test.avi" />\r
+      <dubman:deleteInput value="false" />\r
+      <dubman:script>VirtualDub.audio.SetSource(1);\r
+VirtualDub.audio.SetMode(1);\r
+VirtualDub.audio.SetInterleave(1,500,1,0,0);\r
+VirtualDub.audio.SetClipMode(1,1);\r
+VirtualDub.audio.SetConversion(0,0,0,0,0);\r
+VirtualDub.audio.SetVolume();\r
+VirtualDub.audio.SetCompression(85,48000,2,0,16000,1,12,"AQACAAAAgAEBAHEF");\r
+VirtualDub.audio.EnableFilterGraph(0);\r
+VirtualDub.video.SetDepth(24,24);\r
+VirtualDub.video.SetMode(3);\r
+VirtualDub.video.SetFrameRate(0,1);\r
+VirtualDub.video.SetIVTC(0,0,-1,0);\r
+VirtualDub.video.SetRange(0,0);\r
+VirtualDub.video.SetCompression(0x78766964,0,10000,0);\r
+VirtualDub.video.SetCompData(319,"GAEAAGCuCgDQBwAACgAAABQAAAAsAQAADAAAAAIAAAAFAAAAAAAAACgAAAAAAAAAAAAAABQAAABkAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAgAAAyAAAAAAAAAAAAAAAAAACgmZnJPwAAAKCZmck/QAAAAAAAAACAAAAAAAAAAAAAAAAAAAAAAAAAAIACAADgAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOA/AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAAAAQAAAAEAAAABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAAAAAAAAAEAAAD/////AQAAAGM6XGRpdngubG9nAGM6XHRlc3QuZGl2eABjOlxtdmluZm8uYmluAA==");\r
+VirtualDub.video.filters.Clear();\r
+VirtualDub.audio.filters.Clear();\r
+VirtualDub.subset.Delete();\r
+</dubman:script>\r
+      <dubman:runWith value="0" />\r
+    </dubman:job>\r
+  </dubman:jobs>\r
+</dubman:template>\r
+\r
diff --git a/Windows Scripts/DubMan Templates/VirtualDub Audio Compression.vcf b/Windows Scripts/DubMan Templates/VirtualDub Audio Compression.vcf
new file mode 100755 (executable)
index 0000000..970ee9d
--- /dev/null
@@ -0,0 +1,17 @@
+VirtualDub.audio.SetSource(1);\r
+VirtualDub.audio.SetMode(1);\r
+VirtualDub.audio.SetInterleave(1,500,1,0,0);\r
+VirtualDub.audio.SetClipMode(1,1);\r
+VirtualDub.audio.SetConversion(0,0,0,0,0);\r
+VirtualDub.audio.SetVolume();\r
+VirtualDub.audio.SetCompression(85,48000,2,0,16000,1,12,"AQAAAAAAAQAAAOgD");\r
+VirtualDub.audio.EnableFilterGraph(0);\r
+VirtualDub.video.SetDepth(24,24);\r
+VirtualDub.video.SetMode(0);\r
+VirtualDub.video.SetFrameRate(0,1);\r
+VirtualDub.video.SetIVTC(0,0,-1,0);\r
+VirtualDub.video.SetRange(0,0);\r
+VirtualDub.video.SetCompression();\r
+VirtualDub.video.filters.Clear();\r
+VirtualDub.audio.filters.Clear();\r
+VirtualDub.subset.Delete();\r
diff --git a/Windows Scripts/DubMan Templates/VirtualDub DV to DIVX compression - pass 1 HQ.vcf b/Windows Scripts/DubMan Templates/VirtualDub DV to DIVX compression - pass 1 HQ.vcf
new file mode 100755 (executable)
index 0000000..350f645
--- /dev/null
@@ -0,0 +1,18 @@
+VirtualDub.audio.SetSource(1);\r
+VirtualDub.audio.SetMode(1);\r
+VirtualDub.audio.SetInterleave(1,500,1,0,0);\r
+VirtualDub.audio.SetClipMode(1,1);\r
+VirtualDub.audio.SetConversion(0,0,0,0,0);\r
+VirtualDub.audio.SetVolume();\r
+VirtualDub.audio.SetCompression(85,48000,2,0,16000,1,12,"AQACAAAAgAEBAHEF");\r
+VirtualDub.audio.EnableFilterGraph(0);\r
+VirtualDub.video.SetDepth(24,24);\r
+VirtualDub.video.SetMode(3);\r
+VirtualDub.video.SetFrameRate(0,1);\r
+VirtualDub.video.SetIVTC(0,0,-1,0);\r
+VirtualDub.video.SetRange(0,0);\r
+VirtualDub.video.SetCompression(0x78766964,0,10000,0);\r
+VirtualDub.video.SetCompData(512,"zAEAAAAAAAACAAAAgI1bAAAAgEABAAAAAAAAAAAAAAAAAAAAAAAAAJYAAAAyAAAA0EfIAQAAYAAAAEgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAAAmpmZmZmZyT+amZmZmZnJPwAAAAAAAAAAAAAAAIACAADgAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOA/AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAoAAAAZAAAAAAAAAABAAAAAQAAAAEAAAABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAAAAgAAAAIAAAABAAAAAAAAAAAAAAAAAAAAAwAAAAEAAAAAAAAAAAAAAFY6XGRpdngubG9nAGM6XHRlc3QuZGl2eABjOlxtdmluZm8uYmluAGM6XG5ld3JjLnR4dAA=");\r
+VirtualDub.video.filters.Clear();\r
+VirtualDub.audio.filters.Clear();\r
+VirtualDub.subset.Delete();\r
diff --git a/Windows Scripts/DubMan Templates/VirtualDub DV to DIVX compression - pass 1.vcf b/Windows Scripts/DubMan Templates/VirtualDub DV to DIVX compression - pass 1.vcf
new file mode 100755 (executable)
index 0000000..111719b
--- /dev/null
@@ -0,0 +1,18 @@
+VirtualDub.audio.SetSource(1);\r
+VirtualDub.audio.SetMode(1);\r
+VirtualDub.audio.SetInterleave(1,500,1,0,0);\r
+VirtualDub.audio.SetClipMode(1,1);\r
+VirtualDub.audio.SetConversion(0,0,0,0,0);\r
+VirtualDub.audio.SetVolume();\r
+VirtualDub.audio.SetCompression(85,48000,2,0,16000,1,12,"AQACAAAAgAEBAHEF");\r
+VirtualDub.audio.EnableFilterGraph(0);\r
+VirtualDub.video.SetDepth(24,24);\r
+VirtualDub.video.SetMode(3);\r
+VirtualDub.video.SetFrameRate(0,1);\r
+VirtualDub.video.SetIVTC(0,0,-1,0);\r
+VirtualDub.video.SetRange(0,0);\r
+VirtualDub.video.SetCompression(0x78766964,0,10000,0);\r
+VirtualDub.video.SetCompData(512,"zAEAAAAAAAACAAAAAAk9AAAAgEABAAAAAAAAAAAAAAAAAAAAAAAAAJYAAAAyAAAA0EfIAQAAYAAAAEgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAAAmpmZmZmZyT+amZmZmZnJPwAAAAAAAAAAAAAAAIACAADgAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOA/AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAoAAAAZAAAAAAAAAABAAAAAQAAAAEAAAABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAAAAAAAAABAAAAAgAAAAIAAAABAAAAAAAAAAAAAAAAAAAAAwAAAAEAAAAAAAAAAAAAAFY6XGRpdngubG9nAGM6XHRlc3QuZGl2eABjOlxtdmluZm8uYmluAGM6XG5ld3JjLnR4dAA=");\r
+VirtualDub.video.filters.Clear();\r
+VirtualDub.audio.filters.Clear();\r
+VirtualDub.subset.Delete();\r
diff --git a/Windows Scripts/DubMan Templates/VirtualDub DV to DIVX compression - pass 2 HQ.vcf b/Windows Scripts/DubMan Templates/VirtualDub DV to DIVX compression - pass 2 HQ.vcf
new file mode 100755 (executable)
index 0000000..de7b97a
--- /dev/null
@@ -0,0 +1,18 @@
+VirtualDub.audio.SetSource(1);\r
+VirtualDub.audio.SetMode(1);\r
+VirtualDub.audio.SetInterleave(1,500,1,0,0);\r
+VirtualDub.audio.SetClipMode(1,1);\r
+VirtualDub.audio.SetConversion(0,0,0,0,0);\r
+VirtualDub.audio.SetVolume();\r
+VirtualDub.audio.SetCompression(85,48000,2,0,16000,1,12,"AQACAAAAgAEBAHEF");\r
+VirtualDub.audio.EnableFilterGraph(0);\r
+VirtualDub.video.SetDepth(24,24);\r
+VirtualDub.video.SetMode(3);\r
+VirtualDub.video.SetFrameRate(0,1);\r
+VirtualDub.video.SetIVTC(0,0,-1,0);\r
+VirtualDub.video.SetRange(0,0);\r
+VirtualDub.video.SetCompression(0x78766964,0,10000,0);\r
+VirtualDub.video.SetCompData(512,"zAEAAAAAAAADAAAAgI1bAAAAgEABAAAAAAAAAAAAAAAAAAAAAAAAAJYAAAAyAAAA0EfIAQAAYAAAAEgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAAAmpmZmZmZyT+amZmZmZnJPwAAAAAAAAAAAAAAAIACAADgAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOA/AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAoAAAAZAAAAAAAAAABAAAAAQAAAAEAAAABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAAAAAAAAABAAAAAgAAAAIAAAABAAAAAAAAAAAAAAAAAAAAAwAAAAEAAAAAAAAAAAAAAFY6XGRpdngubG9nAGM6XHRlc3QuZGl2eABjOlxtdmluZm8uYmluAGM6XG5ld3JjLnR4dAA=");\r
+VirtualDub.video.filters.Clear();\r
+VirtualDub.audio.filters.Clear();\r
+VirtualDub.subset.Delete();\r
diff --git a/Windows Scripts/DubMan Templates/VirtualDub DV to DIVX compression - pass 2.vcf b/Windows Scripts/DubMan Templates/VirtualDub DV to DIVX compression - pass 2.vcf
new file mode 100755 (executable)
index 0000000..111719b
--- /dev/null
@@ -0,0 +1,18 @@
+VirtualDub.audio.SetSource(1);\r
+VirtualDub.audio.SetMode(1);\r
+VirtualDub.audio.SetInterleave(1,500,1,0,0);\r
+VirtualDub.audio.SetClipMode(1,1);\r
+VirtualDub.audio.SetConversion(0,0,0,0,0);\r
+VirtualDub.audio.SetVolume();\r
+VirtualDub.audio.SetCompression(85,48000,2,0,16000,1,12,"AQACAAAAgAEBAHEF");\r
+VirtualDub.audio.EnableFilterGraph(0);\r
+VirtualDub.video.SetDepth(24,24);\r
+VirtualDub.video.SetMode(3);\r
+VirtualDub.video.SetFrameRate(0,1);\r
+VirtualDub.video.SetIVTC(0,0,-1,0);\r
+VirtualDub.video.SetRange(0,0);\r
+VirtualDub.video.SetCompression(0x78766964,0,10000,0);\r
+VirtualDub.video.SetCompData(512,"zAEAAAAAAAACAAAAAAk9AAAAgEABAAAAAAAAAAAAAAAAAAAAAAAAAJYAAAAyAAAA0EfIAQAAYAAAAEgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAAAmpmZmZmZyT+amZmZmZnJPwAAAAAAAAAAAAAAAIACAADgAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOA/AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAoAAAAZAAAAAAAAAABAAAAAQAAAAEAAAABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAAAAAAAAABAAAAAgAAAAIAAAABAAAAAAAAAAAAAAAAAAAAAwAAAAEAAAAAAAAAAAAAAFY6XGRpdngubG9nAGM6XHRlc3QuZGl2eABjOlxtdmluZm8uYmluAGM6XG5ld3JjLnR4dAA=");\r
+VirtualDub.video.filters.Clear();\r
+VirtualDub.audio.filters.Clear();\r
+VirtualDub.subset.Delete();\r
diff --git a/Windows Scripts/DubMan Templates/VirtualDub DV to DIVX compression.vcf b/Windows Scripts/DubMan Templates/VirtualDub DV to DIVX compression.vcf
new file mode 100755 (executable)
index 0000000..a0c58f2
--- /dev/null
@@ -0,0 +1,18 @@
+VirtualDub.audio.SetSource(1);\r
+VirtualDub.audio.SetMode(1);\r
+VirtualDub.audio.SetInterleave(1,500,1,0,0);\r
+VirtualDub.audio.SetClipMode(1,1);\r
+VirtualDub.audio.SetConversion(0,0,0,0,0);\r
+VirtualDub.audio.SetVolume();\r
+VirtualDub.audio.SetCompression(85,48000,2,0,16000,1,12,"AQACAAAAgAEBAHEF");\r
+VirtualDub.audio.EnableFilterGraph(0);\r
+VirtualDub.video.SetDepth(24,24);\r
+VirtualDub.video.SetMode(3);\r
+VirtualDub.video.SetFrameRate(0,1);\r
+VirtualDub.video.SetIVTC(0,0,-1,0);\r
+VirtualDub.video.SetRange(0,0);\r
+VirtualDub.video.SetCompression(0x78766964,0,10000,0);\r
+VirtualDub.video.SetCompData(319,"GAEAAGCuCgDQBwAACgAAABQAAAAsAQAADAAAAAIAAAAFAAAAAAAAACgAAAAAAAAAAAAAABQAAABkAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAgAAAyAAAAAAAAAAAAAAAAAACgmZnJPwAAAKCZmck/QAAAAAAAAACAAAAAAAAAAAAAAAAAAAAAAAAAAIACAADgAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOA/AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAAAAQAAAAEAAAABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAAAAAAAAAEAAAD/////AQAAAGM6XGRpdngubG9nAGM6XHRlc3QuZGl2eABjOlxtdmluZm8uYmluAA==");\r
+VirtualDub.video.filters.Clear();\r
+VirtualDub.audio.filters.Clear();\r
+VirtualDub.subset.Delete();\r
diff --git a/Windows Scripts/TMPG Settings/DIVX to DVD .mcf b/Windows Scripts/TMPG Settings/DIVX to DVD .mcf
new file mode 100755 (executable)
index 0000000..0a2b7ef
--- /dev/null
@@ -0,0 +1,141 @@
+object TMPEGConfigFile\r
+  MPEG.Text = ''\r
+  MPEG.WizardCategoryName = ''\r
+  MPEG.WizardSubFormatName = ''\r
+  MPEG.WizardCaption = ''\r
+  MPEG.WizardDescription = ''\r
+  MPEG.WizardTargetMedia = MPEGConfig_TargetMediaType_Unknown\r
+  MPEG.WizardAutoCalcVideoBitRate = False\r
+  MPEG.WizardAutoChooseList.EnableVideoSize = False\r
+  MPEG.WizardAutoChooseList.VideoSize = <\r
+    item\r
+      MinVideoBitRate = 2000000\r
+      Width = 352\r
+      Height = 480\r
+      VideoEncodeMode = MPEGVideoEncoder_VideoEncodeMode_Interlace\r
+      FrameRate = 4\r
+      AspectRatio = 2\r
+    end\r
+    item\r
+      MinVideoBitRate = 4000000\r
+      Width = 720\r
+      Height = 480\r
+      VideoEncodeMode = MPEGVideoEncoder_VideoEncodeMode_Interlace\r
+      FrameRate = 4\r
+      AspectRatio = 2\r
+    end>\r
+  MPEG.WizardAutoChooseList.EnableVideoGOP = False\r
+  MPEG.WizardAutoChooseList.VideoGOP = <>\r
+  MPEG.OutputStreamType = MPEG_OutputStreamType_System_VideoAudio\r
+  MPEG.OutputStreamType_ReadOnly = False\r
+  MPEG.Video.StreamType = MPEGVideoEncoder_StreamType_MPEG2\r
+  MPEG.Video.StreamType_ReadOnly = False\r
+  MPEG.Video.Width = 720\r
+  MPEG.Video.Width_ReadOnly = False\r
+  MPEG.Video.Height = 480\r
+  MPEG.Video.Height_ReadOnly = False\r
+  MPEG.Video.YUVFormat = 1\r
+  MPEG.Video.YUVFormat_ReadOnly = False\r
+  MPEG.Video.DC_prec = 2\r
+  MPEG.Video.DC_prec_ReadOnly = False\r
+  MPEG.Video.VideoEncodeMode = MPEGVideoEncoder_VideoEncodeMode_Progressive\r
+  MPEG.Video.VideoEncodeMode_ReadOnly = False\r
+  MPEG.Video.FrameRate = 4\r
+  MPEG.Video.FrameRate_ReadOnly = False\r
+  MPEG.Video.AspectRatio = 2\r
+  MPEG.Video.AspectRatio_ReadOnly = False\r
+  MPEG.Video.RateControlMode = MPEGVideoEncoder_RateControlMode_VBR_Auto\r
+  MPEG.Video.RateControlMode_ReadOnly = False\r
+  MPEG.Video.MaxBitRate = 0\r
+  MPEG.Video.MaxBitRate_ReadOnly = False\r
+  MPEG.Video.MinBitRate = 0\r
+  MPEG.Video.MinBitRate_ReadOnly = False\r
+  MPEG.Video.MinAvgBitRate = 0\r
+  MPEG.Video.MinAvgBitRate_ReadOnly = False\r
+  MPEG.Video.CBR_BitRate = 7000000\r
+  MPEG.Video.VBR_MultipassVBRAlgorithm = MPEGVideoEncoder_MultipassVBRAlgorithm_2PASS\r
+  MPEG.Video.VBR_AvgBitRate = 7000000\r
+  MPEG.Video.VBR_MaxBitRate = 8000000\r
+  MPEG.Video.VBR_MinBitRate = 2000000\r
+  MPEG.Video.VBR_MaxPassCount = 0\r
+  MPEG.Video.VBR_Quality_P = 0\r
+  MPEG.Video.VBR_Quality_B = 20\r
+  MPEG.Video.VBR_EnablePadding = False\r
+  MPEG.Video.MVBR_MaxBitRate = 8000000\r
+  MPEG.Video.MVBR_MinBitRate = 2000000\r
+  MPEG.Video.MVBR_Quality_P = 0\r
+  MPEG.Video.MVBR_Quality_B = 20\r
+  MPEG.Video.MVBR_EnablePadding = False\r
+  MPEG.Video.AVBR_Quality = 100\r
+  MPEG.Video.AVBR_MaxBitRate = 6000000\r
+  MPEG.Video.AVBR_MinBitRate = 0\r
+  MPEG.Video.AVBR_EnablePadding = False\r
+  MPEG.Video.CQ_Quality = 65\r
+  MPEG.Video.CQ_Quality_P = 0\r
+  MPEG.Video.CQ_Quality_B = 20\r
+  MPEG.Video.CQ_MaxBitRate = 8000000\r
+  MPEG.Video.CQ_MinBitRate = 2000000\r
+  MPEG.Video.CQ_EnablePadding = False\r
+  MPEG.Video.VBVBufferSize = 229376\r
+  MPEG.Video.VBVBufferSize_ReadOnly = False\r
+  MPEG.Video.GOP_SeqHeaderInterval = 1\r
+  MPEG.Video.GOP_SeqHeaderInterval_ReadOnly = False\r
+  MPEG.Video.GOP_I_FrameCount = 1\r
+  MPEG.Video.GOP_I_FrameCount_ReadOnly = False\r
+  MPEG.Video.GOP_P_FrameCount = 4\r
+  MPEG.Video.GOP_P_FrameCount_ReadOnly = False\r
+  MPEG.Video.GOP_B_FrameCount = 1\r
+  MPEG.Video.GOP_B_FrameCount_ReadOnly = False\r
+  MPEG.Video.GOP_BitStreamForEdit = False\r
+  MPEG.Video.GOP_BitStreamForEdit_ReadOnly = False\r
+  MPEG.Video.GOP_MaxFrameCount = 18\r
+  MPEG.Video.GOP_MaxFrameCount_ReadOnly = False\r
+  MPEG.Video.QuantizeMatrix_Intra_ReadOnly = False\r
+  MPEG.Video.QuantizeMatrix_NonIntra_ReadOnly = False\r
+  MPEG.Video.Profile = 4\r
+  MPEG.Video.Profile_ReadOnly = False\r
+  MPEG.Video.Level = 8\r
+  MPEG.Video.Level_ReadOnly = False\r
+  MPEG.Video.VideoFormat = 2\r
+  MPEG.Video.VideoFormat_ReadOnly = False\r
+  MPEG.Video.DisplayWidth = 0\r
+  MPEG.Video.DisplayWidth_ReadOnly = False\r
+  MPEG.Video.DisplayHeight = 0\r
+  MPEG.Video.DisplayHeight_ReadOnly = False\r
+  MPEG.Video.MotionSearchSpeed = MPEGVideoEncoder_MotionSearchSpeed_Slow\r
+  MPEG.Video.MotionSearch_AlwaysHalfPel = False\r
+  MPEG.Video.UseFloatDCT = False\r
+  MPEG.Video.QuantizeMode = False\r
+  MPEG.Video.QuantizeModeVal_Intra = 35\r
+  MPEG.Video.QuantizeModeVal_NonIntra = 35\r
+  MPEG.Video.YUVBasicYCbCr = False\r
+  MPEG.Video.QuantizeMatrix_Intra = {\r
+    081013161A1B1D22101016181B1D222513161A1B1D22222616161A1B1D222528\r
+    161A1B1D202328301A1B1D202328303A1A1B1D22262E38451B1D23262E384553}\r
+  MPEG.Video.QuantizeMatrix_NonIntra = {\r
+    1011121314151617111213141516171812131415161718191314151617181A1B\r
+    14151617191A1B1C151617181A1B1C1E1617181A1B1C1E1F1718191B1C1E1F21}\r
+  MPEG.Audio.StreamType = MPEGAudioEncoder_StreamType_MPEG1_Layer2\r
+  MPEG.Audio.StreamType_ReadOnly = False\r
+  MPEG.Audio.SamplingFrequency = 48000\r
+  MPEG.Audio.SamplingFrequency_ReadOnly = False\r
+  MPEG.Audio.ChannelMode = 0\r
+  MPEG.Audio.ChannelMode_ReadOnly = False\r
+  MPEG.Audio.CantUseMono = False\r
+  MPEG.Audio.BitRate = 256000\r
+  MPEG.Audio.BitRate_ReadOnly = False\r
+  MPEG.Audio.CalcCRC = False\r
+  MPEG.Audio.CalcCRC_ReadOnly = False\r
+  MPEG.Audio.OriginalFlag = False\r
+  MPEG.Audio.OriginalFlag_ReadOnly = False\r
+  MPEG.Audio.CopyrightFlag = False\r
+  MPEG.Audio.CopyrightFlag_ReadOnly = False\r
+  MPEG.Audio.PrivateFlag = False\r
+  MPEG.Audio.PrivateFlag_ReadOnly = False\r
+  MPEG.Audio.EmphasisType = 0\r
+  MPEG.Audio.EmphasisType_ReadOnly = False\r
+  MPEG.System.StreamType = MPEGSystemEncoder_StreamType_MPEG2_Program\r
+  MPEG.System.StreamType_ReadOnly = False\r
+  MPEG.System.EnableCommentText = False\r
+  MPEG.System.CommentText = ''\r
+end\r
diff --git a/Windows Scripts/TMPG Settings/DV to DVD 2pass VBR.mcf b/Windows Scripts/TMPG Settings/DV to DVD 2pass VBR.mcf
new file mode 100755 (executable)
index 0000000..a540cce
--- /dev/null
@@ -0,0 +1,125 @@
+object TMPEGConfigFile\r
+  MPEG.Text = ''\r
+  MPEG.WizardCategoryName = ''\r
+  MPEG.WizardSubFormatName = ''\r
+  MPEG.WizardCaption = ''\r
+  MPEG.WizardDescription = ''\r
+  MPEG.WizardTargetMedia = MPEGConfig_TargetMediaType_Unknown\r
+  MPEG.WizardAutoCalcVideoBitRate = False\r
+  MPEG.WizardAutoChooseList.EnableVideoSize = False\r
+  MPEG.WizardAutoChooseList.VideoSize = <>\r
+  MPEG.WizardAutoChooseList.EnableVideoGOP = False\r
+  MPEG.WizardAutoChooseList.VideoGOP = <>\r
+  MPEG.OutputStreamType = MPEG_OutputStreamType_VideoAudio\r
+  MPEG.OutputStreamType_ReadOnly = False\r
+  MPEG.Video.StreamType = MPEGVideoEncoder_StreamType_MPEG2\r
+  MPEG.Video.StreamType_ReadOnly = False\r
+  MPEG.Video.Width = 720\r
+  MPEG.Video.Width_ReadOnly = False\r
+  MPEG.Video.Height = 480\r
+  MPEG.Video.Height_ReadOnly = False\r
+  MPEG.Video.YUVFormat = 1\r
+  MPEG.Video.YUVFormat_ReadOnly = False\r
+  MPEG.Video.DC_prec = 2\r
+  MPEG.Video.DC_prec_ReadOnly = False\r
+  MPEG.Video.VideoEncodeMode = MPEGVideoEncoder_VideoEncodeMode_Interlace\r
+  MPEG.Video.VideoEncodeMode_ReadOnly = False\r
+  MPEG.Video.FrameRate = 4\r
+  MPEG.Video.FrameRate_ReadOnly = False\r
+  MPEG.Video.AspectRatio = 2\r
+  MPEG.Video.AspectRatio_ReadOnly = False\r
+  MPEG.Video.RateControlMode = MPEGVideoEncoder_RateControlMode_VBR_2PASS\r
+  MPEG.Video.RateControlMode_ReadOnly = False\r
+  MPEG.Video.MaxBitRate = 0\r
+  MPEG.Video.MaxBitRate_ReadOnly = False\r
+  MPEG.Video.MinBitRate = 0\r
+  MPEG.Video.MinBitRate_ReadOnly = False\r
+  MPEG.Video.MinAvgBitRate = 0\r
+  MPEG.Video.MinAvgBitRate_ReadOnly = False\r
+  MPEG.Video.CBR_BitRate = 7000000\r
+  MPEG.Video.VBR_MultipassVBRAlgorithm = MPEGVideoEncoder_MultipassVBRAlgorithm_2PASS\r
+  MPEG.Video.VBR_AvgBitRate = 3000000\r
+  MPEG.Video.VBR_MaxBitRate = 4500000\r
+  MPEG.Video.VBR_MinBitRate = 2000000\r
+  MPEG.Video.VBR_MaxPassCount = 0\r
+  MPEG.Video.VBR_Quality_P = 0\r
+  MPEG.Video.VBR_Quality_B = 20\r
+  MPEG.Video.VBR_EnablePadding = False\r
+  MPEG.Video.MVBR_MaxBitRate = 8000000\r
+  MPEG.Video.MVBR_MinBitRate = 2000000\r
+  MPEG.Video.MVBR_Quality_P = 0\r
+  MPEG.Video.MVBR_Quality_B = 20\r
+  MPEG.Video.MVBR_EnablePadding = False\r
+  MPEG.Video.AVBR_Quality = 95\r
+  MPEG.Video.AVBR_MaxBitRate = 4500000\r
+  MPEG.Video.AVBR_MinBitRate = 2000000\r
+  MPEG.Video.AVBR_EnablePadding = False\r
+  MPEG.Video.CQ_Quality = 65\r
+  MPEG.Video.CQ_Quality_P = 0\r
+  MPEG.Video.CQ_Quality_B = 20\r
+  MPEG.Video.CQ_MaxBitRate = 8000000\r
+  MPEG.Video.CQ_MinBitRate = 2000000\r
+  MPEG.Video.CQ_EnablePadding = False\r
+  MPEG.Video.VBVBufferSize = 229376\r
+  MPEG.Video.VBVBufferSize_ReadOnly = False\r
+  MPEG.Video.GOP_SeqHeaderInterval = 1\r
+  MPEG.Video.GOP_SeqHeaderInterval_ReadOnly = False\r
+  MPEG.Video.GOP_I_FrameCount = 1\r
+  MPEG.Video.GOP_I_FrameCount_ReadOnly = False\r
+  MPEG.Video.GOP_P_FrameCount = 5\r
+  MPEG.Video.GOP_P_FrameCount_ReadOnly = False\r
+  MPEG.Video.GOP_B_FrameCount = 2\r
+  MPEG.Video.GOP_B_FrameCount_ReadOnly = False\r
+  MPEG.Video.GOP_BitStreamForEdit = False\r
+  MPEG.Video.GOP_BitStreamForEdit_ReadOnly = False\r
+  MPEG.Video.GOP_MaxFrameCount = 18\r
+  MPEG.Video.GOP_MaxFrameCount_ReadOnly = False\r
+  MPEG.Video.QuantizeMatrix_Intra_ReadOnly = False\r
+  MPEG.Video.QuantizeMatrix_NonIntra_ReadOnly = False\r
+  MPEG.Video.Profile = 4\r
+  MPEG.Video.Profile_ReadOnly = False\r
+  MPEG.Video.Level = 8\r
+  MPEG.Video.Level_ReadOnly = False\r
+  MPEG.Video.VideoFormat = 2\r
+  MPEG.Video.VideoFormat_ReadOnly = False\r
+  MPEG.Video.DisplayWidth = 0\r
+  MPEG.Video.DisplayWidth_ReadOnly = False\r
+  MPEG.Video.DisplayHeight = 0\r
+  MPEG.Video.DisplayHeight_ReadOnly = False\r
+  MPEG.Video.MotionSearchSpeed = MPEGVideoEncoder_MotionSearchSpeed_Slow\r
+  MPEG.Video.MotionSearch_AlwaysHalfPel = False\r
+  MPEG.Video.UseFloatDCT = False\r
+  MPEG.Video.QuantizeMode = False\r
+  MPEG.Video.QuantizeModeVal_Intra = 35\r
+  MPEG.Video.QuantizeModeVal_NonIntra = 35\r
+  MPEG.Video.YUVBasicYCbCr = False\r
+  MPEG.Video.QuantizeMatrix_Intra = {\r
+    081013161A1B1D22101016181B1D222513161A1B1D22222616161A1B1D222528\r
+    161A1B1D202328301A1B1D202328303A1A1B1D22262E38451B1D23262E384553}\r
+  MPEG.Video.QuantizeMatrix_NonIntra = {\r
+    1011121314151617111213141516171812131415161718191314151617181A1B\r
+    14151617191A1B1C151617181A1B1C1E1617181A1B1C1E1F1718191B1C1E1F21}\r
+  MPEG.Audio.StreamType = MPEGAudioEncoder_StreamType_MPEG1_Layer2\r
+  MPEG.Audio.StreamType_ReadOnly = False\r
+  MPEG.Audio.SamplingFrequency = 48000\r
+  MPEG.Audio.SamplingFrequency_ReadOnly = False\r
+  MPEG.Audio.ChannelMode = 0\r
+  MPEG.Audio.ChannelMode_ReadOnly = False\r
+  MPEG.Audio.CantUseMono = False\r
+  MPEG.Audio.BitRate = 256000\r
+  MPEG.Audio.BitRate_ReadOnly = False\r
+  MPEG.Audio.CalcCRC = False\r
+  MPEG.Audio.CalcCRC_ReadOnly = False\r
+  MPEG.Audio.OriginalFlag = False\r
+  MPEG.Audio.OriginalFlag_ReadOnly = False\r
+  MPEG.Audio.CopyrightFlag = False\r
+  MPEG.Audio.CopyrightFlag_ReadOnly = False\r
+  MPEG.Audio.PrivateFlag = False\r
+  MPEG.Audio.PrivateFlag_ReadOnly = False\r
+  MPEG.Audio.EmphasisType = 0\r
+  MPEG.Audio.EmphasisType_ReadOnly = False\r
+  MPEG.System.StreamType = MPEGSystemEncoder_StreamType_MPEG2_Program\r
+  MPEG.System.StreamType_ReadOnly = False\r
+  MPEG.System.EnableCommentText = False\r
+  MPEG.System.CommentText = ''\r
+end\r
diff --git a/Windows Scripts/TMPG Settings/DV to DVD CBR.mcf b/Windows Scripts/TMPG Settings/DV to DVD CBR.mcf
new file mode 100755 (executable)
index 0000000..84dd0c3
--- /dev/null
@@ -0,0 +1,125 @@
+object TMPEGConfigFile\r
+  MPEG.Text = ''\r
+  MPEG.WizardCategoryName = ''\r
+  MPEG.WizardSubFormatName = ''\r
+  MPEG.WizardCaption = ''\r
+  MPEG.WizardDescription = ''\r
+  MPEG.WizardTargetMedia = MPEGConfig_TargetMediaType_Unknown\r
+  MPEG.WizardAutoCalcVideoBitRate = False\r
+  MPEG.WizardAutoChooseList.EnableVideoSize = False\r
+  MPEG.WizardAutoChooseList.VideoSize = <>\r
+  MPEG.WizardAutoChooseList.EnableVideoGOP = False\r
+  MPEG.WizardAutoChooseList.VideoGOP = <>\r
+  MPEG.OutputStreamType = MPEG_OutputStreamType_VideoAudio\r
+  MPEG.OutputStreamType_ReadOnly = False\r
+  MPEG.Video.StreamType = MPEGVideoEncoder_StreamType_MPEG2\r
+  MPEG.Video.StreamType_ReadOnly = False\r
+  MPEG.Video.Width = 720\r
+  MPEG.Video.Width_ReadOnly = False\r
+  MPEG.Video.Height = 480\r
+  MPEG.Video.Height_ReadOnly = False\r
+  MPEG.Video.YUVFormat = 1\r
+  MPEG.Video.YUVFormat_ReadOnly = False\r
+  MPEG.Video.DC_prec = 2\r
+  MPEG.Video.DC_prec_ReadOnly = False\r
+  MPEG.Video.VideoEncodeMode = MPEGVideoEncoder_VideoEncodeMode_Interlace\r
+  MPEG.Video.VideoEncodeMode_ReadOnly = False\r
+  MPEG.Video.FrameRate = 4\r
+  MPEG.Video.FrameRate_ReadOnly = False\r
+  MPEG.Video.AspectRatio = 2\r
+  MPEG.Video.AspectRatio_ReadOnly = False\r
+  MPEG.Video.RateControlMode = MPEGVideoEncoder_RateControlMode_CBR\r
+  MPEG.Video.RateControlMode_ReadOnly = False\r
+  MPEG.Video.MaxBitRate = 0\r
+  MPEG.Video.MaxBitRate_ReadOnly = False\r
+  MPEG.Video.MinBitRate = 0\r
+  MPEG.Video.MinBitRate_ReadOnly = False\r
+  MPEG.Video.MinAvgBitRate = 0\r
+  MPEG.Video.MinAvgBitRate_ReadOnly = False\r
+  MPEG.Video.CBR_BitRate = 4500000\r
+  MPEG.Video.VBR_MultipassVBRAlgorithm = MPEGVideoEncoder_MultipassVBRAlgorithm_2PASS\r
+  MPEG.Video.VBR_AvgBitRate = 3000000\r
+  MPEG.Video.VBR_MaxBitRate = 4500000\r
+  MPEG.Video.VBR_MinBitRate = 2000000\r
+  MPEG.Video.VBR_MaxPassCount = 0\r
+  MPEG.Video.VBR_Quality_P = 0\r
+  MPEG.Video.VBR_Quality_B = 20\r
+  MPEG.Video.VBR_EnablePadding = False\r
+  MPEG.Video.MVBR_MaxBitRate = 8000000\r
+  MPEG.Video.MVBR_MinBitRate = 2000000\r
+  MPEG.Video.MVBR_Quality_P = 0\r
+  MPEG.Video.MVBR_Quality_B = 20\r
+  MPEG.Video.MVBR_EnablePadding = False\r
+  MPEG.Video.AVBR_Quality = 95\r
+  MPEG.Video.AVBR_MaxBitRate = 4500000\r
+  MPEG.Video.AVBR_MinBitRate = 2000000\r
+  MPEG.Video.AVBR_EnablePadding = False\r
+  MPEG.Video.CQ_Quality = 95\r
+  MPEG.Video.CQ_Quality_P = 0\r
+  MPEG.Video.CQ_Quality_B = 20\r
+  MPEG.Video.CQ_MaxBitRate = 4500000\r
+  MPEG.Video.CQ_MinBitRate = 2000000\r
+  MPEG.Video.CQ_EnablePadding = False\r
+  MPEG.Video.VBVBufferSize = 229376\r
+  MPEG.Video.VBVBufferSize_ReadOnly = False\r
+  MPEG.Video.GOP_SeqHeaderInterval = 1\r
+  MPEG.Video.GOP_SeqHeaderInterval_ReadOnly = False\r
+  MPEG.Video.GOP_I_FrameCount = 1\r
+  MPEG.Video.GOP_I_FrameCount_ReadOnly = False\r
+  MPEG.Video.GOP_P_FrameCount = 5\r
+  MPEG.Video.GOP_P_FrameCount_ReadOnly = False\r
+  MPEG.Video.GOP_B_FrameCount = 2\r
+  MPEG.Video.GOP_B_FrameCount_ReadOnly = False\r
+  MPEG.Video.GOP_BitStreamForEdit = False\r
+  MPEG.Video.GOP_BitStreamForEdit_ReadOnly = False\r
+  MPEG.Video.GOP_MaxFrameCount = 18\r
+  MPEG.Video.GOP_MaxFrameCount_ReadOnly = False\r
+  MPEG.Video.QuantizeMatrix_Intra_ReadOnly = False\r
+  MPEG.Video.QuantizeMatrix_NonIntra_ReadOnly = False\r
+  MPEG.Video.Profile = 4\r
+  MPEG.Video.Profile_ReadOnly = False\r
+  MPEG.Video.Level = 8\r
+  MPEG.Video.Level_ReadOnly = False\r
+  MPEG.Video.VideoFormat = 2\r
+  MPEG.Video.VideoFormat_ReadOnly = False\r
+  MPEG.Video.DisplayWidth = 0\r
+  MPEG.Video.DisplayWidth_ReadOnly = False\r
+  MPEG.Video.DisplayHeight = 0\r
+  MPEG.Video.DisplayHeight_ReadOnly = False\r
+  MPEG.Video.MotionSearchSpeed = MPEGVideoEncoder_MotionSearchSpeed_Slow\r
+  MPEG.Video.MotionSearch_AlwaysHalfPel = False\r
+  MPEG.Video.UseFloatDCT = False\r
+  MPEG.Video.QuantizeMode = False\r
+  MPEG.Video.QuantizeModeVal_Intra = 35\r
+  MPEG.Video.QuantizeModeVal_NonIntra = 35\r
+  MPEG.Video.YUVBasicYCbCr = False\r
+  MPEG.Video.QuantizeMatrix_Intra = {\r
+    081013161A1B1D22101016181B1D222513161A1B1D22222616161A1B1D222528\r
+    161A1B1D202328301A1B1D202328303A1A1B1D22262E38451B1D23262E384553}\r
+  MPEG.Video.QuantizeMatrix_NonIntra = {\r
+    1011121314151617111213141516171812131415161718191314151617181A1B\r
+    14151617191A1B1C151617181A1B1C1E1617181A1B1C1E1F1718191B1C1E1F21}\r
+  MPEG.Audio.StreamType = MPEGAudioEncoder_StreamType_MPEG1_Layer2\r
+  MPEG.Audio.StreamType_ReadOnly = False\r
+  MPEG.Audio.SamplingFrequency = 48000\r
+  MPEG.Audio.SamplingFrequency_ReadOnly = False\r
+  MPEG.Audio.ChannelMode = 0\r
+  MPEG.Audio.ChannelMode_ReadOnly = False\r
+  MPEG.Audio.CantUseMono = False\r
+  MPEG.Audio.BitRate = 256000\r
+  MPEG.Audio.BitRate_ReadOnly = False\r
+  MPEG.Audio.CalcCRC = False\r
+  MPEG.Audio.CalcCRC_ReadOnly = False\r
+  MPEG.Audio.OriginalFlag = False\r
+  MPEG.Audio.OriginalFlag_ReadOnly = False\r
+  MPEG.Audio.CopyrightFlag = False\r
+  MPEG.Audio.CopyrightFlag_ReadOnly = False\r
+  MPEG.Audio.PrivateFlag = False\r
+  MPEG.Audio.PrivateFlag_ReadOnly = False\r
+  MPEG.Audio.EmphasisType = 0\r
+  MPEG.Audio.EmphasisType_ReadOnly = False\r
+  MPEG.System.StreamType = MPEGSystemEncoder_StreamType_MPEG2_Program\r
+  MPEG.System.StreamType_ReadOnly = False\r
+  MPEG.System.EnableCommentText = False\r
+  MPEG.System.CommentText = ''\r
+end\r
diff --git a/Windows Scripts/TMPG Settings/DV to DVD CQ.mcf b/Windows Scripts/TMPG Settings/DV to DVD CQ.mcf
new file mode 100755 (executable)
index 0000000..9a54e1a
--- /dev/null
@@ -0,0 +1,125 @@
+object TMPEGConfigFile\r
+  MPEG.Text = ''\r
+  MPEG.WizardCategoryName = ''\r
+  MPEG.WizardSubFormatName = ''\r
+  MPEG.WizardCaption = ''\r
+  MPEG.WizardDescription = ''\r
+  MPEG.WizardTargetMedia = MPEGConfig_TargetMediaType_Unknown\r
+  MPEG.WizardAutoCalcVideoBitRate = False\r
+  MPEG.WizardAutoChooseList.EnableVideoSize = False\r
+  MPEG.WizardAutoChooseList.VideoSize = <>\r
+  MPEG.WizardAutoChooseList.EnableVideoGOP = False\r
+  MPEG.WizardAutoChooseList.VideoGOP = <>\r
+  MPEG.OutputStreamType = MPEG_OutputStreamType_VideoAudio\r
+  MPEG.OutputStreamType_ReadOnly = False\r
+  MPEG.Video.StreamType = MPEGVideoEncoder_StreamType_MPEG2\r
+  MPEG.Video.StreamType_ReadOnly = False\r
+  MPEG.Video.Width = 720\r
+  MPEG.Video.Width_ReadOnly = False\r
+  MPEG.Video.Height = 480\r
+  MPEG.Video.Height_ReadOnly = False\r
+  MPEG.Video.YUVFormat = 1\r
+  MPEG.Video.YUVFormat_ReadOnly = False\r
+  MPEG.Video.DC_prec = 2\r
+  MPEG.Video.DC_prec_ReadOnly = False\r
+  MPEG.Video.VideoEncodeMode = MPEGVideoEncoder_VideoEncodeMode_Interlace\r
+  MPEG.Video.VideoEncodeMode_ReadOnly = False\r
+  MPEG.Video.FrameRate = 4\r
+  MPEG.Video.FrameRate_ReadOnly = False\r
+  MPEG.Video.AspectRatio = 2\r
+  MPEG.Video.AspectRatio_ReadOnly = False\r
+  MPEG.Video.RateControlMode = MPEGVideoEncoder_RateControlMode_CQ\r
+  MPEG.Video.RateControlMode_ReadOnly = False\r
+  MPEG.Video.MaxBitRate = 0\r
+  MPEG.Video.MaxBitRate_ReadOnly = False\r
+  MPEG.Video.MinBitRate = 0\r
+  MPEG.Video.MinBitRate_ReadOnly = False\r
+  MPEG.Video.MinAvgBitRate = 0\r
+  MPEG.Video.MinAvgBitRate_ReadOnly = False\r
+  MPEG.Video.CBR_BitRate = 7000000\r
+  MPEG.Video.VBR_MultipassVBRAlgorithm = MPEGVideoEncoder_MultipassVBRAlgorithm_2PASS\r
+  MPEG.Video.VBR_AvgBitRate = 3000000\r
+  MPEG.Video.VBR_MaxBitRate = 4500000\r
+  MPEG.Video.VBR_MinBitRate = 2000000\r
+  MPEG.Video.VBR_MaxPassCount = 0\r
+  MPEG.Video.VBR_Quality_P = 0\r
+  MPEG.Video.VBR_Quality_B = 20\r
+  MPEG.Video.VBR_EnablePadding = False\r
+  MPEG.Video.MVBR_MaxBitRate = 8000000\r
+  MPEG.Video.MVBR_MinBitRate = 2000000\r
+  MPEG.Video.MVBR_Quality_P = 0\r
+  MPEG.Video.MVBR_Quality_B = 20\r
+  MPEG.Video.MVBR_EnablePadding = False\r
+  MPEG.Video.AVBR_Quality = 95\r
+  MPEG.Video.AVBR_MaxBitRate = 4500000\r
+  MPEG.Video.AVBR_MinBitRate = 2000000\r
+  MPEG.Video.AVBR_EnablePadding = False\r
+  MPEG.Video.CQ_Quality = 95\r
+  MPEG.Video.CQ_Quality_P = 0\r
+  MPEG.Video.CQ_Quality_B = 20\r
+  MPEG.Video.CQ_MaxBitRate = 4500000\r
+  MPEG.Video.CQ_MinBitRate = 2000000\r
+  MPEG.Video.CQ_EnablePadding = False\r
+  MPEG.Video.VBVBufferSize = 229376\r
+  MPEG.Video.VBVBufferSize_ReadOnly = False\r
+  MPEG.Video.GOP_SeqHeaderInterval = 1\r
+  MPEG.Video.GOP_SeqHeaderInterval_ReadOnly = False\r
+  MPEG.Video.GOP_I_FrameCount = 1\r
+  MPEG.Video.GOP_I_FrameCount_ReadOnly = False\r
+  MPEG.Video.GOP_P_FrameCount = 5\r
+  MPEG.Video.GOP_P_FrameCount_ReadOnly = False\r
+  MPEG.Video.GOP_B_FrameCount = 2\r
+  MPEG.Video.GOP_B_FrameCount_ReadOnly = False\r
+  MPEG.Video.GOP_BitStreamForEdit = False\r
+  MPEG.Video.GOP_BitStreamForEdit_ReadOnly = False\r
+  MPEG.Video.GOP_MaxFrameCount = 18\r
+  MPEG.Video.GOP_MaxFrameCount_ReadOnly = False\r
+  MPEG.Video.QuantizeMatrix_Intra_ReadOnly = False\r
+  MPEG.Video.QuantizeMatrix_NonIntra_ReadOnly = False\r
+  MPEG.Video.Profile = 4\r
+  MPEG.Video.Profile_ReadOnly = False\r
+  MPEG.Video.Level = 8\r
+  MPEG.Video.Level_ReadOnly = False\r
+  MPEG.Video.VideoFormat = 2\r
+  MPEG.Video.VideoFormat_ReadOnly = False\r
+  MPEG.Video.DisplayWidth = 0\r
+  MPEG.Video.DisplayWidth_ReadOnly = False\r
+  MPEG.Video.DisplayHeight = 0\r
+  MPEG.Video.DisplayHeight_ReadOnly = False\r
+  MPEG.Video.MotionSearchSpeed = MPEGVideoEncoder_MotionSearchSpeed_Slow\r
+  MPEG.Video.MotionSearch_AlwaysHalfPel = False\r
+  MPEG.Video.UseFloatDCT = False\r
+  MPEG.Video.QuantizeMode = False\r
+  MPEG.Video.QuantizeModeVal_Intra = 35\r
+  MPEG.Video.QuantizeModeVal_NonIntra = 35\r
+  MPEG.Video.YUVBasicYCbCr = False\r
+  MPEG.Video.QuantizeMatrix_Intra = {\r
+    081013161A1B1D22101016181B1D222513161A1B1D22222616161A1B1D222528\r
+    161A1B1D202328301A1B1D202328303A1A1B1D22262E38451B1D23262E384553}\r
+  MPEG.Video.QuantizeMatrix_NonIntra = {\r
+    1011121314151617111213141516171812131415161718191314151617181A1B\r
+    14151617191A1B1C151617181A1B1C1E1617181A1B1C1E1F1718191B1C1E1F21}\r
+  MPEG.Audio.StreamType = MPEGAudioEncoder_StreamType_MPEG1_Layer2\r
+  MPEG.Audio.StreamType_ReadOnly = False\r
+  MPEG.Audio.SamplingFrequency = 48000\r
+  MPEG.Audio.SamplingFrequency_ReadOnly = False\r
+  MPEG.Audio.ChannelMode = 0\r
+  MPEG.Audio.ChannelMode_ReadOnly = False\r
+  MPEG.Audio.CantUseMono = False\r
+  MPEG.Audio.BitRate = 256000\r
+  MPEG.Audio.BitRate_ReadOnly = False\r
+  MPEG.Audio.CalcCRC = False\r
+  MPEG.Audio.CalcCRC_ReadOnly = False\r
+  MPEG.Audio.OriginalFlag = False\r
+  MPEG.Audio.OriginalFlag_ReadOnly = False\r
+  MPEG.Audio.CopyrightFlag = False\r
+  MPEG.Audio.CopyrightFlag_ReadOnly = False\r
+  MPEG.Audio.PrivateFlag = False\r
+  MPEG.Audio.PrivateFlag_ReadOnly = False\r
+  MPEG.Audio.EmphasisType = 0\r
+  MPEG.Audio.EmphasisType_ReadOnly = False\r
+  MPEG.System.StreamType = MPEGSystemEncoder_StreamType_MPEG2_Program\r
+  MPEG.System.StreamType_ReadOnly = False\r
+  MPEG.System.EnableCommentText = False\r
+  MPEG.System.CommentText = ''\r
+end\r
diff --git a/Windows Scripts/TMPG Settings/DV to DVD wizard.mcf b/Windows Scripts/TMPG Settings/DV to DVD wizard.mcf
new file mode 100755 (executable)
index 0000000..ddf55d2
--- /dev/null
@@ -0,0 +1,125 @@
+object TMPEGConfigFile\r
+  MPEG.Text = ''\r
+  MPEG.WizardCategoryName = ''\r
+  MPEG.WizardSubFormatName = ''\r
+  MPEG.WizardCaption = ''\r
+  MPEG.WizardDescription = ''\r
+  MPEG.WizardTargetMedia = MPEGConfig_TargetMediaType_Unknown\r
+  MPEG.WizardAutoCalcVideoBitRate = False\r
+  MPEG.WizardAutoChooseList.EnableVideoSize = False\r
+  MPEG.WizardAutoChooseList.VideoSize = <>\r
+  MPEG.WizardAutoChooseList.EnableVideoGOP = False\r
+  MPEG.WizardAutoChooseList.VideoGOP = <>\r
+  MPEG.OutputStreamType = MPEG_OutputStreamType_VideoAudio\r
+  MPEG.OutputStreamType_ReadOnly = False\r
+  MPEG.Video.StreamType = MPEGVideoEncoder_StreamType_MPEG2\r
+  MPEG.Video.StreamType_ReadOnly = False\r
+  MPEG.Video.Width = 720\r
+  MPEG.Video.Width_ReadOnly = False\r
+  MPEG.Video.Height = 480\r
+  MPEG.Video.Height_ReadOnly = False\r
+  MPEG.Video.YUVFormat = 1\r
+  MPEG.Video.YUVFormat_ReadOnly = False\r
+  MPEG.Video.DC_prec = 2\r
+  MPEG.Video.DC_prec_ReadOnly = False\r
+  MPEG.Video.VideoEncodeMode = MPEGVideoEncoder_VideoEncodeMode_Interlace\r
+  MPEG.Video.VideoEncodeMode_ReadOnly = False\r
+  MPEG.Video.FrameRate = 4\r
+  MPEG.Video.FrameRate_ReadOnly = False\r
+  MPEG.Video.AspectRatio = 2\r
+  MPEG.Video.AspectRatio_ReadOnly = False\r
+  MPEG.Video.RateControlMode = MPEGVideoEncoder_RateControlMode_VBR_2PASS\r
+  MPEG.Video.RateControlMode_ReadOnly = False\r
+  MPEG.Video.MaxBitRate = 0\r
+  MPEG.Video.MaxBitRate_ReadOnly = False\r
+  MPEG.Video.MinBitRate = 0\r
+  MPEG.Video.MinBitRate_ReadOnly = False\r
+  MPEG.Video.MinAvgBitRate = 0\r
+  MPEG.Video.MinAvgBitRate_ReadOnly = False\r
+  MPEG.Video.CBR_BitRate = 4500000\r
+  MPEG.Video.VBR_MultipassVBRAlgorithm = MPEGVideoEncoder_MultipassVBRAlgorithm_2PASS\r
+  MPEG.Video.VBR_AvgBitRate = 6000000\r
+  MPEG.Video.VBR_MaxBitRate = 7000000\r
+  MPEG.Video.VBR_MinBitRate = 0\r
+  MPEG.Video.VBR_MaxPassCount = 0\r
+  MPEG.Video.VBR_Quality_P = 0\r
+  MPEG.Video.VBR_Quality_B = 20\r
+  MPEG.Video.VBR_EnablePadding = False\r
+  MPEG.Video.MVBR_MaxBitRate = 8000000\r
+  MPEG.Video.MVBR_MinBitRate = 2000000\r
+  MPEG.Video.MVBR_Quality_P = 0\r
+  MPEG.Video.MVBR_Quality_B = 20\r
+  MPEG.Video.MVBR_EnablePadding = False\r
+  MPEG.Video.AVBR_Quality = 95\r
+  MPEG.Video.AVBR_MaxBitRate = 4500000\r
+  MPEG.Video.AVBR_MinBitRate = 2000000\r
+  MPEG.Video.AVBR_EnablePadding = False\r
+  MPEG.Video.CQ_Quality = 95\r
+  MPEG.Video.CQ_Quality_P = 0\r
+  MPEG.Video.CQ_Quality_B = 20\r
+  MPEG.Video.CQ_MaxBitRate = 4500000\r
+  MPEG.Video.CQ_MinBitRate = 2000000\r
+  MPEG.Video.CQ_EnablePadding = False\r
+  MPEG.Video.VBVBufferSize = 229376\r
+  MPEG.Video.VBVBufferSize_ReadOnly = False\r
+  MPEG.Video.GOP_SeqHeaderInterval = 1\r
+  MPEG.Video.GOP_SeqHeaderInterval_ReadOnly = False\r
+  MPEG.Video.GOP_I_FrameCount = 1\r
+  MPEG.Video.GOP_I_FrameCount_ReadOnly = False\r
+  MPEG.Video.GOP_P_FrameCount = 4\r
+  MPEG.Video.GOP_P_FrameCount_ReadOnly = False\r
+  MPEG.Video.GOP_B_FrameCount = 1\r
+  MPEG.Video.GOP_B_FrameCount_ReadOnly = False\r
+  MPEG.Video.GOP_BitStreamForEdit = False\r
+  MPEG.Video.GOP_BitStreamForEdit_ReadOnly = False\r
+  MPEG.Video.GOP_MaxFrameCount = 18\r
+  MPEG.Video.GOP_MaxFrameCount_ReadOnly = False\r
+  MPEG.Video.QuantizeMatrix_Intra_ReadOnly = False\r
+  MPEG.Video.QuantizeMatrix_NonIntra_ReadOnly = False\r
+  MPEG.Video.Profile = 4\r
+  MPEG.Video.Profile_ReadOnly = False\r
+  MPEG.Video.Level = 8\r
+  MPEG.Video.Level_ReadOnly = False\r
+  MPEG.Video.VideoFormat = 2\r
+  MPEG.Video.VideoFormat_ReadOnly = False\r
+  MPEG.Video.DisplayWidth = 0\r
+  MPEG.Video.DisplayWidth_ReadOnly = False\r
+  MPEG.Video.DisplayHeight = 0\r
+  MPEG.Video.DisplayHeight_ReadOnly = False\r
+  MPEG.Video.MotionSearchSpeed = MPEGVideoEncoder_MotionSearchSpeed_Slow\r
+  MPEG.Video.MotionSearch_AlwaysHalfPel = True\r
+  MPEG.Video.UseFloatDCT = False\r
+  MPEG.Video.QuantizeMode = False\r
+  MPEG.Video.QuantizeModeVal_Intra = 35\r
+  MPEG.Video.QuantizeModeVal_NonIntra = 35\r
+  MPEG.Video.YUVBasicYCbCr = True\r
+  MPEG.Video.QuantizeMatrix_Intra = {\r
+    081013161A1B1D22101016181B1D222513161A1B1D22222616161A1B1D222528\r
+    161A1B1D202328301A1B1D202328303A1A1B1D22262E38451B1D23262E384553}\r
+  MPEG.Video.QuantizeMatrix_NonIntra = {\r
+    1011121314151617111213141516171812131415161718191314151617181A1B\r
+    14151617191A1B1C151617181A1B1C1E1617181A1B1C1E1F1718191B1C1E1F21}\r
+  MPEG.Audio.StreamType = MPEGAudioEncoder_StreamType_MPEG1_Layer2\r
+  MPEG.Audio.StreamType_ReadOnly = False\r
+  MPEG.Audio.SamplingFrequency = 48000\r
+  MPEG.Audio.SamplingFrequency_ReadOnly = False\r
+  MPEG.Audio.ChannelMode = 0\r
+  MPEG.Audio.ChannelMode_ReadOnly = False\r
+  MPEG.Audio.CantUseMono = False\r
+  MPEG.Audio.BitRate = 256000\r
+  MPEG.Audio.BitRate_ReadOnly = False\r
+  MPEG.Audio.CalcCRC = False\r
+  MPEG.Audio.CalcCRC_ReadOnly = False\r
+  MPEG.Audio.OriginalFlag = False\r
+  MPEG.Audio.OriginalFlag_ReadOnly = False\r
+  MPEG.Audio.CopyrightFlag = False\r
+  MPEG.Audio.CopyrightFlag_ReadOnly = False\r
+  MPEG.Audio.PrivateFlag = False\r
+  MPEG.Audio.PrivateFlag_ReadOnly = False\r
+  MPEG.Audio.EmphasisType = 0\r
+  MPEG.Audio.EmphasisType_ReadOnly = False\r
+  MPEG.System.StreamType = MPEGSystemEncoder_StreamType_MPEG2_Program\r
+  MPEG.System.StreamType_ReadOnly = False\r
+  MPEG.System.EnableCommentText = False\r
+  MPEG.System.CommentText = ''\r
+end\r
diff --git a/Windows Scripts/TMPG Settings/DV to DVD.mcf b/Windows Scripts/TMPG Settings/DV to DVD.mcf
new file mode 100755 (executable)
index 0000000..d70d1f3
--- /dev/null
@@ -0,0 +1,125 @@
+object TMPEGConfigFile\r
+  MPEG.Text = ''\r
+  MPEG.WizardCategoryName = ''\r
+  MPEG.WizardSubFormatName = ''\r
+  MPEG.WizardCaption = ''\r
+  MPEG.WizardDescription = ''\r
+  MPEG.WizardTargetMedia = MPEGConfig_TargetMediaType_Unknown\r
+  MPEG.WizardAutoCalcVideoBitRate = False\r
+  MPEG.WizardAutoChooseList.EnableVideoSize = False\r
+  MPEG.WizardAutoChooseList.VideoSize = <>\r
+  MPEG.WizardAutoChooseList.EnableVideoGOP = False\r
+  MPEG.WizardAutoChooseList.VideoGOP = <>\r
+  MPEG.OutputStreamType = MPEG_OutputStreamType_VideoAudio\r
+  MPEG.OutputStreamType_ReadOnly = False\r
+  MPEG.Video.StreamType = MPEGVideoEncoder_StreamType_MPEG2\r
+  MPEG.Video.StreamType_ReadOnly = False\r
+  MPEG.Video.Width = 720\r
+  MPEG.Video.Width_ReadOnly = False\r
+  MPEG.Video.Height = 480\r
+  MPEG.Video.Height_ReadOnly = False\r
+  MPEG.Video.YUVFormat = 1\r
+  MPEG.Video.YUVFormat_ReadOnly = False\r
+  MPEG.Video.DC_prec = 2\r
+  MPEG.Video.DC_prec_ReadOnly = False\r
+  MPEG.Video.VideoEncodeMode = MPEGVideoEncoder_VideoEncodeMode_Interlace\r
+  MPEG.Video.VideoEncodeMode_ReadOnly = False\r
+  MPEG.Video.FrameRate = 4\r
+  MPEG.Video.FrameRate_ReadOnly = False\r
+  MPEG.Video.AspectRatio = 2\r
+  MPEG.Video.AspectRatio_ReadOnly = False\r
+  MPEG.Video.RateControlMode = MPEGVideoEncoder_RateControlMode_VBR_Auto\r
+  MPEG.Video.RateControlMode_ReadOnly = False\r
+  MPEG.Video.MaxBitRate = 0\r
+  MPEG.Video.MaxBitRate_ReadOnly = False\r
+  MPEG.Video.MinBitRate = 0\r
+  MPEG.Video.MinBitRate_ReadOnly = False\r
+  MPEG.Video.MinAvgBitRate = 0\r
+  MPEG.Video.MinAvgBitRate_ReadOnly = False\r
+  MPEG.Video.CBR_BitRate = 7000000\r
+  MPEG.Video.VBR_MultipassVBRAlgorithm = MPEGVideoEncoder_MultipassVBRAlgorithm_2PASS\r
+  MPEG.Video.VBR_AvgBitRate = 7000000\r
+  MPEG.Video.VBR_MaxBitRate = 8000000\r
+  MPEG.Video.VBR_MinBitRate = 2000000\r
+  MPEG.Video.VBR_MaxPassCount = 0\r
+  MPEG.Video.VBR_Quality_P = 0\r
+  MPEG.Video.VBR_Quality_B = 20\r
+  MPEG.Video.VBR_EnablePadding = False\r
+  MPEG.Video.MVBR_MaxBitRate = 8000000\r
+  MPEG.Video.MVBR_MinBitRate = 2000000\r
+  MPEG.Video.MVBR_Quality_P = 0\r
+  MPEG.Video.MVBR_Quality_B = 20\r
+  MPEG.Video.MVBR_EnablePadding = False\r
+  MPEG.Video.AVBR_Quality = 95\r
+  MPEG.Video.AVBR_MaxBitRate = 4500000\r
+  MPEG.Video.AVBR_MinBitRate = 2000000\r
+  MPEG.Video.AVBR_EnablePadding = False\r
+  MPEG.Video.CQ_Quality = 65\r
+  MPEG.Video.CQ_Quality_P = 0\r
+  MPEG.Video.CQ_Quality_B = 20\r
+  MPEG.Video.CQ_MaxBitRate = 8000000\r
+  MPEG.Video.CQ_MinBitRate = 2000000\r
+  MPEG.Video.CQ_EnablePadding = False\r
+  MPEG.Video.VBVBufferSize = 229376\r
+  MPEG.Video.VBVBufferSize_ReadOnly = False\r
+  MPEG.Video.GOP_SeqHeaderInterval = 1\r
+  MPEG.Video.GOP_SeqHeaderInterval_ReadOnly = False\r
+  MPEG.Video.GOP_I_FrameCount = 1\r
+  MPEG.Video.GOP_I_FrameCount_ReadOnly = False\r
+  MPEG.Video.GOP_P_FrameCount = 4\r
+  MPEG.Video.GOP_P_FrameCount_ReadOnly = False\r
+  MPEG.Video.GOP_B_FrameCount = 1\r
+  MPEG.Video.GOP_B_FrameCount_ReadOnly = False\r
+  MPEG.Video.GOP_BitStreamForEdit = False\r
+  MPEG.Video.GOP_BitStreamForEdit_ReadOnly = False\r
+  MPEG.Video.GOP_MaxFrameCount = 18\r
+  MPEG.Video.GOP_MaxFrameCount_ReadOnly = False\r
+  MPEG.Video.QuantizeMatrix_Intra_ReadOnly = False\r
+  MPEG.Video.QuantizeMatrix_NonIntra_ReadOnly = False\r
+  MPEG.Video.Profile = 4\r
+  MPEG.Video.Profile_ReadOnly = False\r
+  MPEG.Video.Level = 8\r
+  MPEG.Video.Level_ReadOnly = False\r
+  MPEG.Video.VideoFormat = 2\r
+  MPEG.Video.VideoFormat_ReadOnly = False\r
+  MPEG.Video.DisplayWidth = 0\r
+  MPEG.Video.DisplayWidth_ReadOnly = False\r
+  MPEG.Video.DisplayHeight = 0\r
+  MPEG.Video.DisplayHeight_ReadOnly = False\r
+  MPEG.Video.MotionSearchSpeed = MPEGVideoEncoder_MotionSearchSpeed_Slow\r
+  MPEG.Video.MotionSearch_AlwaysHalfPel = False\r
+  MPEG.Video.UseFloatDCT = False\r
+  MPEG.Video.QuantizeMode = False\r
+  MPEG.Video.QuantizeModeVal_Intra = 35\r
+  MPEG.Video.QuantizeModeVal_NonIntra = 35\r
+  MPEG.Video.YUVBasicYCbCr = False\r
+  MPEG.Video.QuantizeMatrix_Intra = {\r
+    081013161A1B1D22101016181B1D222513161A1B1D22222616161A1B1D222528\r
+    161A1B1D202328301A1B1D202328303A1A1B1D22262E38451B1D23262E384553}\r
+  MPEG.Video.QuantizeMatrix_NonIntra = {\r
+    1011121314151617111213141516171812131415161718191314151617181A1B\r
+    14151617191A1B1C151617181A1B1C1E1617181A1B1C1E1F1718191B1C1E1F21}\r
+  MPEG.Audio.StreamType = MPEGAudioEncoder_StreamType_MPEG1_Layer2\r
+  MPEG.Audio.StreamType_ReadOnly = False\r
+  MPEG.Audio.SamplingFrequency = 48000\r
+  MPEG.Audio.SamplingFrequency_ReadOnly = False\r
+  MPEG.Audio.ChannelMode = 0\r
+  MPEG.Audio.ChannelMode_ReadOnly = False\r
+  MPEG.Audio.CantUseMono = False\r
+  MPEG.Audio.BitRate = 256000\r
+  MPEG.Audio.BitRate_ReadOnly = False\r
+  MPEG.Audio.CalcCRC = False\r
+  MPEG.Audio.CalcCRC_ReadOnly = False\r
+  MPEG.Audio.OriginalFlag = False\r
+  MPEG.Audio.OriginalFlag_ReadOnly = False\r
+  MPEG.Audio.CopyrightFlag = False\r
+  MPEG.Audio.CopyrightFlag_ReadOnly = False\r
+  MPEG.Audio.PrivateFlag = False\r
+  MPEG.Audio.PrivateFlag_ReadOnly = False\r
+  MPEG.Audio.EmphasisType = 0\r
+  MPEG.Audio.EmphasisType_ReadOnly = False\r
+  MPEG.System.StreamType = MPEGSystemEncoder_StreamType_MPEG2_Program\r
+  MPEG.System.StreamType_ReadOnly = False\r
+  MPEG.System.EnableCommentText = False\r
+  MPEG.System.CommentText = ''\r
+end\r
diff --git a/Windows Scripts/TMPG Settings/TV to DVD wizard CBR.mcf b/Windows Scripts/TMPG Settings/TV to DVD wizard CBR.mcf
new file mode 100755 (executable)
index 0000000..f3d3af4
--- /dev/null
@@ -0,0 +1,127 @@
+object TMPEGConfigFile\r
+  MPEG.Text = '$$DVD_NTSC_4_3_LowResolution'\r
+  MPEG.WizardCategoryName = '$$DVD\$$NTSC_LowResolution'\r
+  MPEG.WizardSubFormatName = 'CBR   $$WS_Audio_MPEG1LayerII'\r
+  MPEG.WizardCaption = '$$WC_DVD_NTSC_4_3_LowResolution'\r
+  MPEG.WizardDescription = \r
+    '$$WD_Header_DVD'#13#10#13#10'$$WD_FileInfo_DVD_Lowres'#13#10#13#10'$$WD_TVSystem_NTS' +\r
+    'C'#13#10#13#10'$$WD_RecTime_DVD_MPA_max'\r
+  MPEG.WizardTargetMedia = MPEGConfig_TargetMediaType_DVD_47GB\r
+  MPEG.WizardAutoCalcVideoBitRate = False\r
+  MPEG.WizardAutoChooseList.EnableVideoSize = False\r
+  MPEG.WizardAutoChooseList.VideoSize = <>\r
+  MPEG.WizardAutoChooseList.EnableVideoGOP = False\r
+  MPEG.WizardAutoChooseList.VideoGOP = <>\r
+  MPEG.OutputStreamType = MPEG_OutputStreamType_VideoAudio\r
+  MPEG.OutputStreamType_ReadOnly = False\r
+  MPEG.Video.StreamType = MPEGVideoEncoder_StreamType_MPEG2\r
+  MPEG.Video.StreamType_ReadOnly = True\r
+  MPEG.Video.Width = 352\r
+  MPEG.Video.Width_ReadOnly = True\r
+  MPEG.Video.Height = 240\r
+  MPEG.Video.Height_ReadOnly = True\r
+  MPEG.Video.YUVFormat = 1\r
+  MPEG.Video.YUVFormat_ReadOnly = True\r
+  MPEG.Video.DC_prec = 1\r
+  MPEG.Video.DC_prec_ReadOnly = False\r
+  MPEG.Video.VideoEncodeMode = MPEGVideoEncoder_VideoEncodeMode_Progressive\r
+  MPEG.Video.VideoEncodeMode_ReadOnly = True\r
+  MPEG.Video.FrameRate = 4\r
+  MPEG.Video.FrameRate_ReadOnly = True\r
+  MPEG.Video.AspectRatio = 2\r
+  MPEG.Video.AspectRatio_ReadOnly = True\r
+  MPEG.Video.RateControlMode = MPEGVideoEncoder_RateControlMode_CBR\r
+  MPEG.Video.RateControlMode_ReadOnly = False\r
+  MPEG.Video.MaxBitRate = 8000000\r
+  MPEG.Video.MaxBitRate_ReadOnly = False\r
+  MPEG.Video.MinBitRate = 0\r
+  MPEG.Video.MinBitRate_ReadOnly = False\r
+  MPEG.Video.MinAvgBitRate = 750000\r
+  MPEG.Video.MinAvgBitRate_ReadOnly = False\r
+  MPEG.Video.CBR_BitRate = 1000000\r
+  MPEG.Video.VBR_MultipassVBRAlgorithm = MPEGVideoEncoder_MultipassVBRAlgorithm_MultipassCQ\r
+  MPEG.Video.VBR_AvgBitRate = 2000000\r
+  MPEG.Video.VBR_MaxBitRate = 8000000\r
+  MPEG.Video.VBR_MinBitRate = 0\r
+  MPEG.Video.VBR_MaxPassCount = 2\r
+  MPEG.Video.VBR_Quality_P = 0\r
+  MPEG.Video.VBR_Quality_B = 20\r
+  MPEG.Video.VBR_EnablePadding = True\r
+  MPEG.Video.MVBR_MaxBitRate = 8000000\r
+  MPEG.Video.MVBR_MinBitRate = 1000000\r
+  MPEG.Video.MVBR_Quality_P = 0\r
+  MPEG.Video.MVBR_Quality_B = 20\r
+  MPEG.Video.MVBR_EnablePadding = True\r
+  MPEG.Video.AVBR_Quality = 50\r
+  MPEG.Video.AVBR_MaxBitRate = 8000000\r
+  MPEG.Video.AVBR_MinBitRate = 1000000\r
+  MPEG.Video.AVBR_EnablePadding = True\r
+  MPEG.Video.CQ_Quality = 65\r
+  MPEG.Video.CQ_Quality_P = 0\r
+  MPEG.Video.CQ_Quality_B = 20\r
+  MPEG.Video.CQ_MaxBitRate = 8000000\r
+  MPEG.Video.CQ_MinBitRate = 1000000\r
+  MPEG.Video.CQ_EnablePadding = True\r
+  MPEG.Video.VBVBufferSize = 229376\r
+  MPEG.Video.VBVBufferSize_ReadOnly = True\r
+  MPEG.Video.GOP_SeqHeaderInterval = 1\r
+  MPEG.Video.GOP_SeqHeaderInterval_ReadOnly = True\r
+  MPEG.Video.GOP_I_FrameCount = 1\r
+  MPEG.Video.GOP_I_FrameCount_ReadOnly = True\r
+  MPEG.Video.GOP_P_FrameCount = 5\r
+  MPEG.Video.GOP_P_FrameCount_ReadOnly = True\r
+  MPEG.Video.GOP_B_FrameCount = 2\r
+  MPEG.Video.GOP_B_FrameCount_ReadOnly = True\r
+  MPEG.Video.GOP_BitStreamForEdit = True\r
+  MPEG.Video.GOP_BitStreamForEdit_ReadOnly = False\r
+  MPEG.Video.GOP_MaxFrameCount = 18\r
+  MPEG.Video.GOP_MaxFrameCount_ReadOnly = True\r
+  MPEG.Video.QuantizeMatrix_Intra_ReadOnly = False\r
+  MPEG.Video.QuantizeMatrix_NonIntra_ReadOnly = False\r
+  MPEG.Video.Profile = 4\r
+  MPEG.Video.Profile_ReadOnly = True\r
+  MPEG.Video.Level = 8\r
+  MPEG.Video.Level_ReadOnly = True\r
+  MPEG.Video.VideoFormat = 2\r
+  MPEG.Video.VideoFormat_ReadOnly = True\r
+  MPEG.Video.DisplayWidth = 0\r
+  MPEG.Video.DisplayWidth_ReadOnly = False\r
+  MPEG.Video.DisplayHeight = 0\r
+  MPEG.Video.DisplayHeight_ReadOnly = False\r
+  MPEG.Video.MotionSearchSpeed = MPEGVideoEncoder_MotionSearchSpeed_MotionEstimate\r
+  MPEG.Video.MotionSearch_AlwaysHalfPel = False\r
+  MPEG.Video.UseFloatDCT = False\r
+  MPEG.Video.QuantizeMode = False\r
+  MPEG.Video.QuantizeModeVal_Intra = 35\r
+  MPEG.Video.QuantizeModeVal_NonIntra = 35\r
+  MPEG.Video.YUVBasicYCbCr = False\r
+  MPEG.Video.QuantizeMatrix_Intra = {\r
+    081013161A1B1D22101016181B1D222513161A1B1D22222616161A1B1D222528\r
+    161A1B1D202328301A1B1D202328303A1A1B1D22262E38451B1D23262E384553}\r
+  MPEG.Video.QuantizeMatrix_NonIntra = {\r
+    1011121314151617111213141516171812131415161718191314151617181A1B\r
+    14151617191A1B1C151617181A1B1C1E1617181A1B1C1E1F1718191B1C1E1F21}\r
+  MPEG.Audio.StreamType = MPEGAudioEncoder_StreamType_MPEG1_Layer2\r
+  MPEG.Audio.StreamType_ReadOnly = True\r
+  MPEG.Audio.SamplingFrequency = 48000\r
+  MPEG.Audio.SamplingFrequency_ReadOnly = True\r
+  MPEG.Audio.ChannelMode = 0\r
+  MPEG.Audio.ChannelMode_ReadOnly = False\r
+  MPEG.Audio.CantUseMono = True\r
+  MPEG.Audio.BitRate = 256000\r
+  MPEG.Audio.BitRate_ReadOnly = False\r
+  MPEG.Audio.CalcCRC = True\r
+  MPEG.Audio.CalcCRC_ReadOnly = False\r
+  MPEG.Audio.OriginalFlag = False\r
+  MPEG.Audio.OriginalFlag_ReadOnly = False\r
+  MPEG.Audio.CopyrightFlag = False\r
+  MPEG.Audio.CopyrightFlag_ReadOnly = False\r
+  MPEG.Audio.PrivateFlag = False\r
+  MPEG.Audio.PrivateFlag_ReadOnly = False\r
+  MPEG.Audio.EmphasisType = 0\r
+  MPEG.Audio.EmphasisType_ReadOnly = False\r
+  MPEG.System.StreamType = MPEGSystemEncoder_StreamType_MPEG2_Program\r
+  MPEG.System.StreamType_ReadOnly = True\r
+  MPEG.System.EnableCommentText = False\r
+  MPEG.System.CommentText = ''\r
+end\r
diff --git a/Windows Scripts/TMPG Settings/TV to DVD wizard VBR.mcf b/Windows Scripts/TMPG Settings/TV to DVD wizard VBR.mcf
new file mode 100755 (executable)
index 0000000..904a5ec
--- /dev/null
@@ -0,0 +1,127 @@
+object TMPEGConfigFile\r
+  MPEG.Text = '$$DVD_NTSC_4_3_LowResolution'\r
+  MPEG.WizardCategoryName = '$$DVD\$$NTSC_LowResolution'\r
+  MPEG.WizardSubFormatName = 'VBR   $$WS_Audio_MPEG1LayerII'\r
+  MPEG.WizardCaption = '$$WC_DVD_NTSC_4_3_LowResolution'\r
+  MPEG.WizardDescription = \r
+    '$$WD_Header_DVD'#13#10#13#10'$$WD_FileInfo_DVD_Lowres'#13#10#13#10'$$WD_TVSystem_NTS' +\r
+    'C'#13#10#13#10'$$WD_RecTime_DVD_MPA_max'#13#10#13#10'$$WD_2passVBR'\r
+  MPEG.WizardTargetMedia = MPEGConfig_TargetMediaType_DVD_47GB\r
+  MPEG.WizardAutoCalcVideoBitRate = False\r
+  MPEG.WizardAutoChooseList.EnableVideoSize = False\r
+  MPEG.WizardAutoChooseList.VideoSize = <>\r
+  MPEG.WizardAutoChooseList.EnableVideoGOP = False\r
+  MPEG.WizardAutoChooseList.VideoGOP = <>\r
+  MPEG.OutputStreamType = MPEG_OutputStreamType_VideoAudio\r
+  MPEG.OutputStreamType_ReadOnly = False\r
+  MPEG.Video.StreamType = MPEGVideoEncoder_StreamType_MPEG2\r
+  MPEG.Video.StreamType_ReadOnly = True\r
+  MPEG.Video.Width = 352\r
+  MPEG.Video.Width_ReadOnly = True\r
+  MPEG.Video.Height = 240\r
+  MPEG.Video.Height_ReadOnly = True\r
+  MPEG.Video.YUVFormat = 1\r
+  MPEG.Video.YUVFormat_ReadOnly = True\r
+  MPEG.Video.DC_prec = 1\r
+  MPEG.Video.DC_prec_ReadOnly = False\r
+  MPEG.Video.VideoEncodeMode = MPEGVideoEncoder_VideoEncodeMode_Progressive\r
+  MPEG.Video.VideoEncodeMode_ReadOnly = True\r
+  MPEG.Video.FrameRate = 4\r
+  MPEG.Video.FrameRate_ReadOnly = True\r
+  MPEG.Video.AspectRatio = 2\r
+  MPEG.Video.AspectRatio_ReadOnly = True\r
+  MPEG.Video.RateControlMode = MPEGVideoEncoder_RateControlMode_VBR_2PASS\r
+  MPEG.Video.RateControlMode_ReadOnly = False\r
+  MPEG.Video.MaxBitRate = 8000000\r
+  MPEG.Video.MaxBitRate_ReadOnly = False\r
+  MPEG.Video.MinBitRate = 0\r
+  MPEG.Video.MinBitRate_ReadOnly = False\r
+  MPEG.Video.MinAvgBitRate = 750000\r
+  MPEG.Video.MinAvgBitRate_ReadOnly = False\r
+  MPEG.Video.CBR_BitRate = 2000000\r
+  MPEG.Video.VBR_MultipassVBRAlgorithm = MPEGVideoEncoder_MultipassVBRAlgorithm_MultipassCQ\r
+  MPEG.Video.VBR_AvgBitRate = 1000000\r
+  MPEG.Video.VBR_MaxBitRate = 8000000\r
+  MPEG.Video.VBR_MinBitRate = 0\r
+  MPEG.Video.VBR_MaxPassCount = 2\r
+  MPEG.Video.VBR_Quality_P = 0\r
+  MPEG.Video.VBR_Quality_B = 20\r
+  MPEG.Video.VBR_EnablePadding = True\r
+  MPEG.Video.MVBR_MaxBitRate = 8000000\r
+  MPEG.Video.MVBR_MinBitRate = 1000000\r
+  MPEG.Video.MVBR_Quality_P = 0\r
+  MPEG.Video.MVBR_Quality_B = 20\r
+  MPEG.Video.MVBR_EnablePadding = True\r
+  MPEG.Video.AVBR_Quality = 50\r
+  MPEG.Video.AVBR_MaxBitRate = 8000000\r
+  MPEG.Video.AVBR_MinBitRate = 1000000\r
+  MPEG.Video.AVBR_EnablePadding = True\r
+  MPEG.Video.CQ_Quality = 65\r
+  MPEG.Video.CQ_Quality_P = 0\r
+  MPEG.Video.CQ_Quality_B = 20\r
+  MPEG.Video.CQ_MaxBitRate = 8000000\r
+  MPEG.Video.CQ_MinBitRate = 1000000\r
+  MPEG.Video.CQ_EnablePadding = True\r
+  MPEG.Video.VBVBufferSize = 229376\r
+  MPEG.Video.VBVBufferSize_ReadOnly = True\r
+  MPEG.Video.GOP_SeqHeaderInterval = 1\r
+  MPEG.Video.GOP_SeqHeaderInterval_ReadOnly = True\r
+  MPEG.Video.GOP_I_FrameCount = 1\r
+  MPEG.Video.GOP_I_FrameCount_ReadOnly = True\r
+  MPEG.Video.GOP_P_FrameCount = 5\r
+  MPEG.Video.GOP_P_FrameCount_ReadOnly = True\r
+  MPEG.Video.GOP_B_FrameCount = 2\r
+  MPEG.Video.GOP_B_FrameCount_ReadOnly = True\r
+  MPEG.Video.GOP_BitStreamForEdit = True\r
+  MPEG.Video.GOP_BitStreamForEdit_ReadOnly = False\r
+  MPEG.Video.GOP_MaxFrameCount = 18\r
+  MPEG.Video.GOP_MaxFrameCount_ReadOnly = True\r
+  MPEG.Video.QuantizeMatrix_Intra_ReadOnly = False\r
+  MPEG.Video.QuantizeMatrix_NonIntra_ReadOnly = False\r
+  MPEG.Video.Profile = 4\r
+  MPEG.Video.Profile_ReadOnly = True\r
+  MPEG.Video.Level = 8\r
+  MPEG.Video.Level_ReadOnly = True\r
+  MPEG.Video.VideoFormat = 2\r
+  MPEG.Video.VideoFormat_ReadOnly = True\r
+  MPEG.Video.DisplayWidth = 0\r
+  MPEG.Video.DisplayWidth_ReadOnly = False\r
+  MPEG.Video.DisplayHeight = 0\r
+  MPEG.Video.DisplayHeight_ReadOnly = False\r
+  MPEG.Video.MotionSearchSpeed = MPEGVideoEncoder_MotionSearchSpeed_MotionEstimate\r
+  MPEG.Video.MotionSearch_AlwaysHalfPel = False\r
+  MPEG.Video.UseFloatDCT = False\r
+  MPEG.Video.QuantizeMode = False\r
+  MPEG.Video.QuantizeModeVal_Intra = 35\r
+  MPEG.Video.QuantizeModeVal_NonIntra = 35\r
+  MPEG.Video.YUVBasicYCbCr = False\r
+  MPEG.Video.QuantizeMatrix_Intra = {\r
+    081013161A1B1D22101016181B1D222513161A1B1D22222616161A1B1D222528\r
+    161A1B1D202328301A1B1D202328303A1A1B1D22262E38451B1D23262E384553}\r
+  MPEG.Video.QuantizeMatrix_NonIntra = {\r
+    1011121314151617111213141516171812131415161718191314151617181A1B\r
+    14151617191A1B1C151617181A1B1C1E1617181A1B1C1E1F1718191B1C1E1F21}\r
+  MPEG.Audio.StreamType = MPEGAudioEncoder_StreamType_MPEG1_Layer2\r
+  MPEG.Audio.StreamType_ReadOnly = True\r
+  MPEG.Audio.SamplingFrequency = 48000\r
+  MPEG.Audio.SamplingFrequency_ReadOnly = True\r
+  MPEG.Audio.ChannelMode = 0\r
+  MPEG.Audio.ChannelMode_ReadOnly = False\r
+  MPEG.Audio.CantUseMono = True\r
+  MPEG.Audio.BitRate = 256000\r
+  MPEG.Audio.BitRate_ReadOnly = False\r
+  MPEG.Audio.CalcCRC = True\r
+  MPEG.Audio.CalcCRC_ReadOnly = False\r
+  MPEG.Audio.OriginalFlag = False\r
+  MPEG.Audio.OriginalFlag_ReadOnly = False\r
+  MPEG.Audio.CopyrightFlag = False\r
+  MPEG.Audio.CopyrightFlag_ReadOnly = False\r
+  MPEG.Audio.PrivateFlag = False\r
+  MPEG.Audio.PrivateFlag_ReadOnly = False\r
+  MPEG.Audio.EmphasisType = 0\r
+  MPEG.Audio.EmphasisType_ReadOnly = False\r
+  MPEG.System.StreamType = MPEGSystemEncoder_StreamType_MPEG2_Program\r
+  MPEG.System.StreamType_ReadOnly = True\r
+  MPEG.System.EnableCommentText = False\r
+  MPEG.System.CommentText = ''\r
+end\r
diff --git a/Windows Scripts/TMPG Settings/TV to DVD.mcf b/Windows Scripts/TMPG Settings/TV to DVD.mcf
new file mode 100755 (executable)
index 0000000..265b898
--- /dev/null
@@ -0,0 +1,141 @@
+object TMPEGConfigFile\r
+  MPEG.Text = ''\r
+  MPEG.WizardCategoryName = ''\r
+  MPEG.WizardSubFormatName = ''\r
+  MPEG.WizardCaption = ''\r
+  MPEG.WizardDescription = ''\r
+  MPEG.WizardTargetMedia = MPEGConfig_TargetMediaType_Unknown\r
+  MPEG.WizardAutoCalcVideoBitRate = False\r
+  MPEG.WizardAutoChooseList.EnableVideoSize = False\r
+  MPEG.WizardAutoChooseList.VideoSize = <\r
+    item\r
+      MinVideoBitRate = 2000000\r
+      Width = 352\r
+      Height = 480\r
+      VideoEncodeMode = MPEGVideoEncoder_VideoEncodeMode_Interlace\r
+      FrameRate = 4\r
+      AspectRatio = 2\r
+    end\r
+    item\r
+      MinVideoBitRate = 4000000\r
+      Width = 720\r
+      Height = 480\r
+      VideoEncodeMode = MPEGVideoEncoder_VideoEncodeMode_Interlace\r
+      FrameRate = 4\r
+      AspectRatio = 2\r
+    end>\r
+  MPEG.WizardAutoChooseList.EnableVideoGOP = False\r
+  MPEG.WizardAutoChooseList.VideoGOP = <>\r
+  MPEG.OutputStreamType = MPEG_OutputStreamType_VideoAudio\r
+  MPEG.OutputStreamType_ReadOnly = False\r
+  MPEG.Video.StreamType = MPEGVideoEncoder_StreamType_MPEG2\r
+  MPEG.Video.StreamType_ReadOnly = False\r
+  MPEG.Video.Width = 352\r
+  MPEG.Video.Width_ReadOnly = False\r
+  MPEG.Video.Height = 240\r
+  MPEG.Video.Height_ReadOnly = False\r
+  MPEG.Video.YUVFormat = 1\r
+  MPEG.Video.YUVFormat_ReadOnly = False\r
+  MPEG.Video.DC_prec = 2\r
+  MPEG.Video.DC_prec_ReadOnly = False\r
+  MPEG.Video.VideoEncodeMode = MPEGVideoEncoder_VideoEncodeMode_Interlace\r
+  MPEG.Video.VideoEncodeMode_ReadOnly = False\r
+  MPEG.Video.FrameRate = 4\r
+  MPEG.Video.FrameRate_ReadOnly = False\r
+  MPEG.Video.AspectRatio = 2\r
+  MPEG.Video.AspectRatio_ReadOnly = False\r
+  MPEG.Video.RateControlMode = MPEGVideoEncoder_RateControlMode_VBR_Auto\r
+  MPEG.Video.RateControlMode_ReadOnly = False\r
+  MPEG.Video.MaxBitRate = 0\r
+  MPEG.Video.MaxBitRate_ReadOnly = False\r
+  MPEG.Video.MinBitRate = 0\r
+  MPEG.Video.MinBitRate_ReadOnly = False\r
+  MPEG.Video.MinAvgBitRate = 0\r
+  MPEG.Video.MinAvgBitRate_ReadOnly = False\r
+  MPEG.Video.CBR_BitRate = 7000000\r
+  MPEG.Video.VBR_MultipassVBRAlgorithm = MPEGVideoEncoder_MultipassVBRAlgorithm_2PASS\r
+  MPEG.Video.VBR_AvgBitRate = 7000000\r
+  MPEG.Video.VBR_MaxBitRate = 8000000\r
+  MPEG.Video.VBR_MinBitRate = 2000000\r
+  MPEG.Video.VBR_MaxPassCount = 0\r
+  MPEG.Video.VBR_Quality_P = 0\r
+  MPEG.Video.VBR_Quality_B = 20\r
+  MPEG.Video.VBR_EnablePadding = False\r
+  MPEG.Video.MVBR_MaxBitRate = 8000000\r
+  MPEG.Video.MVBR_MinBitRate = 2000000\r
+  MPEG.Video.MVBR_Quality_P = 0\r
+  MPEG.Video.MVBR_Quality_B = 20\r
+  MPEG.Video.MVBR_EnablePadding = False\r
+  MPEG.Video.AVBR_Quality = 95\r
+  MPEG.Video.AVBR_MaxBitRate = 4500000\r
+  MPEG.Video.AVBR_MinBitRate = 1000000\r
+  MPEG.Video.AVBR_EnablePadding = True\r
+  MPEG.Video.CQ_Quality = 65\r
+  MPEG.Video.CQ_Quality_P = 0\r
+  MPEG.Video.CQ_Quality_B = 20\r
+  MPEG.Video.CQ_MaxBitRate = 8000000\r
+  MPEG.Video.CQ_MinBitRate = 2000000\r
+  MPEG.Video.CQ_EnablePadding = False\r
+  MPEG.Video.VBVBufferSize = 229376\r
+  MPEG.Video.VBVBufferSize_ReadOnly = False\r
+  MPEG.Video.GOP_SeqHeaderInterval = 1\r
+  MPEG.Video.GOP_SeqHeaderInterval_ReadOnly = False\r
+  MPEG.Video.GOP_I_FrameCount = 1\r
+  MPEG.Video.GOP_I_FrameCount_ReadOnly = False\r
+  MPEG.Video.GOP_P_FrameCount = 4\r
+  MPEG.Video.GOP_P_FrameCount_ReadOnly = False\r
+  MPEG.Video.GOP_B_FrameCount = 1\r
+  MPEG.Video.GOP_B_FrameCount_ReadOnly = False\r
+  MPEG.Video.GOP_BitStreamForEdit = False\r
+  MPEG.Video.GOP_BitStreamForEdit_ReadOnly = False\r
+  MPEG.Video.GOP_MaxFrameCount = 18\r
+  MPEG.Video.GOP_MaxFrameCount_ReadOnly = False\r
+  MPEG.Video.QuantizeMatrix_Intra_ReadOnly = False\r
+  MPEG.Video.QuantizeMatrix_NonIntra_ReadOnly = False\r
+  MPEG.Video.Profile = 4\r
+  MPEG.Video.Profile_ReadOnly = False\r
+  MPEG.Video.Level = 8\r
+  MPEG.Video.Level_ReadOnly = False\r
+  MPEG.Video.VideoFormat = 2\r
+  MPEG.Video.VideoFormat_ReadOnly = False\r
+  MPEG.Video.DisplayWidth = 0\r
+  MPEG.Video.DisplayWidth_ReadOnly = False\r
+  MPEG.Video.DisplayHeight = 0\r
+  MPEG.Video.DisplayHeight_ReadOnly = False\r
+  MPEG.Video.MotionSearchSpeed = MPEGVideoEncoder_MotionSearchSpeed_Normal\r
+  MPEG.Video.MotionSearch_AlwaysHalfPel = False\r
+  MPEG.Video.UseFloatDCT = False\r
+  MPEG.Video.QuantizeMode = False\r
+  MPEG.Video.QuantizeModeVal_Intra = 35\r
+  MPEG.Video.QuantizeModeVal_NonIntra = 35\r
+  MPEG.Video.YUVBasicYCbCr = False\r
+  MPEG.Video.QuantizeMatrix_Intra = {\r
+    081013161A1B1D22101016181B1D222513161A1B1D22222616161A1B1D222528\r
+    161A1B1D202328301A1B1D202328303A1A1B1D22262E38451B1D23262E384553}\r
+  MPEG.Video.QuantizeMatrix_NonIntra = {\r
+    1011121314151617111213141516171812131415161718191314151617181A1B\r
+    14151617191A1B1C151617181A1B1C1E1617181A1B1C1E1F1718191B1C1E1F21}\r
+  MPEG.Audio.StreamType = MPEGAudioEncoder_StreamType_MPEG1_Layer2\r
+  MPEG.Audio.StreamType_ReadOnly = False\r
+  MPEG.Audio.SamplingFrequency = 48000\r
+  MPEG.Audio.SamplingFrequency_ReadOnly = False\r
+  MPEG.Audio.ChannelMode = 0\r
+  MPEG.Audio.ChannelMode_ReadOnly = False\r
+  MPEG.Audio.CantUseMono = False\r
+  MPEG.Audio.BitRate = 256000\r
+  MPEG.Audio.BitRate_ReadOnly = False\r
+  MPEG.Audio.CalcCRC = False\r
+  MPEG.Audio.CalcCRC_ReadOnly = False\r
+  MPEG.Audio.OriginalFlag = False\r
+  MPEG.Audio.OriginalFlag_ReadOnly = False\r
+  MPEG.Audio.CopyrightFlag = False\r
+  MPEG.Audio.CopyrightFlag_ReadOnly = False\r
+  MPEG.Audio.PrivateFlag = False\r
+  MPEG.Audio.PrivateFlag_ReadOnly = False\r
+  MPEG.Audio.EmphasisType = 0\r
+  MPEG.Audio.EmphasisType_ReadOnly = False\r
+  MPEG.System.StreamType = MPEGSystemEncoder_StreamType_MPEG2_Program\r
+  MPEG.System.StreamType_ReadOnly = False\r
+  MPEG.System.EnableCommentText = False\r
+  MPEG.System.CommentText = ''\r
+end\r
diff --git a/Windows Scripts/Thumbs.db b/Windows Scripts/Thumbs.db
new file mode 100755 (executable)
index 0000000..784cb68
Binary files /dev/null and b/Windows Scripts/Thumbs.db differ
diff --git a/Windows Scripts/dv2all.bat b/Windows Scripts/dv2all.bat
new file mode 100755 (executable)
index 0000000..aa09c9a
--- /dev/null
@@ -0,0 +1,17 @@
+echo ########################\r
+echo Converting DV to DIVX...\r
+echo ########################\r
+echo.\r
+dv2divx.bat\r
+\r
+echo ######################\r
+echo Converting DV to RM...\r
+echo ######################\r
+echo.\r
+C:\Perl\bin\perl -w dv2rm.pl\r
+\r
+######\r
+DONE!!\r
+######\r
+\r
+pause
\ No newline at end of file
diff --git a/Windows Scripts/dv2divx.bat b/Windows Scripts/dv2divx.bat
new file mode 100755 (executable)
index 0000000..6067262
--- /dev/null
@@ -0,0 +1 @@
+"C:\Program Files\Java\j2re1.4.0\bin\javaw.exe" -jar "C:\Program Files\DubMan\DubMan.jar" "V:\Videos\DubMan Templates\Convert DV to DivX.djt" /r\r
diff --git a/Windows Scripts/dv2divx_2pass.bat b/Windows Scripts/dv2divx_2pass.bat
new file mode 100755 (executable)
index 0000000..913737e
--- /dev/null
@@ -0,0 +1 @@
+"C:\Program Files\Java\j2re1.4.1_02\bin\javaw.exe" -jar "C:\Program Files\DubMan\DubMan.jar" "V:\Videos\DubMan Templates\Convert DV to DivX 2 passes.djt" /r\r
diff --git a/Windows Scripts/dv2divx_2pass_HQ.bat b/Windows Scripts/dv2divx_2pass_HQ.bat
new file mode 100755 (executable)
index 0000000..1e22866
--- /dev/null
@@ -0,0 +1 @@
+"C:\Program Files\Java\j2re1.4.0\bin\javaw.exe" -jar "C:\Program Files\DubMan\DubMan.jar" "V:\Videos\DubMan Templates\Convert DV to DivX 2nd pass HQ.djt" /r\r
diff --git a/Windows Scripts/dv2rm.bat b/Windows Scripts/dv2rm.bat
new file mode 100755 (executable)
index 0000000..3a1ed91
--- /dev/null
@@ -0,0 +1 @@
+C:\Perl\bin\perl V:\Videos\dv2rm.pl
\ No newline at end of file
diff --git a/Windows Scripts/dv2rm.pl b/Windows Scripts/dv2rm.pl
new file mode 100755 (executable)
index 0000000..460b888
--- /dev/null
@@ -0,0 +1,125 @@
+# Author: Alan J. Pippin\r
+# Perl script written for a windows based machine running\r
+# Real Producer to auotmatically create rm videos for all\r
+# the avi files in a given directory.\r
+\r
+#$dvpath = "U:\\MiniDV\\";\r
+#$dvpath = "U:\\DVtoRM\\";\r
+$dvpath = "V:\\MiniDV\\";\r
+$webdir = "V:\\RealContent\\www";\r
+$ipaqdir= "V:\\RealContent\\ipaq";\r
+$hqdir  = "V:\\RealContent\\HQ";\r
+$producer = "C:\\Program\ Files\\Real\\Helix\ Producer\ Plus\\producer.exe";\r
+$author = "Alan J. Pippin";\r
+$date_prog = "F:\\cygwin\\bin\\date.exe";\r
+$logfile = "V:\\RealContent\\convert.log";\r
+$audiogain = 0; # Can be -12 to 12\r
+\r
+$makeweb  = 1; # Can be 0 or 1\r
+$makeipaq = 0; # Can be 0 or 1\r
+$makehq   = 0; # Can be 0 or 1\r
+\r
+opendir( DIR, $dvpath ) or die "Can't open $path: $!";\r
+chdir $dvpath;\r
+unlink "$logfile";\r
+\r
+$start_time = `$date_prog`; chomp $start_time;\r
+\r
+$numfiles=0;\r
+while ( $file  = readdir( DIR ) ) {\r
+    if( -d "$path\\$file" ) { next; }\r
+    if( $file !~ /\.avi|mpg|mpg2$/) { next; }\r
+    $numfiles++;\r
+}\r
+close(DIR);\r
+\r
+if($makeweb==1) {\r
+opendir( DIR, $dvpath );\r
+print "------------------------------------------------------------------\n";\r
+print "-> Converting all video files in $dvpath to web streamed rm files...\n";\r
+print "------------------------------------------------------------------\n\n";\r
+$fileno = 0;\r
+while ( $file  = readdir( DIR ) ) {\r
+    if( -d "$path\\$file" ) { next; }\r
+    if( $file !~ /\.avi|mpg|mpg2$/) { next; }\r
+    $fileno++;\r
+    $file =~ /^(.*?)\.(avi|mpg|mpg2)$/; $filename = $1; $ext = $2;\r
+    $date = `$date_prog`;\r
+    $outfile = "$filename.rm"; $outfile =~ s/\s/_/g; $outfile =~ tr/[A-Z]/[a-z]/;\r
+    $outfile = "$webdir\\$outfile";\r
+    print "-> [$fileno/$numfiles] Encoding $filename.$ext -> $outfile\n";\r
+    print "   Started $date";\r
+    if( -e "$outfile") { print "   Output file $outfile already exists...\n"; next; }\r
+    $options = "-t \"$filename\" -a \"$author\" -i \"$file\" ";\r
+    $options.= "-o \"$outfile\" -ad \"28k,56k,128k,150k\" ";\r
+    $options.= "-rs 320x213 -ag $audiogain";\r
+    system("\"$producer\" $options");\r
+    print "\n";\r
+    $date = `$date_prog`;\r
+    print "   Finished $date\n\n";\r
+}\r
+close(DIR);\r
+}\r
+\r
+if($makeipaq==1) {\r
+opendir( DIR, $dvpath );\r
+print "-------------------------------------------------------------------------\n";\r
+print "-> Converting all avi files in $dvpath to ipaq single streamed rm files...\n";\r
+print "-------------------------------------------------------------------------\n\n";\r
+$fileno = 0;\r
+while ( $file  = readdir( DIR ) ) {\r
+    if( -d "$path\\$file" ) { next; }\r
+    if( $file !~ /\.avi$/) { next; }\r
+    $fileno++;\r
+    $file =~ /^(.*?)\.avi$/; $filename = $1;\r
+    $date = `$date_prog`;\r
+    $outfile = "$filename"; $outfile =~ s/\s/_/g; $outfile =~ tr/[A-Z]/[a-z]/; $outfile.="_ipaq.rm";\r
+    $outfile = "$ipaqdir\\$outfile";\r
+    print "-> [$fileno/$numfiles] Encoding $filename.avi -> $outfile\n";\r
+    print "   Started $date";\r
+    if( -e "$outfile") { print "   Output file already exists...\n"; next; }\r
+    $options = "-t \"$filename\" -a \"$author\" -i \"$file\" ";\r
+    $options.= "-o \"$outfile\" -ad \"128k\" ";\r
+    $options.= "-rs 320x240 -ag $audiogain";\r
+    system("\"$producer\" $options");\r
+    print "\n";\r
+    $date = `$date_prog`;\r
+    print "   Finished $date\n\n";\r
+}\r
+close(DIR);\r
+}\r
+\r
+if($makehq==1) {\r
+opendir( DIR, $dvpath );\r
+print "-------------------------------------------------------------------------\n";\r
+print "-> Converting all avi files in $dvpath to HighQual single streamed rm files...\n";\r
+print "-------------------------------------------------------------------------\n\n";\r
+$fileno = 0;\r
+while ( $file  = readdir( DIR ) ) {\r
+    if( -d "$path\\$file" ) { next; }\r
+    if( $file !~ /\.avi$/) { next; }\r
+    $fileno++;\r
+    $file =~ /^(.*?)\.avi$/; $filename = $1;\r
+    $date = `$date_prog`;\r
+    $outfile = "$filename"; $outfile =~ s/\s/_/g; $outfile =~ tr/[A-Z]/[a-z]/; $outfile.="_hq.rm";\r
+    $outfile = "$hqdir\\$outfile";\r
+    print "-> [$fileno/$numfiles] Encoding $filename.avi -> $outfile\n";\r
+    print "   Started $date";\r
+    if( -e "$outfile") { print "   Output file already exists...\n"; next; }\r
+    $options = "-t \"$filename\" -a \"$author\" -i \"$file\" ";\r
+    $options.= "-o \"$outfile\" -ad \"512k\" ";\r
+    $options.= "-rs 720x480 -ag $audiogain";\r
+    system("\"$producer\" $options");\r
+    print "\n";\r
+    $date = `$date_prog`;\r
+    print "   Finished $date\n\n";\r
+}\r
+close(DIR);\r
+}\r
+\r
+$stop_time = `$date_prog`; chomp $stop_time;\r
+\r
+print "Total Time Summary:\n$start_time\n$stop_time\n\n";\r
+print "Press 'Enter' to continue..."; <STDIN>\r
+\r
+\r
diff --git a/avi2divx b/avi2divx
new file mode 100755 (executable)
index 0000000..511ac6f
--- /dev/null
+++ b/avi2divx
@@ -0,0 +1,22 @@
+#!/bin/bash
+
+MINBITRATE=6000
+MAXBITRATE=8000
+
+BITRATE="vbitrate=$MINBITRATE:vrc_maxrate=$MAXBITRATE:vrc_buf_size=1835:vrc_minrate=$MINBITRATE"
+PASS1_OPTS="-mc 0 -oac mp3lame -lameopts cbr:cbr=196 -ffourcc XVID -fps 29.97 -ovc lavc "
+PASS1_OPTS="$PASS1_OPTS -lavcopts vcodec=mpeg4:vhq:keyint=15:vpass=1:$BITRATE -vf pp=ci"
+PASS2_OPTS="-mc 0 -oac mp3lame -lameopts cbr:cbr=196 -ffourcc XVID -fps 29.97 -ovc lavc "
+PASS2_OPTS="$PASS2_OPTS -lavcopts vcodec=mpeg4:vhq:keyint=15:vpass=2:$BITRATE -vf pp=ci"
+
+INFILE=$*
+OUTFILE=`echo $* | sed 's/\.avi/\.divx.avi/g'`
+
+date
+echo "-> 1st pass: /usr/bin/mencoder $PASS1_OPTS -o \"$OUTFILE\" -idx \"$INFILE\""
+/usr/bin/mencoder $PASS1_OPTS -o "$OUTFILE" -idx "$INFILE"
+date
+echo "-> 2nd pasS: /usr/bin/mencoder $PASS2_OPTS -o \"$OUTFILE\" -idx \"$INFILE\""
+/usr/bin/mencoder $PASS2_OPTS -o "$OUTFILE" -idx "$INFILE"
+date
+
diff --git a/avi2divx4 b/avi2divx4
new file mode 100755 (executable)
index 0000000..c86cc16
--- /dev/null
+++ b/avi2divx4
@@ -0,0 +1,13 @@
+#!/bin/bash
+
+BITRATE=6000
+PASS1_OPTS="-mc 0 -oac mp3lame -lameopts cbr:cbr=196 -ffourcc XVID -fps 29.97 "
+PASS1_OPTS="$PASS1_OPTS -ovc divx4 -divx4opts q=5:br=$BITRATE:key=30"
+INFILE=$*
+OUTFILE=`echo $* | sed 's/\.avi/\.divx4.avi/g'`
+
+date
+echo "-> 1st pass: /usr/bin/mencoder $PASS1_OPTS -o \"$OUTFILE\" -idx \"$INFILE\""
+/usr/bin/mencoder $PASS1_OPTS -o "$OUTFILE" -idx "$INFILE"
+date
+
diff --git a/avi2flv b/avi2flv
new file mode 100755 (executable)
index 0000000..89a7784
--- /dev/null
+++ b/avi2flv
@@ -0,0 +1,25 @@
+#!/bin/bash
+
+if [[ -z "$1" ]];
+then
+  echo "Usage: $0 <filename>"
+  exit 1
+fi
+
+echo "-> Encoding $1 to flash video format..."
+
+if [[ ! -f "$1" ]];
+then
+  echo "-E- Unable to find file to encode: $1"
+  exit 1
+fi
+
+# set output filename
+output=`echo $1 | sed -e 's/\..*$/\.flv/'`
+
+# first pass
+ffmpeg -y -i $1 -s 320x240 -pass 1 -acodec copy $output
+
+# second pass
+ffmpeg -y -i $1 -s 320x240 -pass 2 -acodec copy $output
+
diff --git a/avi2mp3avi b/avi2mp3avi
new file mode 100755 (executable)
index 0000000..8880d82
--- /dev/null
@@ -0,0 +1,4 @@
+#!/bin/bash
+
+cat "$1" | mencoder -oac mp3lame -ovc copy - -o "$2"
+
diff --git a/avi2raw b/avi2raw
new file mode 100755 (executable)
index 0000000..18f52f8
--- /dev/null
+++ b/avi2raw
@@ -0,0 +1,10 @@
+#!/bin/bash
+
+OPTS="-oac pcm -ovc raw -vf format"
+INFILE=$*
+OUTFILE=`echo $* | sed 's/\.avi/\.raw.avi/g'`
+
+date
+echo "-> /usr/bin/mencoder $OPTS -o \"$OUTFILE\" -idx \"$INFILE\""
+/usr/bin/mencoder $OPTS -o "$OUTFILE" -idx "$INFILE"
+
diff --git a/avi2xvid b/avi2xvid
new file mode 100755 (executable)
index 0000000..2a4f7fc
--- /dev/null
+++ b/avi2xvid
@@ -0,0 +1,18 @@
+#!/bin/bash
+
+BITRATE=6000
+PASS1_OPTS="-mc 0 -oac mp3lame -lameopts cbr:cbr=196 -ffourcc XVID -fps 29.97 "
+PASS1_OPTS="$PASS1_OPTS -ovc xvid -xvidencopts me_quality=0:vhq=0:pass=1:bitrate=$BITRATE"
+PASS2_OPTS="-mc 0 -oac mp3lame -lameopts cbr:cbr=196 -ffourcc XVID -fps 29.97 "
+PASS2_OPTS="$PASS2_OPTS -ovc xvid -xvidencopts me_quality=6:vhq=3:pass=2:bitrate=$BITRATE"
+INFILE=$*
+OUTFILE=`echo $* | sed 's/\.avi/\.xvid.avi/g'`
+
+date
+echo "-> 1st pass: /usr/bin/mencoder $PASS1_OPTS -o \"$OUTFILE\" -idx \"$INFILE\""
+/usr/bin/mencoder $PASS1_OPTS -o "$OUTFILE" -idx "$INFILE"
+date
+echo "-> 2nd pasS: /usr/bin/mencoder $PASS2_OPTS -o \"$OUTFILE\" -idx \"$INFILE\""
+/usr/bin/mencoder $PASS2_OPTS -o "$OUTFILE" -idx "$INFILE"
+date
+
diff --git a/avimerge b/avimerge
new file mode 100755 (executable)
index 0000000..7b680b4
Binary files /dev/null and b/avimerge differ
diff --git a/backup_system.cmd b/backup_system.cmd
new file mode 100755 (executable)
index 0000000..c46b8ae
--- /dev/null
@@ -0,0 +1,14 @@
+#!/bin/bash
+
+# Remove any old backup images
+rm -rf /home/backup/*
+
+# Since this entire system fits on 1 DVD, blow away old backup database
+rm -f /var/lib/backups/backups.db
+
+# Create a new backup image
+/usr/local/bin/pack-image.sh
+
+# Burn the new backup image
+/usr/local/bin/burn-imgs.sh
+
diff --git a/burniso.cmd b/burniso.cmd
new file mode 100755 (executable)
index 0000000..ae8c602
--- /dev/null
@@ -0,0 +1,3 @@
+#!/bin/bash
+
+wodim -v -dao dev=/dev/hda $*
diff --git a/copy_home_videos.cmd b/copy_home_videos.cmd
new file mode 100755 (executable)
index 0000000..f672576
--- /dev/null
@@ -0,0 +1,64 @@
+#!/bin/bash
+# DESCRIPTION:
+# Wrapper script around make_home_videos.pl script that
+# facilitates copying over the daily_clips to another
+# linux server location, properly merging the clips
+# created with the existing clips and playlists on
+# the remote server.
+# USAGE:   copy_home_videos.cmd <tapename>
+# EXAMPLE: copy_home_videos.cmd Dec06-Apr07
+
+SERVER="/mnt/p/video/HomeVideos"
+
+# Copy the daily clips over to the main file server
+pushd "$*/daily_clips" > /dev/null
+lastyear=""
+for i in `/bin/ls -1 *.avi`;
+do 
+  filename=`echo "$i" | sed 's/.avi//g'`
+  year=`echo "$filename" | awk --field-separator - '{print $1}'`
+  month=`echo "$filename" | awk --field-separator - '{print $2}'`
+  day=`echo "$filename" | awk --field-separator - '{print $3}'`
+
+  # set lastyear if we haven't done so yet
+  if [[ -z "$lastyear" ]]; 
+  then
+    lastyear="$year"
+  fi
+
+  # if we have changed year directories, remake the playlists for lastyear
+  if [[ "$year" != "$lastyear" ]]; 
+  then
+    pushd "$SERVER/$lastyear" > /dev/null
+    make_home_videos.pl -p -d .
+    popd > /dev/null
+  fi
+
+  # make the destination directory if it is missing
+  if [[ ! -d "$SERVER/$year" ]]; 
+  then 
+    mkdir "$SERVER/$year"
+  fi
+
+  # don't overwrite existing filenames
+  basefilename="$filename"
+  num=0
+  while [[ -f "$SERVER/$year/$filename.avi" ]];
+  do 
+    ((num++))
+    filename="$basefilename.$num"
+  done
+
+  echo "Copying $i to $SERVER/$year/$filename.avi"
+  cp "$i" "$SERVER/$year/$filename.avi"
+  
+  lastyear=$year
+done
+
+# remake the playlists for year
+pushd "$SERVER/$year" > /dev/null
+make_home_videos.pl -p -d .
+popd > /dev/null
+
+popd > /dev/null
+
diff --git a/create_merge_videos b/create_merge_videos
new file mode 100644 (file)
index 0000000..aaa1c9a
--- /dev/null
@@ -0,0 +1 @@
+make_home_video.pl -m -d <path to video dir>
diff --git a/dos2ux b/dos2ux
new file mode 100755 (executable)
index 0000000..a1a2cec
Binary files /dev/null and b/dos2ux differ
diff --git a/dump_raw_video_files_from_camera b/dump_raw_video_files_from_camera
new file mode 100755 (executable)
index 0000000..d540dd7
--- /dev/null
@@ -0,0 +1 @@
+/usr/bin/dvgrab --autosplit --timestamp --format dv2  --opendml --size 22000 home_video_
diff --git a/em b/em
new file mode 100755 (executable)
index 0000000..90b80f1
--- /dev/null
+++ b/em
@@ -0,0 +1,3 @@
+#!/bin/bash
+/usr/bin/emacs -fn 8x13 $* &
+
diff --git a/fix_video_names b/fix_video_names
new file mode 100644 (file)
index 0000000..266f312
--- /dev/null
@@ -0,0 +1 @@
+rn 's/\.00\.avi/-00_xvid2500\.avi/' *
diff --git a/make_home_videos.cmd b/make_home_videos.cmd
new file mode 100755 (executable)
index 0000000..ac3fa22
--- /dev/null
@@ -0,0 +1,72 @@
+#!/bin/bash
+# DESCRIPTION:
+# Wrapper script around make_home_videos.pl script that
+# facilitates copying over the daily_clips to another
+# linux server location, properly merging the clips
+# created with the existing clips and playlists on
+# the remote server.
+# USAGE:   make_home_videos.cmd <tapename>
+# EXAMPLE: make_home_videos.cmd Dec06-Apr07
+
+SERVER="/mnt/server/videos/HomeVideos"
+MAKE_VIDEOS="/mnt/server/videos/bin/make_home_videos.pl"
+
+$MAKE_VIDEOS -e -c -m -p -a -n $*
+
+# Copy the daily clips over to the main file server
+pushd "$*/daily_clips" > /dev/null
+lastyear=""
+for i in `/bin/ls -1 *.avi`;
+do 
+  filename=`echo "$i" | sed 's/.avi//g'`
+  year=`echo "$filename" | awk --field-separator - '{print $1}'`
+  month=`echo "$filename" | awk --field-separator - '{print $2}'`
+  day=`echo "$filename" | awk --field-separator - '{print $3}'`
+
+  # set lastyear if we haven't done so yet
+  if [[ -z "$lastyear" ]]; 
+  then
+    lastyear="$year"
+  fi
+
+  # if we have changed year directories, remake the playlists for lastyear
+  if [[ "$year" != "$lastyear" ]]; 
+  then
+    pushd "$SERVER/$lastyear" > /dev/null
+    $MAKE_VIDEOS -p -d .
+    popd > /dev/null
+  fi
+
+  # make the destination directory if it is missing
+  if [[ ! -d "$SERVER/$year" ]]; 
+  then 
+    mkdir "$SERVER/$year"
+  fi
+
+  # don't overwrite existing filenames
+  basefilename="$filename"
+  num=0
+  while [[ -f "$SERVER/$year/$filename.avi" ]];
+  do 
+    ((num++))
+    filename="$basefilename.$num"
+  done
+
+  echo "Copying $i to $SERVER/$year/$filename.avi"
+  cp "$i" "$SERVER/$year/$filename.avi"
+  
+  lastyear=$year
+done
+
+# remake the playlists for year
+pushd "$SERVER/$year" > /dev/null
+$MAKE_VIDEOS -p -d .
+popd > /dev/null
+
+popd > /dev/null
+
+echo "-> Rebooting the system in 10 seconds... Press CTRL-C to abort..."
+sleep 10
+echo "-> Rebooting now..."
+sudo /sbin/reboot
+
diff --git a/make_home_videos.cmd.noreboot b/make_home_videos.cmd.noreboot
new file mode 100755 (executable)
index 0000000..a34a1a5
--- /dev/null
@@ -0,0 +1,67 @@
+#!/bin/bash
+# DESCRIPTION:
+# Wrapper script around make_home_videos.pl script that
+# facilitates copying over the daily_clips to another
+# linux server location, properly merging the clips
+# created with the existing clips and playlists on
+# the remote server.
+# USAGE:   make_home_videos.cmd <tapename>
+# EXAMPLE: make_home_videos.cmd Dec06-Apr07
+
+SERVER="/mnt/server/videos/HomeVideos"
+MAKE_VIDEOS="/mnt/server/videos/bin/make_home_videos.pl"
+
+$MAKE_VIDEOS -e -c -m -p -a -n $*
+
+# Copy the daily clips over to the main file server
+pushd "$*/daily_clips" > /dev/null
+lastyear=""
+for i in `/bin/ls -1 *.avi`;
+do 
+  filename=`echo "$i" | sed 's/.avi//g'`
+  year=`echo "$filename" | awk --field-separator - '{print $1}'`
+  month=`echo "$filename" | awk --field-separator - '{print $2}'`
+  day=`echo "$filename" | awk --field-separator - '{print $3}'`
+
+  # set lastyear if we haven't done so yet
+  if [[ -z "$lastyear" ]]; 
+  then
+    lastyear="$year"
+  fi
+
+  # if we have changed year directories, remake the playlists for lastyear
+  if [[ "$year" != "$lastyear" ]]; 
+  then
+    pushd "$SERVER/$lastyear" > /dev/null
+    $MAKE_VIDEOS -p -d .
+    popd > /dev/null
+  fi
+
+  # make the destination directory if it is missing
+  if [[ ! -d "$SERVER/$year" ]]; 
+  then 
+    mkdir "$SERVER/$year"
+  fi
+
+  # don't overwrite existing filenames
+  basefilename="$filename"
+  num=0
+  while [[ -f "$SERVER/$year/$filename.avi" ]];
+  do 
+    ((num++))
+    filename="$basefilename.$num"
+  done
+
+  echo "Copying $i to $SERVER/$year/$filename.avi"
+  cp "$i" "$SERVER/$year/$filename.avi"
+  
+  lastyear=$year
+done
+
+# remake the playlists for year
+pushd "$SERVER/$year" > /dev/null
+$MAKE_VIDEOS -p -d .
+popd > /dev/null
+
+popd > /dev/null
+
diff --git a/make_home_videos.pl b/make_home_videos.pl
new file mode 100755 (executable)
index 0000000..a35a983
--- /dev/null
@@ -0,0 +1,352 @@
+#!/usr/bin/perl
+
+# Prerequisites:
+# This script requires the following linux packages to be installed:
+# 1) dvgrab    : apt-get install dvgrab
+# 2) mencoder  : http://www.mplayerhq.hu/homepage/design7/dload.html
+# 3) transcode : vi sources.list; deb ftp://ftp.nerim.net/debian-marillat sarge main
+#                apt-get install transcode
+
+use Getopt::Std;
+
+############################################################
+# GLOBALS
+############################################################
+$uid = "ajp";
+$gid = "ajp";
+#bitrate=3000 is a good choice to allow 2 90 minutes tapes to fit on one DVD
+#bitrate=4500 is a good choice to allow 2 60 minute tapes to fit on one DVD
+$bitrate = 4500; 
+$encoded_dir = "xvid_clips";
+$merge_dir = "daily_clips";
+$default_tape_name = "home_video";
+$playlist_extension = "pls";
+$dvgrab = "/usr/local/bin/dvgrab";
+$mencoder = "/usr/bin/mencoder";
+$mplayer = "/usr/bin/mplayer";
+$avimerge = "/usr/bin/avimerge";
+$avisplit = "/usr/bin/avisplit";
+$xvid_suffix = "_xvid$bitrate";
+$dvgrab_log = "../dvgrab.log";
+$mencoder_log = "../encoding_errors.log";
+$merge_log = "../avimerge.log";
+$max_dv_clip_size_in_mb = "1023"; #I had to keep it at this size to avoid errors until avisplit fixed them.
+#$max_dv_clip_size_in_mb = "22000"; #avisplit still doesn't seem to do things right for large clips
+# max_tape_grab_time=7200 Allows Max time of 2 hours to allow a tape to be dumped (good for 90 min tape)
+# max_tape_grab_time=5400 Allows Max time of 1.5 hours to allow a tape to be dumped (good for 60 min tape)
+$max_tape_grab_time = 5400;
+$dvgrab_options = "--autosplit --timestamp --format dv2 --opendml --buffers 500";
+$encode_options_pass1 = "-mc 0 -oac mp3lame -lameopts cbr:cbr=128 -ffourcc XVID -fps 29.97 -ovc lavc ";
+$encode_options_pass1.= "-lavcopts vcodec=mpeg4:vhq:vbitrate=$bitrate:keyint=15:vpass=1 -vf pp=ci";
+$encode_options_pass2 = "-mc 0 -oac mp3lame -lameopts cbr:cbr=128 -ffourcc XVID -fps 29.97 -ovc lavc ";
+$encode_options_pass2.= "-lavcopts vcodec=mpeg4:vhq:vbitrate=$bitrate:keyint=15:vpass=2 -vf pp=ci";
+$mplayer_identify_options = "-vo null -ao null -identify -frames 0";
+
+$SIG{ALRM} = \&stop_dvgrab;
+$SIG{INT}  = \&exit_now;
+$SIG{SUSP} = \&exit_now;
+
+############################################################
+# COMMAND LINE OPTIONS & PROCESSING
+############################################################
+getopts('hecrasvpmb:t:n:d:');
+if($opt_h) { &usage(); }
+
+sub usage() {
+    print "\n";
+    print "Usage: $0 <options>\n";
+    print "   -e         Encode captured raw video from camera.\n";
+    print "   -c         Capture raw video from camera.\n";
+    print "   -m         Merge videos clips found in the directory specified by -d <dir>. \n";
+    print "   -p         Create video playlists for each year & month of video clips in the directory specified by -d <dir>.\n";
+    print "   -n <tape>  Name of the tape to prepend to the front of each videoclip filename.\n";
+    print "   -d <dir>   Directory we want to encode. If not specified, <dir>=<tape>\n";
+    print "   -a         Use abbreviated names for merged video clips: yyyy-mm-dd.avi vs. <tape>.yyyy.mm.dd.avi\n";
+    print "   -s         Simulate Mode. Don't encode, just tell me what you would do.\n";
+    print "   -h         Show this usage\n";
+    print "   -v         Show verbosity\n";
+    print "   -t <min>   Time in minutes to grab from the camera (default "; print $max_tape_grab_time/60; print ")\n";
+    print "   -b <mb>    Max size each clip grabbed should be in MB (default $max_dv_clip_size_in_mb)\n";
+    print "   -r         Reboot the system once the script completes.\n";
+    print "\n";
+    print "File Structure:\n";
+    print "   <dir>/<tape>*.avi               MiniDV Raw AVI files\n";
+    print "   <dir>/$encoded_dir/<tape>*.avi    XVID compressed versions of the Raw AVI files\n";
+    print "   <dir>/$merge_dir/<tape>*.avi   All XVID clips taken on each day combined together\n";
+    print "\n";
+    exit 1;
+}
+
+if(!$opt_n && !$opt_d) { &usage(); }
+
+if(!$opt_c && !$opt_e && !$opt_p && $opt_m) {
+    if(!$opt_d) { &usage(); }
+    $opt_m = $opt_d;
+    $merge_only = 1;
+}
+else { $merge_only = 0; }
+
+if(!$opt_c && !$opt_e && !$opt_m && $opt_p) {
+    if(!$opt_d) { &usage(); }
+    $opt_p = $opt_d;
+    $playlist_only = 1;
+}
+else { $playlist_only = 0; }
+
+if(!$opt_d) { 
+    system("mkdir -p $opt_n");
+    chdir "$opt_n";
+    $opt_d = $opt_n;
+} else {
+    if(! -d $opt_d) { die "-E- Could not cd to $opt_d\n"; }
+    chdir "$opt_d";
+    if(!$opt_n) { $opt_n = $default_tape_name; }
+}
+if($opt_t) { $max_tape_grab_time = $opt_t * 60; }
+if($opt_b) { $max_dv_clip_size_in_mb = $opt_b; }
+$video_directory = qx[pwd]; chomp($video_directory);
+
+print "\n-> Changed working directory to: $video_directory\n";
+
+############################################################
+# MAIN
+############################################################
+print "\n";
+
+if($opt_c) { &capture_videos(); }
+if($opt_e) { &encode_videos(); }
+if($opt_m) { &merge_videos(); }
+if($opt_p) { &create_playlists(); }
+
+# Fix the permissions
+print "-> Fixing permissions: chown -R $uid.$gid\n";
+system("chown -R $uid.$gid ../$opt_d");
+
+print "\n";
+if($opt_r) { &reboot_system(); }
+
+############################################################
+# SUBROUTINES
+############################################################
+
+sub exit_now {
+    print "-E- Interupt signal recieved. Exiting..\n";
+    &stop_dvgrab();
+    exit 1;
+}
+
+# A little routine to stop dvgrab. It hangs when it hits the end of a tape.
+sub stop_dvgrab {
+    my $prog = "dvgrab";
+    my @pids;
+    my $numkilled = 0;
+    @pids = `ps -efw | grep $prog | grep -v grep | grep -v $0`;
+    foreach $pid ( @pids ) {
+       $oldpid = $pid;
+       if( $pid =~ s/^\S*\s*(\d*).*$prog.*\n$/$1/ ) {
+           if($pid eq "") { next; }
+           print "$date : -I- Stopped dvgrab Process id: \"$pid\"\n";
+           system("kill -9 $pid");
+           $numkilled++;
+       }
+    }
+    sleep 5;
+}
+
+sub capture_videos {
+    if(! -f $dvgrab ){ die "-E- Missing required component: $dvgrab\n"; }
+    alarm($max_tape_grab_time);
+    $minutes = $max_tape_grab_time / 60;
+    print "-> Max tape grab time set to $minutes minutes\n";
+    print "-> Grabbing raw video from the camera\n";
+    print "   Sending the status of grabbing the raw video to $dvgrab_log\n";
+    print "   Press CTRL-C once to stop the video grab and move onto the next step\n";
+    print "   Press CTRL-C three times to stop the video grab and exit\n";
+    print "\n";
+    if(!$opt_s) {
+       system("rm -f $dvgrab_log; touch $dvgrab_log; tail -f $dvgrab_log &");
+       print "$dvgrab $dvgrab_options --size $max_dv_clip_size_in_mb ${opt_n}_\n";
+       system("$dvgrab $dvgrab_options --size $max_dv_clip_size_in_mb ${opt_n}_ 2> $dvgrab_log");
+    }
+    else { print "   $dvgrab $dvgrab_options --size $max_dv_clip_size_in_mb ${opt_n}_ 2> $dvgrab_log\n"; }
+    alarm(0);
+    sleep 5; # Give some time to catch an interrupt if needed
+    print "-> Done grabbing video from camera\n\n";
+}
+
+sub encode_videos {
+    if(! -f $mencoder) { die "-E- Missing required component: $mencoder\n"; }
+    print "-> Creating high quality xvid copies of each video clip\n";
+  
+    system("rm -f $mencoder_log");
+    system("touch $mencoder_log");
+    
+    my $current_file = "";
+    my $current_output_file = "";
+    my $prev_output_file_dv = "";
+    my $prev_output_file_xvid = "";
+
+    print "   Processing All Videos in Directory: $video_directory\n";
+    
+    opendir(VIDEODIR, $video_directory) or die "-E- Could not open: $video_directory";
+    my @all_files = readdir VIDEODIR;
+    closedir(VIDEODIR);
+    @all_files = sort @all_files;
+    system "mkdir -p $encoded_dir";
+    
+    foreach $current_file (@all_files) {
+       next if -d $current_file;
+       next if (!($current_file =~ /\.avi$/));
+       $current_output_file = $current_file;
+       $current_output_file =~ s/\.avi$/$xvid_suffix\.avi/;
+       if (-f "./$encoded_dir/$current_output_file") {
+           print "   skipping $current_file - ./$encoded_dir/$current_output_file already exists.\n";
+           next;
+       }
+       print "   $current_file -> ./$encoded_dir/$current_output_file\n";
+       if($opt_v) {
+           print "$mencoder $encode_options_pass1 -o ./$encoded_dir/$current_output_file -idx $current_file\n";
+           print "$mencoder $encode_options_pass2 -o ./$encoded_dir/$current_output_file -idx $current_file\n";
+       }
+       if(!$opt_s) {
+           $tempfile = `tempfile`; chomp($tempfile);
+           system("$mencoder $encode_options_pass1 -o ./$encoded_dir/$current_output_file -idx $current_file 2>$tempfile");
+           system("$mencoder $encode_options_pass2 -o ./$encoded_dir/$current_output_file -idx $current_file 2>>$tempfile");
+           if(! -e "./$encoded_dir/$current_output_file") {
+               print "-WARNING- File could not be encoded. Attempting repair through avisplit. Encoding reattempt will follow.\n";
+               if(! -f $avisplit) { die "-E- Missing required component: $avisplit\n"; }
+               $split_size = $max_dv_clip_size_in_mb * 10;
+               system("$avisplit -s $split_size -i $current_file");
+               #print "$avisplit -s $split_size -i $current_file\n";
+               system("mv $current_file-0000 $current_file");
+               system("$mencoder $encode_options_pass1 -o ./$encoded_dir/$current_output_file -idx $current_file 2>>$tempfile");
+               system("$mencoder $encode_options_pass2 -o ./$encoded_dir/$current_output_file -idx $current_file 2>>$tempfile");
+               if(! -e "./$encoded_dir/$current_output_file") {
+                   print "-E- Errors encountered encoding $current_file\n";
+                   system("echo \"-> Errors encountered encoding $current_file\" >> $mencoder_log");
+                   system("cat $tempfile >> $mencoder_log");
+               }
+           }
+           unlink "$tempfile";
+           sleep 2; # Give some time to catch an interrupt if needed
+       }
+    }
+    
+    $current_output_file = "";
+    print "-> Done creating xvid copies\n\n";
+}
+
+sub merge_videos {
+    if(! -f $avimerge) { die "-E- Missing required component: $avimerge\n"; }
+    print "-> Now creating merged videos for each day\n";
+    
+    system("rm -f $merge_log");
+    system("touch $merge_log");
+    system "mkdir -p $merge_dir";
+    
+    if($merge_only) {
+       print "-> Merging all videos by day from this directory: $video_directory\n";
+       opendir(VIDEODIR, "$video_directory") or die "-E- Could not open: $video_directory";
+    } else {
+       print "-> Merging all videos by day from this directory: $video_directory/$encoded_dir\n";
+       opendir(VIDEODIR, "$video_directory/$encoded_dir") or die "-E- Could not open: $video_directory/$encoded_dir";
+    }
+    print "\n";
+    
+    my @all_files = readdir VIDEODIR;
+    closedir(VIDEODIR);
+    @all_files = sort @all_files;
+    foreach $current_file (@all_files) {
+       next if -d $current_file;
+       next if (!($current_file =~ /\.avi$/));
+       next if (system("$mplayer $mplayer_identify_options $current_file 2>&1 | grep \"Missing video stream\" > /dev/null") == 0);
+       $current_output_file = $current_file;
+       $current_output_file =~ s/_[\-0-9]{8}\.avi$/\.avi/;
+       $current_output_file =~ s/_[\-0-9]{8}$xvid_suffix\.avi$/\.avi/;
+       if($opt_a && $current_output_file =~ /.*?(\d\d\d\d)\.(\d\d)\.(\d\d)/) {
+           $current_output_file = "$1-$2-$3.avi";
+           if( -f "./$merge_dir/$current_output_file" ) {
+               my $num = 1;
+               while(-f "./$merge_dir/$1-$2-$3.$num.avi") { $num++; }
+               $current_output_file = "$1-$2-$3.$num.avi";
+           }
+       }
+       if (!($prev_output_file eq $current_output_file) && !($prev_output_file eq "")) {
+           print "   Creating merged video: ./$merge_dir/$prev_output_file_xvid\n";
+           if($opt_v) {
+               print "   $avimerge -c -o ./$merge_dir/$prev_output_file_xvid -i $files_to_merge\n";
+           }
+           if(!$opt_s) {
+               system("$avimerge -c -o ./$merge_dir/$prev_output_file_xvid -i $files_to_merge >> $merge_log");
+               sleep 2; # Give some time to catch an interrupt if needed
+           }
+           $files_to_merge = "";
+           print "\n";
+       }
+       #store all the file names into one variable
+       if($merge_only) {           
+           $files_to_merge .= " ./$current_file";
+           print "   adding ./$current_file to merge list\n";
+       } else {
+           $files_to_merge .= " ./$encoded_dir/$current_file";
+           print "   adding ./$encoded_dir/$current_file to merge list\n";
+       }
+       $prev_output_file = $current_output_file;
+       $prev_output_file_xvid = $current_output_file;
+    }
+    
+    #Now merge the last one
+    if (!($current_output_file eq "")) {
+       print "   Creating merged video: ./$merge_dir/$prev_output_file_xvid\n";
+       if($opt_v) {
+           print "   $avimerge -o ./$merge_dir/$prev_output_file_xvid -i $files_to_merge\n";
+       }
+       if(!$opt_s) {
+           system("$avimerge -o ./$merge_dir/$prev_output_file_xvid -i $files_to_merge");
+       }
+       $files_to_merge = "";
+       print "\n";
+    }
+    
+    print "-> Done creating merged videos for each day\n\n";
+}
+
+sub create_playlists {
+    print "-> Now creating playlists of merged videos for each month & year\n";
+
+    if($playlist_only) {
+       print "-> Creating playlists for each month & year of clips from this directory: $video_directory\n";
+       opendir(VIDEODIR, "$video_directory") or die "-E- could not open: $video_directory";
+       chdir "$video_directory";
+    } else {
+       print "-> Creating playlists for each month & year of clips from this directory: $video_directory/$merge_dir\n";
+       opendir(VIDEODIR, "$video_directory/$merge_dir") or die "-E- could not open: $video_directory/$merge_dir";      
+       chdir "$video_directory/$merge_dir";
+    }
+
+    my @all_files = readdir VIDEODIR;
+    closedir(VIDEODIR);
+    @all_files = sort @all_files;
+
+    print "   Removing all existing playlists from the directory\n";
+    system("rm *.$playlist_extension > /dev/null 2>&1");
+    
+    foreach $file (@all_files) {
+       next if -d $file;
+       next if ($file !~ /\.avi$/ && $file !~ /\.mpg$/);
+       if($opt_a) { $file =~ /(\d\d\d\d)-(\d\d)-(\d\d)/; $year = $1; $month = $2; }
+       else { $file =~ /(\d\d\d\d).(\d\d).(\d\d)/; $year = $1; $month = $2; }
+       print "   Adding $file to $year.$playlist_extension & $year-$month.$playlist_extension\n";
+       system("echo \"$file\" >> $year.$playlist_extension");
+       system("echo \"$file\" >> $year-$month.$playlist_extension");
+    }
+    chdir "$video_directory";
+}
+
+# Reboot the system if requested
+sub reboot_system {
+    print "-> Rebooting the system in 10 seconds... Press CTRL-C to abort...\n";
+    sleep 10;
+    system("sudo /sbin/reboot") if(!$opt_s);
+}
+
diff --git a/merge_all_new_mpg_clips.pl b/merge_all_new_mpg_clips.pl
new file mode 100755 (executable)
index 0000000..6d5e81c
--- /dev/null
@@ -0,0 +1,56 @@
+#!/usr/bin/perl
+
+$mpg_dir   = "/home/pictures";
+$video_dir = "/home/videos/HomeVideos"; 
+
+opendir(DIR, "$mpg_dir");
+@year_dirs = grep { /\d\d\d\d/ } readdir(DIR);
+closedir(DIR);
+chdir $mpg_dir;
+
+foreach $year_dir (sort @year_dirs) {
+    chdir "$mpg_dir/$year_dir";
+    #print "Parsing $mpg_dir/$year_dir\n";
+    opendir(DIR, "$mpg_dir/$year_dir");
+    @month_dirs = readdir(DIR);
+    closedir(DIR);
+    foreach $month_dir (sort @month_dirs) {
+       chdir "$mpg_dir/$year_dir/$month_dir";
+       #print "Parsing $year_dir/$month_dir\n";
+       opendir(DIR, "$mpg_dir/$year_dir/$month_dir");
+       @mpg_files = grep { /\.mpg|\.MPG/ } readdir(DIR);
+       closedir(DIR);
+       foreach $mpg_file (sort @mpg_files) {
+           #print "Found $year_dir/$month_dir/$mpg_file\n";
+           $mpg_file =~ /(\d\d)(\w\w\w)/; $day = $1;
+           $month_dir =~ /(\d\d)/; $month = $1;
+           $year = $year_dir;
+           $merged_file = "$video_dir/$year/$year-$month-$day.mpg";
+           $new_merged_file = "$merged_file.new";
+           if(-e "$merged_file") { next; }
+           if(-e "$new_merged_file") {
+               print "Merging $mpg_file with $new_merged_file\n";
+               #print "/usr/bin/mpgtx -j $new_merged_file $mpg_file -o $new_merged_file.tmp\n";
+               #print "mv \"$new_merged_file.tmp\" \"$new_merged_file\"\n";
+               system("/usr/bin/mpgtx -j \"$new_merged_file\" \"$mpg_file\" -o \"$new_merged_file.tmp\"");
+               system("mv \"$new_merged_file.tmp\" \"$new_merged_file\"");
+               $new_files{$new_merged_file} = 1;
+           } else {
+               print "Merging $mpg_file with $new_merged_file\n";
+               #print "cp $mpg_file $new_merged_file\n";
+               system("cp \"$mpg_file\" \"$new_merged_file\"");
+               $new_files{$new_merged_file} = 1;
+           }
+       }
+    }
+}
+
+foreach $file (keys %new_files) {
+    $newfile = $file;
+    $newfile =~ s/\.new//g;
+    #print "mv $file $newfile\n";
+    system("mv $file $newfile");
+}
+
+
+
diff --git a/merge_mpg_clips b/merge_mpg_clips
new file mode 100755 (executable)
index 0000000..2528772
--- /dev/null
@@ -0,0 +1,8 @@
+#!/bin/bash
+
+echo "-> Merging the following clips: $*"
+
+/usr/bin/mpgtx -j $* -o merged_clips.mpg
+
+echo "-> Clips merged to: merged_clips.mpg"
+
diff --git a/mov2avi b/mov2avi
new file mode 100755 (executable)
index 0000000..f9cf2d1
--- /dev/null
+++ b/mov2avi
@@ -0,0 +1,7 @@
+#!/bin/bash
+
+#transcode -i $* -y ffmpeg -F wmv2 -o $*.avi
+#find . -name "*.mov" | xargs -l1 /home/ajp/bin/mov2avi
+
+mencoder -o "$*.avi" -ovc lavc -oac lavc -lavcopts acodec=mp3:vcodec=mpeg4:vbitrate=6000 -srate 48000 "$*"
+
diff --git a/setprompt.pl b/setprompt.pl
new file mode 100755 (executable)
index 0000000..c1c4280
--- /dev/null
@@ -0,0 +1,50 @@
+#!/usr/bin/perl
+
+$host = `hostname`; chomp($host);
+%hostaliases = (
+               "hpesajp" => "hp",
+               "pippin" => "pippin",
+               );
+$pwd = $ENV{PWD};
+
+@aliases = (
+           "/tmp_mnt/auto=>",
+           "$ENV{HOME}=>~",
+           "/net/=>",
+           "/home/=>/~",
+           );
+
+$host = $hostaliases{$host} if defined $hostaliases{$host};
+foreach $alias (@aliases) {
+    @alias = split(/=>/, $alias);
+    if ( $alias[0] ne "" ) {
+        $pwd =~ s/$alias[0]/$alias[1]/;
+    }
+}
+if ($pwd =~ /^(~)?(.+)(\/.*?\/.*?\/.*)/) {
+    @prec = split(/\//, $2);
+    $pwd = "$1($#prec)$3" if $#prec;
+}
+
+while ($pwd =~ /[\/]+([^\/]{13,})/) {
+    $segment = $oldseg = $1;
+    $segment =~ s/^(.{4}).*?(.{5})$/$1\.\.\.$2/;
+    $pwd =~ s/$oldseg/$segment/;
+}
+$whoami = `whoami`;
+chomp( $whoami );
+if ( $whoami eq "root" ) {
+    $user = "\\[\e[41m\\]ROOT\\[\e[49m\\]:";
+} elsif( $whoami ne "ajp" ) {
+    $user = "\\[\e[41m\\]$whoami\\[\e[49m\\]@";
+}
+
+#Colors
+if ( $ENV{COLOR_PROMPT} ne "no" )
+{
+  $host = "\\[\e[32m\\]$host\\[\e[39m\\]" if $host;
+  $pwd  = "\\[\e[36m\\]$pwd\\[\e[39m\\]";
+}
+
+print "$user$host:$pwd> ";
+
diff --git a/vob2avi b/vob2avi
new file mode 100755 (executable)
index 0000000..3fb7656
--- /dev/null
+++ b/vob2avi
@@ -0,0 +1,8 @@
+#!/bin/bash
+
+BITRATE=6000
+cat "$1" | mencoder -oac mp3lame -ffourcc XVID -ovc lavc -lavcopts vcodec=mpeg4:vbitrate=$BITRATE - -o "$2"
+
+# Deinterlace - DV to DIVX AVI
+# cat "$1" | mencoder -oac mp3lame -lameopts cbr:cbr=256 -ovc lavc -lavcopts vcodec=mpeg4:vbitrate=6000 -vf pp=ci - -o "$2"
+