From: Alan J. Pippin Date: Sun, 6 Apr 2008 21:55:05 +0000 (-0600) Subject: Added every script to track by default X-Git-Url: http://git.pippins.net/embedvideo/%27%20.%20%24this-%3Ephpgw_js_url%20.%20%27/jscalendar/images/checkmark.gif?a=commitdiff_plain;h=c557492f3e191e64e0a2737152e4c77a35476e1a;p=videoscripts%2F.git Added every script to track by default --- c557492f3e191e64e0a2737152e4c77a35476e1a diff --git a/Windows Scripts/Adobe Encore DVD Howto.txt b/Windows Scripts/Adobe Encore DVD Howto.txt new file mode 100755 index 0000000..927e278 --- /dev/null +++ b/Windows Scripts/Adobe Encore DVD Howto.txt @@ -0,0 +1,8 @@ +1) Cannot transcode DIVX avi source files. Transcoder just hangs. + Currently, must convert all DIVX avi source files to DV avi. +2) DV source files will transcode properly. +3) Use NTSC Progressive High Quality 7Mb VBR 2 Pass PCM encoding. +4) Raw Premiere Projects exported as DV have out of focus text banners. + So, export to DV, convert to high quality DIVX, then take that DIVX + file and convert it to DV. Use this DV file as the source file, and + 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 index 0000000..f7a1b7a --- /dev/null +++ b/Windows Scripts/Adobe Premiere Howto.txt @@ -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 index 0000000..bcba0f5 --- /dev/null +++ b/Windows Scripts/Compress DivX Audio.bat @@ -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 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 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 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 index 0000000..bcba0f5 --- /dev/null +++ b/Windows Scripts/DubMan Templates/Compress DivX Audio.bat @@ -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 diff --git a/Windows Scripts/DubMan Templates/Compress DivX Audio.djt b/Windows Scripts/DubMan Templates/Compress DivX Audio.djt new file mode 100755 index 0000000..02a32c8 --- /dev/null +++ b/Windows Scripts/DubMan Templates/Compress DivX Audio.djt @@ -0,0 +1,33 @@ + + + + + + + + + + + + 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,"AQAAAAAAAQAAAOgD"); +VirtualDub.audio.EnableFilterGraph(0); +VirtualDub.video.SetDepth(24,24); +VirtualDub.video.SetMode(0); +VirtualDub.video.SetFrameRate(0,1); +VirtualDub.video.SetIVTC(0,0,-1,0); +VirtualDub.video.SetRange(0,0); +VirtualDub.video.SetCompression(); +VirtualDub.video.filters.Clear(); +VirtualDub.audio.filters.Clear(); +VirtualDub.subset.Delete(); + + + + + 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 index 0000000..b21d579 --- /dev/null +++ b/Windows Scripts/DubMan Templates/Convert DV to DivX 1st pass.djt @@ -0,0 +1,59 @@ + + + + + + + + + + + + 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,"zAEAAAAAAAACAAAAAAk9AAAAgEABAAAAAAAAAAAAAAAAAAAAAAAAAJYAAAAyAAAA0EfIAQAAYAAAAEgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAAAmpmZmZmZyT+amZmZmZnJPwAAAAAAAAAAAAAAAIACAADgAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOA/AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAoAAAAZAAAAAAAAAABAAAAAQAAAAEAAAABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAAAAAAAAABAAAAAgAAAAIAAAABAAAAAAAAAAAAAAAAAAAAAwAAAAEAAAAAAAAAAAAAAFY6XGRpdngubG9nAGM6XHRlc3QuZGl2eABjOlxtdmluZm8uYmluAGM6XG5ld3JjLnR4dAA="); +VirtualDub.video.filters.Clear(); +VirtualDub.audio.filters.Clear(); +VirtualDub.subset.Delete(); + + + + + + + + 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,"zAEAAAAAAAACAAAAAAk9AAAAgEABAAAAAAAAAAAAAAAAAAAAAAAAAJYAAAAyAAAA0EfIAQAAYAAAAEgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAAAmpmZmZmZyT+amZmZmZnJPwAAAAAAAAAAAAAAAIACAADgAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOA/AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAoAAAAZAAAAAAAAAABAAAAAQAAAAEAAAABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAAAAAAAAABAAAAAgAAAAIAAAABAAAAAAAAAAAAAAAAAAAAAwAAAAEAAAAAAAAAAAAAAFY6XGRpdngubG9nAGM6XHRlc3QuZGl2eABjOlxtdmluZm8uYmluAGM6XG5ld3JjLnR4dAA="); +VirtualDub.video.filters.Clear(); +VirtualDub.audio.filters.Clear(); +VirtualDub.subset.Delete(); + + + + + 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 index 0000000..471c1b5 --- /dev/null +++ b/Windows Scripts/DubMan Templates/Convert DV to DivX 2 passes.djt @@ -0,0 +1,59 @@ + + + + + + + + + + + + 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,"zAEAAAAAAAACAAAAAAk9AAAAgEABAAAAAAAAAAAAAAAAAAAAAAAAAJYAAAAyAAAA0EfIAQAAYAAAAEgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAAAmpmZmZmZyT+amZmZmZnJPwAAAAAAAAAAAAAAAIACAADgAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOA/AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAoAAAAZAAAAAAAAAABAAAAAQAAAAEAAAABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAAAAAAAAABAAAAAgAAAAIAAAABAAAAAAAAAAAAAAAAAAAAAwAAAAEAAAAAAAAAAAAAAFY6XGRpdngubG9nAGM6XHRlc3QuZGl2eABjOlxtdmluZm8uYmluAGM6XG5ld3JjLnR4dAA="); +VirtualDub.video.filters.Clear(); +VirtualDub.audio.filters.Clear(); +VirtualDub.subset.Delete(); + + + + + + + + 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,"zAEAAAAAAAACAAAAAAk9AAAAgEABAAAAAAAAAAAAAAAAAAAAAAAAAJYAAAAyAAAA0EfIAQAAYAAAAEgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAAAmpmZmZmZyT+amZmZmZnJPwAAAAAAAAAAAAAAAIACAADgAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOA/AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAoAAAAZAAAAAAAAAABAAAAAQAAAAEAAAABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAAAAAAAAABAAAAAgAAAAIAAAABAAAAAAAAAAAAAAAAAAAAAwAAAAEAAAAAAAAAAAAAAFY6XGRpdngubG9nAGM6XHRlc3QuZGl2eABjOlxtdmluZm8uYmluAGM6XG5ld3JjLnR4dAA="); +VirtualDub.video.filters.Clear(); +VirtualDub.audio.filters.Clear(); +VirtualDub.subset.Delete(); + + + + + 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 index 0000000..fe89a1c --- /dev/null +++ b/Windows Scripts/DubMan Templates/Convert DV to DivX 2nd pass HQ.djt @@ -0,0 +1,59 @@ + + + + + + + + + + + + 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(); + + + + + + + + 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(); + + + + + 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 index 0000000..ea220fe --- /dev/null +++ b/Windows Scripts/DubMan Templates/Convert DV to DivX 2nd pass.djt @@ -0,0 +1,34 @@ + + + + + + + + + + + + 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(364,"OAEAAAAAAAADAAAAwMYtAAAAgEABAAAAAAAAAAAAAAAAAAAAlgAAADIAAAAgEWoAAAAwAAAAJAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAABAAAAAAAAAAAAAAAAAAAAAAQAAAAAAAACamZmZmZnJP5qZmZmZmck/AgAAAAAAAAAAAAAAgAIAAOABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4D8AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAABkAAAAAAAAAAEAAAABAAAAAQAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAAAAAAAAAEAAAACAAAA/////wEAAAAAAAAAAAAAAAAAAAACAAAAYzpcZGl2eC5sb2cAYzpcdGVzdC5kaXZ4AGM6XG12aW5mby5iaW4AYzpcbmV3cmMudHh0AA=="); +VirtualDub.video.filters.Clear(); +VirtualDub.audio.filters.Clear(); +VirtualDub.subset.Delete(); + + + + + 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 index 0000000..6067262 --- /dev/null +++ b/Windows Scripts/DubMan Templates/Convert DV to DivX.bat @@ -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 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 index 0000000..a4b18eb --- /dev/null +++ b/Windows Scripts/DubMan Templates/Convert DV to DivX.djt @@ -0,0 +1,34 @@ + + + + + + + + + + + + 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(364,"OAEAAAAAAAAAAAAAwMYtAAAAgEABAAAAAAAAAAAAAAAAAAAAlgAAADIAAAAgEWoAAAAwAAAAJAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAABAAAAAAAAAAAAAAAAAAAAAAQAAAAAAAACamZmZmZnJP5qZmZmZmck/AgAAAAAAAAAAAAAAgAIAAOABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4D8AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAABkAAAAAAAAAAEAAAABAAAAAQAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAAAAAAAAAEAAAACAAAA/////wEAAAAAAAAAAAAAAAAAAAACAAAAYzpcZGl2eC5sb2cAYzpcdGVzdC5kaXZ4AGM6XG12aW5mby5iaW4AYzpcbmV3cmMudHh0AA=="); +VirtualDub.video.filters.Clear(); +VirtualDub.audio.filters.Clear(); +VirtualDub.subset.Delete(); + + + + + 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 index 0000000..5b1be6e --- /dev/null +++ b/Windows Scripts/DubMan Templates/Single DV AVI to DIVX.djt @@ -0,0 +1,33 @@ + + + + + + + + + + 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(319,"GAEAAGCuCgDQBwAACgAAABQAAAAsAQAADAAAAAIAAAAFAAAAAAAAACgAAAAAAAAAAAAAABQAAABkAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAgAAAyAAAAAAAAAAAAAAAAAACgmZnJPwAAAKCZmck/QAAAAAAAAACAAAAAAAAAAAAAAAAAAAAAAAAAAIACAADgAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOA/AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAAAAQAAAAEAAAABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAAAAAAAAAEAAAD/////AQAAAGM6XGRpdngubG9nAGM6XHRlc3QuZGl2eABjOlxtdmluZm8uYmluAA=="); +VirtualDub.video.filters.Clear(); +VirtualDub.audio.filters.Clear(); +VirtualDub.subset.Delete(); + + + + + + diff --git a/Windows Scripts/DubMan Templates/VirtualDub Audio Compression.vcf b/Windows Scripts/DubMan Templates/VirtualDub Audio Compression.vcf new file mode 100755 index 0000000..970ee9d --- /dev/null +++ b/Windows Scripts/DubMan Templates/VirtualDub Audio Compression.vcf @@ -0,0 +1,17 @@ +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,"AQAAAAAAAQAAAOgD"); +VirtualDub.audio.EnableFilterGraph(0); +VirtualDub.video.SetDepth(24,24); +VirtualDub.video.SetMode(0); +VirtualDub.video.SetFrameRate(0,1); +VirtualDub.video.SetIVTC(0,0,-1,0); +VirtualDub.video.SetRange(0,0); +VirtualDub.video.SetCompression(); +VirtualDub.video.filters.Clear(); +VirtualDub.audio.filters.Clear(); +VirtualDub.subset.Delete(); 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 index 0000000..350f645 --- /dev/null +++ b/Windows Scripts/DubMan Templates/VirtualDub DV to DIVX compression - pass 1 HQ.vcf @@ -0,0 +1,18 @@ +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(); 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 index 0000000..111719b --- /dev/null +++ b/Windows Scripts/DubMan Templates/VirtualDub DV to DIVX compression - pass 1.vcf @@ -0,0 +1,18 @@ +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,"zAEAAAAAAAACAAAAAAk9AAAAgEABAAAAAAAAAAAAAAAAAAAAAAAAAJYAAAAyAAAA0EfIAQAAYAAAAEgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAAAmpmZmZmZyT+amZmZmZnJPwAAAAAAAAAAAAAAAIACAADgAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOA/AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAoAAAAZAAAAAAAAAABAAAAAQAAAAEAAAABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAAAAAAAAABAAAAAgAAAAIAAAABAAAAAAAAAAAAAAAAAAAAAwAAAAEAAAAAAAAAAAAAAFY6XGRpdngubG9nAGM6XHRlc3QuZGl2eABjOlxtdmluZm8uYmluAGM6XG5ld3JjLnR4dAA="); +VirtualDub.video.filters.Clear(); +VirtualDub.audio.filters.Clear(); +VirtualDub.subset.Delete(); 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 index 0000000..de7b97a --- /dev/null +++ b/Windows Scripts/DubMan Templates/VirtualDub DV to DIVX compression - pass 2 HQ.vcf @@ -0,0 +1,18 @@ +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(); 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 index 0000000..111719b --- /dev/null +++ b/Windows Scripts/DubMan Templates/VirtualDub DV to DIVX compression - pass 2.vcf @@ -0,0 +1,18 @@ +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,"zAEAAAAAAAACAAAAAAk9AAAAgEABAAAAAAAAAAAAAAAAAAAAAAAAAJYAAAAyAAAA0EfIAQAAYAAAAEgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAAAmpmZmZmZyT+amZmZmZnJPwAAAAAAAAAAAAAAAIACAADgAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOA/AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAoAAAAZAAAAAAAAAABAAAAAQAAAAEAAAABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAAAAAAAAABAAAAAgAAAAIAAAABAAAAAAAAAAAAAAAAAAAAAwAAAAEAAAAAAAAAAAAAAFY6XGRpdngubG9nAGM6XHRlc3QuZGl2eABjOlxtdmluZm8uYmluAGM6XG5ld3JjLnR4dAA="); +VirtualDub.video.filters.Clear(); +VirtualDub.audio.filters.Clear(); +VirtualDub.subset.Delete(); 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 index 0000000..a0c58f2 --- /dev/null +++ b/Windows Scripts/DubMan Templates/VirtualDub DV to DIVX compression.vcf @@ -0,0 +1,18 @@ +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(319,"GAEAAGCuCgDQBwAACgAAABQAAAAsAQAADAAAAAIAAAAFAAAAAAAAACgAAAAAAAAAAAAAABQAAABkAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAgAAAyAAAAAAAAAAAAAAAAAACgmZnJPwAAAKCZmck/QAAAAAAAAACAAAAAAAAAAAAAAAAAAAAAAAAAAIACAADgAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOA/AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAAAAQAAAAEAAAABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAAAAAAAAAEAAAD/////AQAAAGM6XGRpdngubG9nAGM6XHRlc3QuZGl2eABjOlxtdmluZm8uYmluAA=="); +VirtualDub.video.filters.Clear(); +VirtualDub.audio.filters.Clear(); +VirtualDub.subset.Delete(); diff --git a/Windows Scripts/TMPG Settings/DIVX to DVD .mcf b/Windows Scripts/TMPG Settings/DIVX to DVD .mcf new file mode 100755 index 0000000..0a2b7ef --- /dev/null +++ b/Windows Scripts/TMPG Settings/DIVX to DVD .mcf @@ -0,0 +1,141 @@ +object TMPEGConfigFile + MPEG.Text = '' + MPEG.WizardCategoryName = '' + MPEG.WizardSubFormatName = '' + MPEG.WizardCaption = '' + MPEG.WizardDescription = '' + MPEG.WizardTargetMedia = MPEGConfig_TargetMediaType_Unknown + MPEG.WizardAutoCalcVideoBitRate = False + MPEG.WizardAutoChooseList.EnableVideoSize = False + MPEG.WizardAutoChooseList.VideoSize = < + item + MinVideoBitRate = 2000000 + Width = 352 + Height = 480 + VideoEncodeMode = MPEGVideoEncoder_VideoEncodeMode_Interlace + FrameRate = 4 + AspectRatio = 2 + end + item + MinVideoBitRate = 4000000 + Width = 720 + Height = 480 + VideoEncodeMode = MPEGVideoEncoder_VideoEncodeMode_Interlace + FrameRate = 4 + AspectRatio = 2 + end> + MPEG.WizardAutoChooseList.EnableVideoGOP = False + MPEG.WizardAutoChooseList.VideoGOP = <> + MPEG.OutputStreamType = MPEG_OutputStreamType_System_VideoAudio + MPEG.OutputStreamType_ReadOnly = False + MPEG.Video.StreamType = MPEGVideoEncoder_StreamType_MPEG2 + MPEG.Video.StreamType_ReadOnly = False + MPEG.Video.Width = 720 + MPEG.Video.Width_ReadOnly = False + MPEG.Video.Height = 480 + MPEG.Video.Height_ReadOnly = False + MPEG.Video.YUVFormat = 1 + MPEG.Video.YUVFormat_ReadOnly = False + MPEG.Video.DC_prec = 2 + MPEG.Video.DC_prec_ReadOnly = False + MPEG.Video.VideoEncodeMode = MPEGVideoEncoder_VideoEncodeMode_Progressive + MPEG.Video.VideoEncodeMode_ReadOnly = False + MPEG.Video.FrameRate = 4 + MPEG.Video.FrameRate_ReadOnly = False + MPEG.Video.AspectRatio = 2 + MPEG.Video.AspectRatio_ReadOnly = False + MPEG.Video.RateControlMode = MPEGVideoEncoder_RateControlMode_VBR_Auto + MPEG.Video.RateControlMode_ReadOnly = False + MPEG.Video.MaxBitRate = 0 + MPEG.Video.MaxBitRate_ReadOnly = False + MPEG.Video.MinBitRate = 0 + MPEG.Video.MinBitRate_ReadOnly = False + MPEG.Video.MinAvgBitRate = 0 + MPEG.Video.MinAvgBitRate_ReadOnly = False + MPEG.Video.CBR_BitRate = 7000000 + MPEG.Video.VBR_MultipassVBRAlgorithm = MPEGVideoEncoder_MultipassVBRAlgorithm_2PASS + MPEG.Video.VBR_AvgBitRate = 7000000 + MPEG.Video.VBR_MaxBitRate = 8000000 + MPEG.Video.VBR_MinBitRate = 2000000 + MPEG.Video.VBR_MaxPassCount = 0 + MPEG.Video.VBR_Quality_P = 0 + MPEG.Video.VBR_Quality_B = 20 + MPEG.Video.VBR_EnablePadding = False + MPEG.Video.MVBR_MaxBitRate = 8000000 + MPEG.Video.MVBR_MinBitRate = 2000000 + MPEG.Video.MVBR_Quality_P = 0 + MPEG.Video.MVBR_Quality_B = 20 + MPEG.Video.MVBR_EnablePadding = False + MPEG.Video.AVBR_Quality = 100 + MPEG.Video.AVBR_MaxBitRate = 6000000 + MPEG.Video.AVBR_MinBitRate = 0 + MPEG.Video.AVBR_EnablePadding = False + MPEG.Video.CQ_Quality = 65 + MPEG.Video.CQ_Quality_P = 0 + MPEG.Video.CQ_Quality_B = 20 + MPEG.Video.CQ_MaxBitRate = 8000000 + MPEG.Video.CQ_MinBitRate = 2000000 + MPEG.Video.CQ_EnablePadding = False + MPEG.Video.VBVBufferSize = 229376 + MPEG.Video.VBVBufferSize_ReadOnly = False + MPEG.Video.GOP_SeqHeaderInterval = 1 + MPEG.Video.GOP_SeqHeaderInterval_ReadOnly = False + MPEG.Video.GOP_I_FrameCount = 1 + MPEG.Video.GOP_I_FrameCount_ReadOnly = False + MPEG.Video.GOP_P_FrameCount = 4 + MPEG.Video.GOP_P_FrameCount_ReadOnly = False + MPEG.Video.GOP_B_FrameCount = 1 + MPEG.Video.GOP_B_FrameCount_ReadOnly = False + MPEG.Video.GOP_BitStreamForEdit = False + MPEG.Video.GOP_BitStreamForEdit_ReadOnly = False + MPEG.Video.GOP_MaxFrameCount = 18 + MPEG.Video.GOP_MaxFrameCount_ReadOnly = False + MPEG.Video.QuantizeMatrix_Intra_ReadOnly = False + MPEG.Video.QuantizeMatrix_NonIntra_ReadOnly = False + MPEG.Video.Profile = 4 + MPEG.Video.Profile_ReadOnly = False + MPEG.Video.Level = 8 + MPEG.Video.Level_ReadOnly = False + MPEG.Video.VideoFormat = 2 + MPEG.Video.VideoFormat_ReadOnly = False + MPEG.Video.DisplayWidth = 0 + MPEG.Video.DisplayWidth_ReadOnly = False + MPEG.Video.DisplayHeight = 0 + MPEG.Video.DisplayHeight_ReadOnly = False + MPEG.Video.MotionSearchSpeed = MPEGVideoEncoder_MotionSearchSpeed_Slow + MPEG.Video.MotionSearch_AlwaysHalfPel = False + MPEG.Video.UseFloatDCT = False + MPEG.Video.QuantizeMode = False + MPEG.Video.QuantizeModeVal_Intra = 35 + MPEG.Video.QuantizeModeVal_NonIntra = 35 + MPEG.Video.YUVBasicYCbCr = False + MPEG.Video.QuantizeMatrix_Intra = { + 081013161A1B1D22101016181B1D222513161A1B1D22222616161A1B1D222528 + 161A1B1D202328301A1B1D202328303A1A1B1D22262E38451B1D23262E384553} + MPEG.Video.QuantizeMatrix_NonIntra = { + 1011121314151617111213141516171812131415161718191314151617181A1B + 14151617191A1B1C151617181A1B1C1E1617181A1B1C1E1F1718191B1C1E1F21} + MPEG.Audio.StreamType = MPEGAudioEncoder_StreamType_MPEG1_Layer2 + MPEG.Audio.StreamType_ReadOnly = False + MPEG.Audio.SamplingFrequency = 48000 + MPEG.Audio.SamplingFrequency_ReadOnly = False + MPEG.Audio.ChannelMode = 0 + MPEG.Audio.ChannelMode_ReadOnly = False + MPEG.Audio.CantUseMono = False + MPEG.Audio.BitRate = 256000 + MPEG.Audio.BitRate_ReadOnly = False + MPEG.Audio.CalcCRC = False + MPEG.Audio.CalcCRC_ReadOnly = False + MPEG.Audio.OriginalFlag = False + MPEG.Audio.OriginalFlag_ReadOnly = False + MPEG.Audio.CopyrightFlag = False + MPEG.Audio.CopyrightFlag_ReadOnly = False + MPEG.Audio.PrivateFlag = False + MPEG.Audio.PrivateFlag_ReadOnly = False + MPEG.Audio.EmphasisType = 0 + MPEG.Audio.EmphasisType_ReadOnly = False + MPEG.System.StreamType = MPEGSystemEncoder_StreamType_MPEG2_Program + MPEG.System.StreamType_ReadOnly = False + MPEG.System.EnableCommentText = False + MPEG.System.CommentText = '' +end 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 index 0000000..a540cce --- /dev/null +++ b/Windows Scripts/TMPG Settings/DV to DVD 2pass VBR.mcf @@ -0,0 +1,125 @@ +object TMPEGConfigFile + MPEG.Text = '' + MPEG.WizardCategoryName = '' + MPEG.WizardSubFormatName = '' + MPEG.WizardCaption = '' + MPEG.WizardDescription = '' + MPEG.WizardTargetMedia = MPEGConfig_TargetMediaType_Unknown + MPEG.WizardAutoCalcVideoBitRate = False + MPEG.WizardAutoChooseList.EnableVideoSize = False + MPEG.WizardAutoChooseList.VideoSize = <> + MPEG.WizardAutoChooseList.EnableVideoGOP = False + MPEG.WizardAutoChooseList.VideoGOP = <> + MPEG.OutputStreamType = MPEG_OutputStreamType_VideoAudio + MPEG.OutputStreamType_ReadOnly = False + MPEG.Video.StreamType = MPEGVideoEncoder_StreamType_MPEG2 + MPEG.Video.StreamType_ReadOnly = False + MPEG.Video.Width = 720 + MPEG.Video.Width_ReadOnly = False + MPEG.Video.Height = 480 + MPEG.Video.Height_ReadOnly = False + MPEG.Video.YUVFormat = 1 + MPEG.Video.YUVFormat_ReadOnly = False + MPEG.Video.DC_prec = 2 + MPEG.Video.DC_prec_ReadOnly = False + MPEG.Video.VideoEncodeMode = MPEGVideoEncoder_VideoEncodeMode_Interlace + MPEG.Video.VideoEncodeMode_ReadOnly = False + MPEG.Video.FrameRate = 4 + MPEG.Video.FrameRate_ReadOnly = False + MPEG.Video.AspectRatio = 2 + MPEG.Video.AspectRatio_ReadOnly = False + MPEG.Video.RateControlMode = MPEGVideoEncoder_RateControlMode_VBR_2PASS + MPEG.Video.RateControlMode_ReadOnly = False + MPEG.Video.MaxBitRate = 0 + MPEG.Video.MaxBitRate_ReadOnly = False + MPEG.Video.MinBitRate = 0 + MPEG.Video.MinBitRate_ReadOnly = False + MPEG.Video.MinAvgBitRate = 0 + MPEG.Video.MinAvgBitRate_ReadOnly = False + MPEG.Video.CBR_BitRate = 7000000 + MPEG.Video.VBR_MultipassVBRAlgorithm = MPEGVideoEncoder_MultipassVBRAlgorithm_2PASS + MPEG.Video.VBR_AvgBitRate = 3000000 + MPEG.Video.VBR_MaxBitRate = 4500000 + MPEG.Video.VBR_MinBitRate = 2000000 + MPEG.Video.VBR_MaxPassCount = 0 + MPEG.Video.VBR_Quality_P = 0 + MPEG.Video.VBR_Quality_B = 20 + MPEG.Video.VBR_EnablePadding = False + MPEG.Video.MVBR_MaxBitRate = 8000000 + MPEG.Video.MVBR_MinBitRate = 2000000 + MPEG.Video.MVBR_Quality_P = 0 + MPEG.Video.MVBR_Quality_B = 20 + MPEG.Video.MVBR_EnablePadding = False + MPEG.Video.AVBR_Quality = 95 + MPEG.Video.AVBR_MaxBitRate = 4500000 + MPEG.Video.AVBR_MinBitRate = 2000000 + MPEG.Video.AVBR_EnablePadding = False + MPEG.Video.CQ_Quality = 65 + MPEG.Video.CQ_Quality_P = 0 + MPEG.Video.CQ_Quality_B = 20 + MPEG.Video.CQ_MaxBitRate = 8000000 + MPEG.Video.CQ_MinBitRate = 2000000 + MPEG.Video.CQ_EnablePadding = False + MPEG.Video.VBVBufferSize = 229376 + MPEG.Video.VBVBufferSize_ReadOnly = False + MPEG.Video.GOP_SeqHeaderInterval = 1 + MPEG.Video.GOP_SeqHeaderInterval_ReadOnly = False + MPEG.Video.GOP_I_FrameCount = 1 + MPEG.Video.GOP_I_FrameCount_ReadOnly = False + MPEG.Video.GOP_P_FrameCount = 5 + MPEG.Video.GOP_P_FrameCount_ReadOnly = False + MPEG.Video.GOP_B_FrameCount = 2 + MPEG.Video.GOP_B_FrameCount_ReadOnly = False + MPEG.Video.GOP_BitStreamForEdit = False + MPEG.Video.GOP_BitStreamForEdit_ReadOnly = False + MPEG.Video.GOP_MaxFrameCount = 18 + MPEG.Video.GOP_MaxFrameCount_ReadOnly = False + MPEG.Video.QuantizeMatrix_Intra_ReadOnly = False + MPEG.Video.QuantizeMatrix_NonIntra_ReadOnly = False + MPEG.Video.Profile = 4 + MPEG.Video.Profile_ReadOnly = False + MPEG.Video.Level = 8 + MPEG.Video.Level_ReadOnly = False + MPEG.Video.VideoFormat = 2 + MPEG.Video.VideoFormat_ReadOnly = False + MPEG.Video.DisplayWidth = 0 + MPEG.Video.DisplayWidth_ReadOnly = False + MPEG.Video.DisplayHeight = 0 + MPEG.Video.DisplayHeight_ReadOnly = False + MPEG.Video.MotionSearchSpeed = MPEGVideoEncoder_MotionSearchSpeed_Slow + MPEG.Video.MotionSearch_AlwaysHalfPel = False + MPEG.Video.UseFloatDCT = False + MPEG.Video.QuantizeMode = False + MPEG.Video.QuantizeModeVal_Intra = 35 + MPEG.Video.QuantizeModeVal_NonIntra = 35 + MPEG.Video.YUVBasicYCbCr = False + MPEG.Video.QuantizeMatrix_Intra = { + 081013161A1B1D22101016181B1D222513161A1B1D22222616161A1B1D222528 + 161A1B1D202328301A1B1D202328303A1A1B1D22262E38451B1D23262E384553} + MPEG.Video.QuantizeMatrix_NonIntra = { + 1011121314151617111213141516171812131415161718191314151617181A1B + 14151617191A1B1C151617181A1B1C1E1617181A1B1C1E1F1718191B1C1E1F21} + MPEG.Audio.StreamType = MPEGAudioEncoder_StreamType_MPEG1_Layer2 + MPEG.Audio.StreamType_ReadOnly = False + MPEG.Audio.SamplingFrequency = 48000 + MPEG.Audio.SamplingFrequency_ReadOnly = False + MPEG.Audio.ChannelMode = 0 + MPEG.Audio.ChannelMode_ReadOnly = False + MPEG.Audio.CantUseMono = False + MPEG.Audio.BitRate = 256000 + MPEG.Audio.BitRate_ReadOnly = False + MPEG.Audio.CalcCRC = False + MPEG.Audio.CalcCRC_ReadOnly = False + MPEG.Audio.OriginalFlag = False + MPEG.Audio.OriginalFlag_ReadOnly = False + MPEG.Audio.CopyrightFlag = False + MPEG.Audio.CopyrightFlag_ReadOnly = False + MPEG.Audio.PrivateFlag = False + MPEG.Audio.PrivateFlag_ReadOnly = False + MPEG.Audio.EmphasisType = 0 + MPEG.Audio.EmphasisType_ReadOnly = False + MPEG.System.StreamType = MPEGSystemEncoder_StreamType_MPEG2_Program + MPEG.System.StreamType_ReadOnly = False + MPEG.System.EnableCommentText = False + MPEG.System.CommentText = '' +end 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 index 0000000..84dd0c3 --- /dev/null +++ b/Windows Scripts/TMPG Settings/DV to DVD CBR.mcf @@ -0,0 +1,125 @@ +object TMPEGConfigFile + MPEG.Text = '' + MPEG.WizardCategoryName = '' + MPEG.WizardSubFormatName = '' + MPEG.WizardCaption = '' + MPEG.WizardDescription = '' + MPEG.WizardTargetMedia = MPEGConfig_TargetMediaType_Unknown + MPEG.WizardAutoCalcVideoBitRate = False + MPEG.WizardAutoChooseList.EnableVideoSize = False + MPEG.WizardAutoChooseList.VideoSize = <> + MPEG.WizardAutoChooseList.EnableVideoGOP = False + MPEG.WizardAutoChooseList.VideoGOP = <> + MPEG.OutputStreamType = MPEG_OutputStreamType_VideoAudio + MPEG.OutputStreamType_ReadOnly = False + MPEG.Video.StreamType = MPEGVideoEncoder_StreamType_MPEG2 + MPEG.Video.StreamType_ReadOnly = False + MPEG.Video.Width = 720 + MPEG.Video.Width_ReadOnly = False + MPEG.Video.Height = 480 + MPEG.Video.Height_ReadOnly = False + MPEG.Video.YUVFormat = 1 + MPEG.Video.YUVFormat_ReadOnly = False + MPEG.Video.DC_prec = 2 + MPEG.Video.DC_prec_ReadOnly = False + MPEG.Video.VideoEncodeMode = MPEGVideoEncoder_VideoEncodeMode_Interlace + MPEG.Video.VideoEncodeMode_ReadOnly = False + MPEG.Video.FrameRate = 4 + MPEG.Video.FrameRate_ReadOnly = False + MPEG.Video.AspectRatio = 2 + MPEG.Video.AspectRatio_ReadOnly = False + MPEG.Video.RateControlMode = MPEGVideoEncoder_RateControlMode_CBR + MPEG.Video.RateControlMode_ReadOnly = False + MPEG.Video.MaxBitRate = 0 + MPEG.Video.MaxBitRate_ReadOnly = False + MPEG.Video.MinBitRate = 0 + MPEG.Video.MinBitRate_ReadOnly = False + MPEG.Video.MinAvgBitRate = 0 + MPEG.Video.MinAvgBitRate_ReadOnly = False + MPEG.Video.CBR_BitRate = 4500000 + MPEG.Video.VBR_MultipassVBRAlgorithm = MPEGVideoEncoder_MultipassVBRAlgorithm_2PASS + MPEG.Video.VBR_AvgBitRate = 3000000 + MPEG.Video.VBR_MaxBitRate = 4500000 + MPEG.Video.VBR_MinBitRate = 2000000 + MPEG.Video.VBR_MaxPassCount = 0 + MPEG.Video.VBR_Quality_P = 0 + MPEG.Video.VBR_Quality_B = 20 + MPEG.Video.VBR_EnablePadding = False + MPEG.Video.MVBR_MaxBitRate = 8000000 + MPEG.Video.MVBR_MinBitRate = 2000000 + MPEG.Video.MVBR_Quality_P = 0 + MPEG.Video.MVBR_Quality_B = 20 + MPEG.Video.MVBR_EnablePadding = False + MPEG.Video.AVBR_Quality = 95 + MPEG.Video.AVBR_MaxBitRate = 4500000 + MPEG.Video.AVBR_MinBitRate = 2000000 + MPEG.Video.AVBR_EnablePadding = False + MPEG.Video.CQ_Quality = 95 + MPEG.Video.CQ_Quality_P = 0 + MPEG.Video.CQ_Quality_B = 20 + MPEG.Video.CQ_MaxBitRate = 4500000 + MPEG.Video.CQ_MinBitRate = 2000000 + MPEG.Video.CQ_EnablePadding = False + MPEG.Video.VBVBufferSize = 229376 + MPEG.Video.VBVBufferSize_ReadOnly = False + MPEG.Video.GOP_SeqHeaderInterval = 1 + MPEG.Video.GOP_SeqHeaderInterval_ReadOnly = False + MPEG.Video.GOP_I_FrameCount = 1 + MPEG.Video.GOP_I_FrameCount_ReadOnly = False + MPEG.Video.GOP_P_FrameCount = 5 + MPEG.Video.GOP_P_FrameCount_ReadOnly = False + MPEG.Video.GOP_B_FrameCount = 2 + MPEG.Video.GOP_B_FrameCount_ReadOnly = False + MPEG.Video.GOP_BitStreamForEdit = False + MPEG.Video.GOP_BitStreamForEdit_ReadOnly = False + MPEG.Video.GOP_MaxFrameCount = 18 + MPEG.Video.GOP_MaxFrameCount_ReadOnly = False + MPEG.Video.QuantizeMatrix_Intra_ReadOnly = False + MPEG.Video.QuantizeMatrix_NonIntra_ReadOnly = False + MPEG.Video.Profile = 4 + MPEG.Video.Profile_ReadOnly = False + MPEG.Video.Level = 8 + MPEG.Video.Level_ReadOnly = False + MPEG.Video.VideoFormat = 2 + MPEG.Video.VideoFormat_ReadOnly = False + MPEG.Video.DisplayWidth = 0 + MPEG.Video.DisplayWidth_ReadOnly = False + MPEG.Video.DisplayHeight = 0 + MPEG.Video.DisplayHeight_ReadOnly = False + MPEG.Video.MotionSearchSpeed = MPEGVideoEncoder_MotionSearchSpeed_Slow + MPEG.Video.MotionSearch_AlwaysHalfPel = False + MPEG.Video.UseFloatDCT = False + MPEG.Video.QuantizeMode = False + MPEG.Video.QuantizeModeVal_Intra = 35 + MPEG.Video.QuantizeModeVal_NonIntra = 35 + MPEG.Video.YUVBasicYCbCr = False + MPEG.Video.QuantizeMatrix_Intra = { + 081013161A1B1D22101016181B1D222513161A1B1D22222616161A1B1D222528 + 161A1B1D202328301A1B1D202328303A1A1B1D22262E38451B1D23262E384553} + MPEG.Video.QuantizeMatrix_NonIntra = { + 1011121314151617111213141516171812131415161718191314151617181A1B + 14151617191A1B1C151617181A1B1C1E1617181A1B1C1E1F1718191B1C1E1F21} + MPEG.Audio.StreamType = MPEGAudioEncoder_StreamType_MPEG1_Layer2 + MPEG.Audio.StreamType_ReadOnly = False + MPEG.Audio.SamplingFrequency = 48000 + MPEG.Audio.SamplingFrequency_ReadOnly = False + MPEG.Audio.ChannelMode = 0 + MPEG.Audio.ChannelMode_ReadOnly = False + MPEG.Audio.CantUseMono = False + MPEG.Audio.BitRate = 256000 + MPEG.Audio.BitRate_ReadOnly = False + MPEG.Audio.CalcCRC = False + MPEG.Audio.CalcCRC_ReadOnly = False + MPEG.Audio.OriginalFlag = False + MPEG.Audio.OriginalFlag_ReadOnly = False + MPEG.Audio.CopyrightFlag = False + MPEG.Audio.CopyrightFlag_ReadOnly = False + MPEG.Audio.PrivateFlag = False + MPEG.Audio.PrivateFlag_ReadOnly = False + MPEG.Audio.EmphasisType = 0 + MPEG.Audio.EmphasisType_ReadOnly = False + MPEG.System.StreamType = MPEGSystemEncoder_StreamType_MPEG2_Program + MPEG.System.StreamType_ReadOnly = False + MPEG.System.EnableCommentText = False + MPEG.System.CommentText = '' +end 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 index 0000000..9a54e1a --- /dev/null +++ b/Windows Scripts/TMPG Settings/DV to DVD CQ.mcf @@ -0,0 +1,125 @@ +object TMPEGConfigFile + MPEG.Text = '' + MPEG.WizardCategoryName = '' + MPEG.WizardSubFormatName = '' + MPEG.WizardCaption = '' + MPEG.WizardDescription = '' + MPEG.WizardTargetMedia = MPEGConfig_TargetMediaType_Unknown + MPEG.WizardAutoCalcVideoBitRate = False + MPEG.WizardAutoChooseList.EnableVideoSize = False + MPEG.WizardAutoChooseList.VideoSize = <> + MPEG.WizardAutoChooseList.EnableVideoGOP = False + MPEG.WizardAutoChooseList.VideoGOP = <> + MPEG.OutputStreamType = MPEG_OutputStreamType_VideoAudio + MPEG.OutputStreamType_ReadOnly = False + MPEG.Video.StreamType = MPEGVideoEncoder_StreamType_MPEG2 + MPEG.Video.StreamType_ReadOnly = False + MPEG.Video.Width = 720 + MPEG.Video.Width_ReadOnly = False + MPEG.Video.Height = 480 + MPEG.Video.Height_ReadOnly = False + MPEG.Video.YUVFormat = 1 + MPEG.Video.YUVFormat_ReadOnly = False + MPEG.Video.DC_prec = 2 + MPEG.Video.DC_prec_ReadOnly = False + MPEG.Video.VideoEncodeMode = MPEGVideoEncoder_VideoEncodeMode_Interlace + MPEG.Video.VideoEncodeMode_ReadOnly = False + MPEG.Video.FrameRate = 4 + MPEG.Video.FrameRate_ReadOnly = False + MPEG.Video.AspectRatio = 2 + MPEG.Video.AspectRatio_ReadOnly = False + MPEG.Video.RateControlMode = MPEGVideoEncoder_RateControlMode_CQ + MPEG.Video.RateControlMode_ReadOnly = False + MPEG.Video.MaxBitRate = 0 + MPEG.Video.MaxBitRate_ReadOnly = False + MPEG.Video.MinBitRate = 0 + MPEG.Video.MinBitRate_ReadOnly = False + MPEG.Video.MinAvgBitRate = 0 + MPEG.Video.MinAvgBitRate_ReadOnly = False + MPEG.Video.CBR_BitRate = 7000000 + MPEG.Video.VBR_MultipassVBRAlgorithm = MPEGVideoEncoder_MultipassVBRAlgorithm_2PASS + MPEG.Video.VBR_AvgBitRate = 3000000 + MPEG.Video.VBR_MaxBitRate = 4500000 + MPEG.Video.VBR_MinBitRate = 2000000 + MPEG.Video.VBR_MaxPassCount = 0 + MPEG.Video.VBR_Quality_P = 0 + MPEG.Video.VBR_Quality_B = 20 + MPEG.Video.VBR_EnablePadding = False + MPEG.Video.MVBR_MaxBitRate = 8000000 + MPEG.Video.MVBR_MinBitRate = 2000000 + MPEG.Video.MVBR_Quality_P = 0 + MPEG.Video.MVBR_Quality_B = 20 + MPEG.Video.MVBR_EnablePadding = False + MPEG.Video.AVBR_Quality = 95 + MPEG.Video.AVBR_MaxBitRate = 4500000 + MPEG.Video.AVBR_MinBitRate = 2000000 + MPEG.Video.AVBR_EnablePadding = False + MPEG.Video.CQ_Quality = 95 + MPEG.Video.CQ_Quality_P = 0 + MPEG.Video.CQ_Quality_B = 20 + MPEG.Video.CQ_MaxBitRate = 4500000 + MPEG.Video.CQ_MinBitRate = 2000000 + MPEG.Video.CQ_EnablePadding = False + MPEG.Video.VBVBufferSize = 229376 + MPEG.Video.VBVBufferSize_ReadOnly = False + MPEG.Video.GOP_SeqHeaderInterval = 1 + MPEG.Video.GOP_SeqHeaderInterval_ReadOnly = False + MPEG.Video.GOP_I_FrameCount = 1 + MPEG.Video.GOP_I_FrameCount_ReadOnly = False + MPEG.Video.GOP_P_FrameCount = 5 + MPEG.Video.GOP_P_FrameCount_ReadOnly = False + MPEG.Video.GOP_B_FrameCount = 2 + MPEG.Video.GOP_B_FrameCount_ReadOnly = False + MPEG.Video.GOP_BitStreamForEdit = False + MPEG.Video.GOP_BitStreamForEdit_ReadOnly = False + MPEG.Video.GOP_MaxFrameCount = 18 + MPEG.Video.GOP_MaxFrameCount_ReadOnly = False + MPEG.Video.QuantizeMatrix_Intra_ReadOnly = False + MPEG.Video.QuantizeMatrix_NonIntra_ReadOnly = False + MPEG.Video.Profile = 4 + MPEG.Video.Profile_ReadOnly = False + MPEG.Video.Level = 8 + MPEG.Video.Level_ReadOnly = False + MPEG.Video.VideoFormat = 2 + MPEG.Video.VideoFormat_ReadOnly = False + MPEG.Video.DisplayWidth = 0 + MPEG.Video.DisplayWidth_ReadOnly = False + MPEG.Video.DisplayHeight = 0 + MPEG.Video.DisplayHeight_ReadOnly = False + MPEG.Video.MotionSearchSpeed = MPEGVideoEncoder_MotionSearchSpeed_Slow + MPEG.Video.MotionSearch_AlwaysHalfPel = False + MPEG.Video.UseFloatDCT = False + MPEG.Video.QuantizeMode = False + MPEG.Video.QuantizeModeVal_Intra = 35 + MPEG.Video.QuantizeModeVal_NonIntra = 35 + MPEG.Video.YUVBasicYCbCr = False + MPEG.Video.QuantizeMatrix_Intra = { + 081013161A1B1D22101016181B1D222513161A1B1D22222616161A1B1D222528 + 161A1B1D202328301A1B1D202328303A1A1B1D22262E38451B1D23262E384553} + MPEG.Video.QuantizeMatrix_NonIntra = { + 1011121314151617111213141516171812131415161718191314151617181A1B + 14151617191A1B1C151617181A1B1C1E1617181A1B1C1E1F1718191B1C1E1F21} + MPEG.Audio.StreamType = MPEGAudioEncoder_StreamType_MPEG1_Layer2 + MPEG.Audio.StreamType_ReadOnly = False + MPEG.Audio.SamplingFrequency = 48000 + MPEG.Audio.SamplingFrequency_ReadOnly = False + MPEG.Audio.ChannelMode = 0 + MPEG.Audio.ChannelMode_ReadOnly = False + MPEG.Audio.CantUseMono = False + MPEG.Audio.BitRate = 256000 + MPEG.Audio.BitRate_ReadOnly = False + MPEG.Audio.CalcCRC = False + MPEG.Audio.CalcCRC_ReadOnly = False + MPEG.Audio.OriginalFlag = False + MPEG.Audio.OriginalFlag_ReadOnly = False + MPEG.Audio.CopyrightFlag = False + MPEG.Audio.CopyrightFlag_ReadOnly = False + MPEG.Audio.PrivateFlag = False + MPEG.Audio.PrivateFlag_ReadOnly = False + MPEG.Audio.EmphasisType = 0 + MPEG.Audio.EmphasisType_ReadOnly = False + MPEG.System.StreamType = MPEGSystemEncoder_StreamType_MPEG2_Program + MPEG.System.StreamType_ReadOnly = False + MPEG.System.EnableCommentText = False + MPEG.System.CommentText = '' +end 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 index 0000000..ddf55d2 --- /dev/null +++ b/Windows Scripts/TMPG Settings/DV to DVD wizard.mcf @@ -0,0 +1,125 @@ +object TMPEGConfigFile + MPEG.Text = '' + MPEG.WizardCategoryName = '' + MPEG.WizardSubFormatName = '' + MPEG.WizardCaption = '' + MPEG.WizardDescription = '' + MPEG.WizardTargetMedia = MPEGConfig_TargetMediaType_Unknown + MPEG.WizardAutoCalcVideoBitRate = False + MPEG.WizardAutoChooseList.EnableVideoSize = False + MPEG.WizardAutoChooseList.VideoSize = <> + MPEG.WizardAutoChooseList.EnableVideoGOP = False + MPEG.WizardAutoChooseList.VideoGOP = <> + MPEG.OutputStreamType = MPEG_OutputStreamType_VideoAudio + MPEG.OutputStreamType_ReadOnly = False + MPEG.Video.StreamType = MPEGVideoEncoder_StreamType_MPEG2 + MPEG.Video.StreamType_ReadOnly = False + MPEG.Video.Width = 720 + MPEG.Video.Width_ReadOnly = False + MPEG.Video.Height = 480 + MPEG.Video.Height_ReadOnly = False + MPEG.Video.YUVFormat = 1 + MPEG.Video.YUVFormat_ReadOnly = False + MPEG.Video.DC_prec = 2 + MPEG.Video.DC_prec_ReadOnly = False + MPEG.Video.VideoEncodeMode = MPEGVideoEncoder_VideoEncodeMode_Interlace + MPEG.Video.VideoEncodeMode_ReadOnly = False + MPEG.Video.FrameRate = 4 + MPEG.Video.FrameRate_ReadOnly = False + MPEG.Video.AspectRatio = 2 + MPEG.Video.AspectRatio_ReadOnly = False + MPEG.Video.RateControlMode = MPEGVideoEncoder_RateControlMode_VBR_2PASS + MPEG.Video.RateControlMode_ReadOnly = False + MPEG.Video.MaxBitRate = 0 + MPEG.Video.MaxBitRate_ReadOnly = False + MPEG.Video.MinBitRate = 0 + MPEG.Video.MinBitRate_ReadOnly = False + MPEG.Video.MinAvgBitRate = 0 + MPEG.Video.MinAvgBitRate_ReadOnly = False + MPEG.Video.CBR_BitRate = 4500000 + MPEG.Video.VBR_MultipassVBRAlgorithm = MPEGVideoEncoder_MultipassVBRAlgorithm_2PASS + MPEG.Video.VBR_AvgBitRate = 6000000 + MPEG.Video.VBR_MaxBitRate = 7000000 + MPEG.Video.VBR_MinBitRate = 0 + MPEG.Video.VBR_MaxPassCount = 0 + MPEG.Video.VBR_Quality_P = 0 + MPEG.Video.VBR_Quality_B = 20 + MPEG.Video.VBR_EnablePadding = False + MPEG.Video.MVBR_MaxBitRate = 8000000 + MPEG.Video.MVBR_MinBitRate = 2000000 + MPEG.Video.MVBR_Quality_P = 0 + MPEG.Video.MVBR_Quality_B = 20 + MPEG.Video.MVBR_EnablePadding = False + MPEG.Video.AVBR_Quality = 95 + MPEG.Video.AVBR_MaxBitRate = 4500000 + MPEG.Video.AVBR_MinBitRate = 2000000 + MPEG.Video.AVBR_EnablePadding = False + MPEG.Video.CQ_Quality = 95 + MPEG.Video.CQ_Quality_P = 0 + MPEG.Video.CQ_Quality_B = 20 + MPEG.Video.CQ_MaxBitRate = 4500000 + MPEG.Video.CQ_MinBitRate = 2000000 + MPEG.Video.CQ_EnablePadding = False + MPEG.Video.VBVBufferSize = 229376 + MPEG.Video.VBVBufferSize_ReadOnly = False + MPEG.Video.GOP_SeqHeaderInterval = 1 + MPEG.Video.GOP_SeqHeaderInterval_ReadOnly = False + MPEG.Video.GOP_I_FrameCount = 1 + MPEG.Video.GOP_I_FrameCount_ReadOnly = False + MPEG.Video.GOP_P_FrameCount = 4 + MPEG.Video.GOP_P_FrameCount_ReadOnly = False + MPEG.Video.GOP_B_FrameCount = 1 + MPEG.Video.GOP_B_FrameCount_ReadOnly = False + MPEG.Video.GOP_BitStreamForEdit = False + MPEG.Video.GOP_BitStreamForEdit_ReadOnly = False + MPEG.Video.GOP_MaxFrameCount = 18 + MPEG.Video.GOP_MaxFrameCount_ReadOnly = False + MPEG.Video.QuantizeMatrix_Intra_ReadOnly = False + MPEG.Video.QuantizeMatrix_NonIntra_ReadOnly = False + MPEG.Video.Profile = 4 + MPEG.Video.Profile_ReadOnly = False + MPEG.Video.Level = 8 + MPEG.Video.Level_ReadOnly = False + MPEG.Video.VideoFormat = 2 + MPEG.Video.VideoFormat_ReadOnly = False + MPEG.Video.DisplayWidth = 0 + MPEG.Video.DisplayWidth_ReadOnly = False + MPEG.Video.DisplayHeight = 0 + MPEG.Video.DisplayHeight_ReadOnly = False + MPEG.Video.MotionSearchSpeed = MPEGVideoEncoder_MotionSearchSpeed_Slow + MPEG.Video.MotionSearch_AlwaysHalfPel = True + MPEG.Video.UseFloatDCT = False + MPEG.Video.QuantizeMode = False + MPEG.Video.QuantizeModeVal_Intra = 35 + MPEG.Video.QuantizeModeVal_NonIntra = 35 + MPEG.Video.YUVBasicYCbCr = True + MPEG.Video.QuantizeMatrix_Intra = { + 081013161A1B1D22101016181B1D222513161A1B1D22222616161A1B1D222528 + 161A1B1D202328301A1B1D202328303A1A1B1D22262E38451B1D23262E384553} + MPEG.Video.QuantizeMatrix_NonIntra = { + 1011121314151617111213141516171812131415161718191314151617181A1B + 14151617191A1B1C151617181A1B1C1E1617181A1B1C1E1F1718191B1C1E1F21} + MPEG.Audio.StreamType = MPEGAudioEncoder_StreamType_MPEG1_Layer2 + MPEG.Audio.StreamType_ReadOnly = False + MPEG.Audio.SamplingFrequency = 48000 + MPEG.Audio.SamplingFrequency_ReadOnly = False + MPEG.Audio.ChannelMode = 0 + MPEG.Audio.ChannelMode_ReadOnly = False + MPEG.Audio.CantUseMono = False + MPEG.Audio.BitRate = 256000 + MPEG.Audio.BitRate_ReadOnly = False + MPEG.Audio.CalcCRC = False + MPEG.Audio.CalcCRC_ReadOnly = False + MPEG.Audio.OriginalFlag = False + MPEG.Audio.OriginalFlag_ReadOnly = False + MPEG.Audio.CopyrightFlag = False + MPEG.Audio.CopyrightFlag_ReadOnly = False + MPEG.Audio.PrivateFlag = False + MPEG.Audio.PrivateFlag_ReadOnly = False + MPEG.Audio.EmphasisType = 0 + MPEG.Audio.EmphasisType_ReadOnly = False + MPEG.System.StreamType = MPEGSystemEncoder_StreamType_MPEG2_Program + MPEG.System.StreamType_ReadOnly = False + MPEG.System.EnableCommentText = False + MPEG.System.CommentText = '' +end diff --git a/Windows Scripts/TMPG Settings/DV to DVD.mcf b/Windows Scripts/TMPG Settings/DV to DVD.mcf new file mode 100755 index 0000000..d70d1f3 --- /dev/null +++ b/Windows Scripts/TMPG Settings/DV to DVD.mcf @@ -0,0 +1,125 @@ +object TMPEGConfigFile + MPEG.Text = '' + MPEG.WizardCategoryName = '' + MPEG.WizardSubFormatName = '' + MPEG.WizardCaption = '' + MPEG.WizardDescription = '' + MPEG.WizardTargetMedia = MPEGConfig_TargetMediaType_Unknown + MPEG.WizardAutoCalcVideoBitRate = False + MPEG.WizardAutoChooseList.EnableVideoSize = False + MPEG.WizardAutoChooseList.VideoSize = <> + MPEG.WizardAutoChooseList.EnableVideoGOP = False + MPEG.WizardAutoChooseList.VideoGOP = <> + MPEG.OutputStreamType = MPEG_OutputStreamType_VideoAudio + MPEG.OutputStreamType_ReadOnly = False + MPEG.Video.StreamType = MPEGVideoEncoder_StreamType_MPEG2 + MPEG.Video.StreamType_ReadOnly = False + MPEG.Video.Width = 720 + MPEG.Video.Width_ReadOnly = False + MPEG.Video.Height = 480 + MPEG.Video.Height_ReadOnly = False + MPEG.Video.YUVFormat = 1 + MPEG.Video.YUVFormat_ReadOnly = False + MPEG.Video.DC_prec = 2 + MPEG.Video.DC_prec_ReadOnly = False + MPEG.Video.VideoEncodeMode = MPEGVideoEncoder_VideoEncodeMode_Interlace + MPEG.Video.VideoEncodeMode_ReadOnly = False + MPEG.Video.FrameRate = 4 + MPEG.Video.FrameRate_ReadOnly = False + MPEG.Video.AspectRatio = 2 + MPEG.Video.AspectRatio_ReadOnly = False + MPEG.Video.RateControlMode = MPEGVideoEncoder_RateControlMode_VBR_Auto + MPEG.Video.RateControlMode_ReadOnly = False + MPEG.Video.MaxBitRate = 0 + MPEG.Video.MaxBitRate_ReadOnly = False + MPEG.Video.MinBitRate = 0 + MPEG.Video.MinBitRate_ReadOnly = False + MPEG.Video.MinAvgBitRate = 0 + MPEG.Video.MinAvgBitRate_ReadOnly = False + MPEG.Video.CBR_BitRate = 7000000 + MPEG.Video.VBR_MultipassVBRAlgorithm = MPEGVideoEncoder_MultipassVBRAlgorithm_2PASS + MPEG.Video.VBR_AvgBitRate = 7000000 + MPEG.Video.VBR_MaxBitRate = 8000000 + MPEG.Video.VBR_MinBitRate = 2000000 + MPEG.Video.VBR_MaxPassCount = 0 + MPEG.Video.VBR_Quality_P = 0 + MPEG.Video.VBR_Quality_B = 20 + MPEG.Video.VBR_EnablePadding = False + MPEG.Video.MVBR_MaxBitRate = 8000000 + MPEG.Video.MVBR_MinBitRate = 2000000 + MPEG.Video.MVBR_Quality_P = 0 + MPEG.Video.MVBR_Quality_B = 20 + MPEG.Video.MVBR_EnablePadding = False + MPEG.Video.AVBR_Quality = 95 + MPEG.Video.AVBR_MaxBitRate = 4500000 + MPEG.Video.AVBR_MinBitRate = 2000000 + MPEG.Video.AVBR_EnablePadding = False + MPEG.Video.CQ_Quality = 65 + MPEG.Video.CQ_Quality_P = 0 + MPEG.Video.CQ_Quality_B = 20 + MPEG.Video.CQ_MaxBitRate = 8000000 + MPEG.Video.CQ_MinBitRate = 2000000 + MPEG.Video.CQ_EnablePadding = False + MPEG.Video.VBVBufferSize = 229376 + MPEG.Video.VBVBufferSize_ReadOnly = False + MPEG.Video.GOP_SeqHeaderInterval = 1 + MPEG.Video.GOP_SeqHeaderInterval_ReadOnly = False + MPEG.Video.GOP_I_FrameCount = 1 + MPEG.Video.GOP_I_FrameCount_ReadOnly = False + MPEG.Video.GOP_P_FrameCount = 4 + MPEG.Video.GOP_P_FrameCount_ReadOnly = False + MPEG.Video.GOP_B_FrameCount = 1 + MPEG.Video.GOP_B_FrameCount_ReadOnly = False + MPEG.Video.GOP_BitStreamForEdit = False + MPEG.Video.GOP_BitStreamForEdit_ReadOnly = False + MPEG.Video.GOP_MaxFrameCount = 18 + MPEG.Video.GOP_MaxFrameCount_ReadOnly = False + MPEG.Video.QuantizeMatrix_Intra_ReadOnly = False + MPEG.Video.QuantizeMatrix_NonIntra_ReadOnly = False + MPEG.Video.Profile = 4 + MPEG.Video.Profile_ReadOnly = False + MPEG.Video.Level = 8 + MPEG.Video.Level_ReadOnly = False + MPEG.Video.VideoFormat = 2 + MPEG.Video.VideoFormat_ReadOnly = False + MPEG.Video.DisplayWidth = 0 + MPEG.Video.DisplayWidth_ReadOnly = False + MPEG.Video.DisplayHeight = 0 + MPEG.Video.DisplayHeight_ReadOnly = False + MPEG.Video.MotionSearchSpeed = MPEGVideoEncoder_MotionSearchSpeed_Slow + MPEG.Video.MotionSearch_AlwaysHalfPel = False + MPEG.Video.UseFloatDCT = False + MPEG.Video.QuantizeMode = False + MPEG.Video.QuantizeModeVal_Intra = 35 + MPEG.Video.QuantizeModeVal_NonIntra = 35 + MPEG.Video.YUVBasicYCbCr = False + MPEG.Video.QuantizeMatrix_Intra = { + 081013161A1B1D22101016181B1D222513161A1B1D22222616161A1B1D222528 + 161A1B1D202328301A1B1D202328303A1A1B1D22262E38451B1D23262E384553} + MPEG.Video.QuantizeMatrix_NonIntra = { + 1011121314151617111213141516171812131415161718191314151617181A1B + 14151617191A1B1C151617181A1B1C1E1617181A1B1C1E1F1718191B1C1E1F21} + MPEG.Audio.StreamType = MPEGAudioEncoder_StreamType_MPEG1_Layer2 + MPEG.Audio.StreamType_ReadOnly = False + MPEG.Audio.SamplingFrequency = 48000 + MPEG.Audio.SamplingFrequency_ReadOnly = False + MPEG.Audio.ChannelMode = 0 + MPEG.Audio.ChannelMode_ReadOnly = False + MPEG.Audio.CantUseMono = False + MPEG.Audio.BitRate = 256000 + MPEG.Audio.BitRate_ReadOnly = False + MPEG.Audio.CalcCRC = False + MPEG.Audio.CalcCRC_ReadOnly = False + MPEG.Audio.OriginalFlag = False + MPEG.Audio.OriginalFlag_ReadOnly = False + MPEG.Audio.CopyrightFlag = False + MPEG.Audio.CopyrightFlag_ReadOnly = False + MPEG.Audio.PrivateFlag = False + MPEG.Audio.PrivateFlag_ReadOnly = False + MPEG.Audio.EmphasisType = 0 + MPEG.Audio.EmphasisType_ReadOnly = False + MPEG.System.StreamType = MPEGSystemEncoder_StreamType_MPEG2_Program + MPEG.System.StreamType_ReadOnly = False + MPEG.System.EnableCommentText = False + MPEG.System.CommentText = '' +end 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 index 0000000..f3d3af4 --- /dev/null +++ b/Windows Scripts/TMPG Settings/TV to DVD wizard CBR.mcf @@ -0,0 +1,127 @@ +object TMPEGConfigFile + MPEG.Text = '$$DVD_NTSC_4_3_LowResolution' + MPEG.WizardCategoryName = '$$DVD\$$NTSC_LowResolution' + MPEG.WizardSubFormatName = 'CBR $$WS_Audio_MPEG1LayerII' + MPEG.WizardCaption = '$$WC_DVD_NTSC_4_3_LowResolution' + MPEG.WizardDescription = + '$$WD_Header_DVD'#13#10#13#10'$$WD_FileInfo_DVD_Lowres'#13#10#13#10'$$WD_TVSystem_NTS' + + 'C'#13#10#13#10'$$WD_RecTime_DVD_MPA_max' + MPEG.WizardTargetMedia = MPEGConfig_TargetMediaType_DVD_47GB + MPEG.WizardAutoCalcVideoBitRate = False + MPEG.WizardAutoChooseList.EnableVideoSize = False + MPEG.WizardAutoChooseList.VideoSize = <> + MPEG.WizardAutoChooseList.EnableVideoGOP = False + MPEG.WizardAutoChooseList.VideoGOP = <> + MPEG.OutputStreamType = MPEG_OutputStreamType_VideoAudio + MPEG.OutputStreamType_ReadOnly = False + MPEG.Video.StreamType = MPEGVideoEncoder_StreamType_MPEG2 + MPEG.Video.StreamType_ReadOnly = True + MPEG.Video.Width = 352 + MPEG.Video.Width_ReadOnly = True + MPEG.Video.Height = 240 + MPEG.Video.Height_ReadOnly = True + MPEG.Video.YUVFormat = 1 + MPEG.Video.YUVFormat_ReadOnly = True + MPEG.Video.DC_prec = 1 + MPEG.Video.DC_prec_ReadOnly = False + MPEG.Video.VideoEncodeMode = MPEGVideoEncoder_VideoEncodeMode_Progressive + MPEG.Video.VideoEncodeMode_ReadOnly = True + MPEG.Video.FrameRate = 4 + MPEG.Video.FrameRate_ReadOnly = True + MPEG.Video.AspectRatio = 2 + MPEG.Video.AspectRatio_ReadOnly = True + MPEG.Video.RateControlMode = MPEGVideoEncoder_RateControlMode_CBR + MPEG.Video.RateControlMode_ReadOnly = False + MPEG.Video.MaxBitRate = 8000000 + MPEG.Video.MaxBitRate_ReadOnly = False + MPEG.Video.MinBitRate = 0 + MPEG.Video.MinBitRate_ReadOnly = False + MPEG.Video.MinAvgBitRate = 750000 + MPEG.Video.MinAvgBitRate_ReadOnly = False + MPEG.Video.CBR_BitRate = 1000000 + MPEG.Video.VBR_MultipassVBRAlgorithm = MPEGVideoEncoder_MultipassVBRAlgorithm_MultipassCQ + MPEG.Video.VBR_AvgBitRate = 2000000 + MPEG.Video.VBR_MaxBitRate = 8000000 + MPEG.Video.VBR_MinBitRate = 0 + MPEG.Video.VBR_MaxPassCount = 2 + MPEG.Video.VBR_Quality_P = 0 + MPEG.Video.VBR_Quality_B = 20 + MPEG.Video.VBR_EnablePadding = True + MPEG.Video.MVBR_MaxBitRate = 8000000 + MPEG.Video.MVBR_MinBitRate = 1000000 + MPEG.Video.MVBR_Quality_P = 0 + MPEG.Video.MVBR_Quality_B = 20 + MPEG.Video.MVBR_EnablePadding = True + MPEG.Video.AVBR_Quality = 50 + MPEG.Video.AVBR_MaxBitRate = 8000000 + MPEG.Video.AVBR_MinBitRate = 1000000 + MPEG.Video.AVBR_EnablePadding = True + MPEG.Video.CQ_Quality = 65 + MPEG.Video.CQ_Quality_P = 0 + MPEG.Video.CQ_Quality_B = 20 + MPEG.Video.CQ_MaxBitRate = 8000000 + MPEG.Video.CQ_MinBitRate = 1000000 + MPEG.Video.CQ_EnablePadding = True + MPEG.Video.VBVBufferSize = 229376 + MPEG.Video.VBVBufferSize_ReadOnly = True + MPEG.Video.GOP_SeqHeaderInterval = 1 + MPEG.Video.GOP_SeqHeaderInterval_ReadOnly = True + MPEG.Video.GOP_I_FrameCount = 1 + MPEG.Video.GOP_I_FrameCount_ReadOnly = True + MPEG.Video.GOP_P_FrameCount = 5 + MPEG.Video.GOP_P_FrameCount_ReadOnly = True + MPEG.Video.GOP_B_FrameCount = 2 + MPEG.Video.GOP_B_FrameCount_ReadOnly = True + MPEG.Video.GOP_BitStreamForEdit = True + MPEG.Video.GOP_BitStreamForEdit_ReadOnly = False + MPEG.Video.GOP_MaxFrameCount = 18 + MPEG.Video.GOP_MaxFrameCount_ReadOnly = True + MPEG.Video.QuantizeMatrix_Intra_ReadOnly = False + MPEG.Video.QuantizeMatrix_NonIntra_ReadOnly = False + MPEG.Video.Profile = 4 + MPEG.Video.Profile_ReadOnly = True + MPEG.Video.Level = 8 + MPEG.Video.Level_ReadOnly = True + MPEG.Video.VideoFormat = 2 + MPEG.Video.VideoFormat_ReadOnly = True + MPEG.Video.DisplayWidth = 0 + MPEG.Video.DisplayWidth_ReadOnly = False + MPEG.Video.DisplayHeight = 0 + MPEG.Video.DisplayHeight_ReadOnly = False + MPEG.Video.MotionSearchSpeed = MPEGVideoEncoder_MotionSearchSpeed_MotionEstimate + MPEG.Video.MotionSearch_AlwaysHalfPel = False + MPEG.Video.UseFloatDCT = False + MPEG.Video.QuantizeMode = False + MPEG.Video.QuantizeModeVal_Intra = 35 + MPEG.Video.QuantizeModeVal_NonIntra = 35 + MPEG.Video.YUVBasicYCbCr = False + MPEG.Video.QuantizeMatrix_Intra = { + 081013161A1B1D22101016181B1D222513161A1B1D22222616161A1B1D222528 + 161A1B1D202328301A1B1D202328303A1A1B1D22262E38451B1D23262E384553} + MPEG.Video.QuantizeMatrix_NonIntra = { + 1011121314151617111213141516171812131415161718191314151617181A1B + 14151617191A1B1C151617181A1B1C1E1617181A1B1C1E1F1718191B1C1E1F21} + MPEG.Audio.StreamType = MPEGAudioEncoder_StreamType_MPEG1_Layer2 + MPEG.Audio.StreamType_ReadOnly = True + MPEG.Audio.SamplingFrequency = 48000 + MPEG.Audio.SamplingFrequency_ReadOnly = True + MPEG.Audio.ChannelMode = 0 + MPEG.Audio.ChannelMode_ReadOnly = False + MPEG.Audio.CantUseMono = True + MPEG.Audio.BitRate = 256000 + MPEG.Audio.BitRate_ReadOnly = False + MPEG.Audio.CalcCRC = True + MPEG.Audio.CalcCRC_ReadOnly = False + MPEG.Audio.OriginalFlag = False + MPEG.Audio.OriginalFlag_ReadOnly = False + MPEG.Audio.CopyrightFlag = False + MPEG.Audio.CopyrightFlag_ReadOnly = False + MPEG.Audio.PrivateFlag = False + MPEG.Audio.PrivateFlag_ReadOnly = False + MPEG.Audio.EmphasisType = 0 + MPEG.Audio.EmphasisType_ReadOnly = False + MPEG.System.StreamType = MPEGSystemEncoder_StreamType_MPEG2_Program + MPEG.System.StreamType_ReadOnly = True + MPEG.System.EnableCommentText = False + MPEG.System.CommentText = '' +end 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 index 0000000..904a5ec --- /dev/null +++ b/Windows Scripts/TMPG Settings/TV to DVD wizard VBR.mcf @@ -0,0 +1,127 @@ +object TMPEGConfigFile + MPEG.Text = '$$DVD_NTSC_4_3_LowResolution' + MPEG.WizardCategoryName = '$$DVD\$$NTSC_LowResolution' + MPEG.WizardSubFormatName = 'VBR $$WS_Audio_MPEG1LayerII' + MPEG.WizardCaption = '$$WC_DVD_NTSC_4_3_LowResolution' + MPEG.WizardDescription = + '$$WD_Header_DVD'#13#10#13#10'$$WD_FileInfo_DVD_Lowres'#13#10#13#10'$$WD_TVSystem_NTS' + + 'C'#13#10#13#10'$$WD_RecTime_DVD_MPA_max'#13#10#13#10'$$WD_2passVBR' + MPEG.WizardTargetMedia = MPEGConfig_TargetMediaType_DVD_47GB + MPEG.WizardAutoCalcVideoBitRate = False + MPEG.WizardAutoChooseList.EnableVideoSize = False + MPEG.WizardAutoChooseList.VideoSize = <> + MPEG.WizardAutoChooseList.EnableVideoGOP = False + MPEG.WizardAutoChooseList.VideoGOP = <> + MPEG.OutputStreamType = MPEG_OutputStreamType_VideoAudio + MPEG.OutputStreamType_ReadOnly = False + MPEG.Video.StreamType = MPEGVideoEncoder_StreamType_MPEG2 + MPEG.Video.StreamType_ReadOnly = True + MPEG.Video.Width = 352 + MPEG.Video.Width_ReadOnly = True + MPEG.Video.Height = 240 + MPEG.Video.Height_ReadOnly = True + MPEG.Video.YUVFormat = 1 + MPEG.Video.YUVFormat_ReadOnly = True + MPEG.Video.DC_prec = 1 + MPEG.Video.DC_prec_ReadOnly = False + MPEG.Video.VideoEncodeMode = MPEGVideoEncoder_VideoEncodeMode_Progressive + MPEG.Video.VideoEncodeMode_ReadOnly = True + MPEG.Video.FrameRate = 4 + MPEG.Video.FrameRate_ReadOnly = True + MPEG.Video.AspectRatio = 2 + MPEG.Video.AspectRatio_ReadOnly = True + MPEG.Video.RateControlMode = MPEGVideoEncoder_RateControlMode_VBR_2PASS + MPEG.Video.RateControlMode_ReadOnly = False + MPEG.Video.MaxBitRate = 8000000 + MPEG.Video.MaxBitRate_ReadOnly = False + MPEG.Video.MinBitRate = 0 + MPEG.Video.MinBitRate_ReadOnly = False + MPEG.Video.MinAvgBitRate = 750000 + MPEG.Video.MinAvgBitRate_ReadOnly = False + MPEG.Video.CBR_BitRate = 2000000 + MPEG.Video.VBR_MultipassVBRAlgorithm = MPEGVideoEncoder_MultipassVBRAlgorithm_MultipassCQ + MPEG.Video.VBR_AvgBitRate = 1000000 + MPEG.Video.VBR_MaxBitRate = 8000000 + MPEG.Video.VBR_MinBitRate = 0 + MPEG.Video.VBR_MaxPassCount = 2 + MPEG.Video.VBR_Quality_P = 0 + MPEG.Video.VBR_Quality_B = 20 + MPEG.Video.VBR_EnablePadding = True + MPEG.Video.MVBR_MaxBitRate = 8000000 + MPEG.Video.MVBR_MinBitRate = 1000000 + MPEG.Video.MVBR_Quality_P = 0 + MPEG.Video.MVBR_Quality_B = 20 + MPEG.Video.MVBR_EnablePadding = True + MPEG.Video.AVBR_Quality = 50 + MPEG.Video.AVBR_MaxBitRate = 8000000 + MPEG.Video.AVBR_MinBitRate = 1000000 + MPEG.Video.AVBR_EnablePadding = True + MPEG.Video.CQ_Quality = 65 + MPEG.Video.CQ_Quality_P = 0 + MPEG.Video.CQ_Quality_B = 20 + MPEG.Video.CQ_MaxBitRate = 8000000 + MPEG.Video.CQ_MinBitRate = 1000000 + MPEG.Video.CQ_EnablePadding = True + MPEG.Video.VBVBufferSize = 229376 + MPEG.Video.VBVBufferSize_ReadOnly = True + MPEG.Video.GOP_SeqHeaderInterval = 1 + MPEG.Video.GOP_SeqHeaderInterval_ReadOnly = True + MPEG.Video.GOP_I_FrameCount = 1 + MPEG.Video.GOP_I_FrameCount_ReadOnly = True + MPEG.Video.GOP_P_FrameCount = 5 + MPEG.Video.GOP_P_FrameCount_ReadOnly = True + MPEG.Video.GOP_B_FrameCount = 2 + MPEG.Video.GOP_B_FrameCount_ReadOnly = True + MPEG.Video.GOP_BitStreamForEdit = True + MPEG.Video.GOP_BitStreamForEdit_ReadOnly = False + MPEG.Video.GOP_MaxFrameCount = 18 + MPEG.Video.GOP_MaxFrameCount_ReadOnly = True + MPEG.Video.QuantizeMatrix_Intra_ReadOnly = False + MPEG.Video.QuantizeMatrix_NonIntra_ReadOnly = False + MPEG.Video.Profile = 4 + MPEG.Video.Profile_ReadOnly = True + MPEG.Video.Level = 8 + MPEG.Video.Level_ReadOnly = True + MPEG.Video.VideoFormat = 2 + MPEG.Video.VideoFormat_ReadOnly = True + MPEG.Video.DisplayWidth = 0 + MPEG.Video.DisplayWidth_ReadOnly = False + MPEG.Video.DisplayHeight = 0 + MPEG.Video.DisplayHeight_ReadOnly = False + MPEG.Video.MotionSearchSpeed = MPEGVideoEncoder_MotionSearchSpeed_MotionEstimate + MPEG.Video.MotionSearch_AlwaysHalfPel = False + MPEG.Video.UseFloatDCT = False + MPEG.Video.QuantizeMode = False + MPEG.Video.QuantizeModeVal_Intra = 35 + MPEG.Video.QuantizeModeVal_NonIntra = 35 + MPEG.Video.YUVBasicYCbCr = False + MPEG.Video.QuantizeMatrix_Intra = { + 081013161A1B1D22101016181B1D222513161A1B1D22222616161A1B1D222528 + 161A1B1D202328301A1B1D202328303A1A1B1D22262E38451B1D23262E384553} + MPEG.Video.QuantizeMatrix_NonIntra = { + 1011121314151617111213141516171812131415161718191314151617181A1B + 14151617191A1B1C151617181A1B1C1E1617181A1B1C1E1F1718191B1C1E1F21} + MPEG.Audio.StreamType = MPEGAudioEncoder_StreamType_MPEG1_Layer2 + MPEG.Audio.StreamType_ReadOnly = True + MPEG.Audio.SamplingFrequency = 48000 + MPEG.Audio.SamplingFrequency_ReadOnly = True + MPEG.Audio.ChannelMode = 0 + MPEG.Audio.ChannelMode_ReadOnly = False + MPEG.Audio.CantUseMono = True + MPEG.Audio.BitRate = 256000 + MPEG.Audio.BitRate_ReadOnly = False + MPEG.Audio.CalcCRC = True + MPEG.Audio.CalcCRC_ReadOnly = False + MPEG.Audio.OriginalFlag = False + MPEG.Audio.OriginalFlag_ReadOnly = False + MPEG.Audio.CopyrightFlag = False + MPEG.Audio.CopyrightFlag_ReadOnly = False + MPEG.Audio.PrivateFlag = False + MPEG.Audio.PrivateFlag_ReadOnly = False + MPEG.Audio.EmphasisType = 0 + MPEG.Audio.EmphasisType_ReadOnly = False + MPEG.System.StreamType = MPEGSystemEncoder_StreamType_MPEG2_Program + MPEG.System.StreamType_ReadOnly = True + MPEG.System.EnableCommentText = False + MPEG.System.CommentText = '' +end diff --git a/Windows Scripts/TMPG Settings/TV to DVD.mcf b/Windows Scripts/TMPG Settings/TV to DVD.mcf new file mode 100755 index 0000000..265b898 --- /dev/null +++ b/Windows Scripts/TMPG Settings/TV to DVD.mcf @@ -0,0 +1,141 @@ +object TMPEGConfigFile + MPEG.Text = '' + MPEG.WizardCategoryName = '' + MPEG.WizardSubFormatName = '' + MPEG.WizardCaption = '' + MPEG.WizardDescription = '' + MPEG.WizardTargetMedia = MPEGConfig_TargetMediaType_Unknown + MPEG.WizardAutoCalcVideoBitRate = False + MPEG.WizardAutoChooseList.EnableVideoSize = False + MPEG.WizardAutoChooseList.VideoSize = < + item + MinVideoBitRate = 2000000 + Width = 352 + Height = 480 + VideoEncodeMode = MPEGVideoEncoder_VideoEncodeMode_Interlace + FrameRate = 4 + AspectRatio = 2 + end + item + MinVideoBitRate = 4000000 + Width = 720 + Height = 480 + VideoEncodeMode = MPEGVideoEncoder_VideoEncodeMode_Interlace + FrameRate = 4 + AspectRatio = 2 + end> + MPEG.WizardAutoChooseList.EnableVideoGOP = False + MPEG.WizardAutoChooseList.VideoGOP = <> + MPEG.OutputStreamType = MPEG_OutputStreamType_VideoAudio + MPEG.OutputStreamType_ReadOnly = False + MPEG.Video.StreamType = MPEGVideoEncoder_StreamType_MPEG2 + MPEG.Video.StreamType_ReadOnly = False + MPEG.Video.Width = 352 + MPEG.Video.Width_ReadOnly = False + MPEG.Video.Height = 240 + MPEG.Video.Height_ReadOnly = False + MPEG.Video.YUVFormat = 1 + MPEG.Video.YUVFormat_ReadOnly = False + MPEG.Video.DC_prec = 2 + MPEG.Video.DC_prec_ReadOnly = False + MPEG.Video.VideoEncodeMode = MPEGVideoEncoder_VideoEncodeMode_Interlace + MPEG.Video.VideoEncodeMode_ReadOnly = False + MPEG.Video.FrameRate = 4 + MPEG.Video.FrameRate_ReadOnly = False + MPEG.Video.AspectRatio = 2 + MPEG.Video.AspectRatio_ReadOnly = False + MPEG.Video.RateControlMode = MPEGVideoEncoder_RateControlMode_VBR_Auto + MPEG.Video.RateControlMode_ReadOnly = False + MPEG.Video.MaxBitRate = 0 + MPEG.Video.MaxBitRate_ReadOnly = False + MPEG.Video.MinBitRate = 0 + MPEG.Video.MinBitRate_ReadOnly = False + MPEG.Video.MinAvgBitRate = 0 + MPEG.Video.MinAvgBitRate_ReadOnly = False + MPEG.Video.CBR_BitRate = 7000000 + MPEG.Video.VBR_MultipassVBRAlgorithm = MPEGVideoEncoder_MultipassVBRAlgorithm_2PASS + MPEG.Video.VBR_AvgBitRate = 7000000 + MPEG.Video.VBR_MaxBitRate = 8000000 + MPEG.Video.VBR_MinBitRate = 2000000 + MPEG.Video.VBR_MaxPassCount = 0 + MPEG.Video.VBR_Quality_P = 0 + MPEG.Video.VBR_Quality_B = 20 + MPEG.Video.VBR_EnablePadding = False + MPEG.Video.MVBR_MaxBitRate = 8000000 + MPEG.Video.MVBR_MinBitRate = 2000000 + MPEG.Video.MVBR_Quality_P = 0 + MPEG.Video.MVBR_Quality_B = 20 + MPEG.Video.MVBR_EnablePadding = False + MPEG.Video.AVBR_Quality = 95 + MPEG.Video.AVBR_MaxBitRate = 4500000 + MPEG.Video.AVBR_MinBitRate = 1000000 + MPEG.Video.AVBR_EnablePadding = True + MPEG.Video.CQ_Quality = 65 + MPEG.Video.CQ_Quality_P = 0 + MPEG.Video.CQ_Quality_B = 20 + MPEG.Video.CQ_MaxBitRate = 8000000 + MPEG.Video.CQ_MinBitRate = 2000000 + MPEG.Video.CQ_EnablePadding = False + MPEG.Video.VBVBufferSize = 229376 + MPEG.Video.VBVBufferSize_ReadOnly = False + MPEG.Video.GOP_SeqHeaderInterval = 1 + MPEG.Video.GOP_SeqHeaderInterval_ReadOnly = False + MPEG.Video.GOP_I_FrameCount = 1 + MPEG.Video.GOP_I_FrameCount_ReadOnly = False + MPEG.Video.GOP_P_FrameCount = 4 + MPEG.Video.GOP_P_FrameCount_ReadOnly = False + MPEG.Video.GOP_B_FrameCount = 1 + MPEG.Video.GOP_B_FrameCount_ReadOnly = False + MPEG.Video.GOP_BitStreamForEdit = False + MPEG.Video.GOP_BitStreamForEdit_ReadOnly = False + MPEG.Video.GOP_MaxFrameCount = 18 + MPEG.Video.GOP_MaxFrameCount_ReadOnly = False + MPEG.Video.QuantizeMatrix_Intra_ReadOnly = False + MPEG.Video.QuantizeMatrix_NonIntra_ReadOnly = False + MPEG.Video.Profile = 4 + MPEG.Video.Profile_ReadOnly = False + MPEG.Video.Level = 8 + MPEG.Video.Level_ReadOnly = False + MPEG.Video.VideoFormat = 2 + MPEG.Video.VideoFormat_ReadOnly = False + MPEG.Video.DisplayWidth = 0 + MPEG.Video.DisplayWidth_ReadOnly = False + MPEG.Video.DisplayHeight = 0 + MPEG.Video.DisplayHeight_ReadOnly = False + MPEG.Video.MotionSearchSpeed = MPEGVideoEncoder_MotionSearchSpeed_Normal + MPEG.Video.MotionSearch_AlwaysHalfPel = False + MPEG.Video.UseFloatDCT = False + MPEG.Video.QuantizeMode = False + MPEG.Video.QuantizeModeVal_Intra = 35 + MPEG.Video.QuantizeModeVal_NonIntra = 35 + MPEG.Video.YUVBasicYCbCr = False + MPEG.Video.QuantizeMatrix_Intra = { + 081013161A1B1D22101016181B1D222513161A1B1D22222616161A1B1D222528 + 161A1B1D202328301A1B1D202328303A1A1B1D22262E38451B1D23262E384553} + MPEG.Video.QuantizeMatrix_NonIntra = { + 1011121314151617111213141516171812131415161718191314151617181A1B + 14151617191A1B1C151617181A1B1C1E1617181A1B1C1E1F1718191B1C1E1F21} + MPEG.Audio.StreamType = MPEGAudioEncoder_StreamType_MPEG1_Layer2 + MPEG.Audio.StreamType_ReadOnly = False + MPEG.Audio.SamplingFrequency = 48000 + MPEG.Audio.SamplingFrequency_ReadOnly = False + MPEG.Audio.ChannelMode = 0 + MPEG.Audio.ChannelMode_ReadOnly = False + MPEG.Audio.CantUseMono = False + MPEG.Audio.BitRate = 256000 + MPEG.Audio.BitRate_ReadOnly = False + MPEG.Audio.CalcCRC = False + MPEG.Audio.CalcCRC_ReadOnly = False + MPEG.Audio.OriginalFlag = False + MPEG.Audio.OriginalFlag_ReadOnly = False + MPEG.Audio.CopyrightFlag = False + MPEG.Audio.CopyrightFlag_ReadOnly = False + MPEG.Audio.PrivateFlag = False + MPEG.Audio.PrivateFlag_ReadOnly = False + MPEG.Audio.EmphasisType = 0 + MPEG.Audio.EmphasisType_ReadOnly = False + MPEG.System.StreamType = MPEGSystemEncoder_StreamType_MPEG2_Program + MPEG.System.StreamType_ReadOnly = False + MPEG.System.EnableCommentText = False + MPEG.System.CommentText = '' +end diff --git a/Windows Scripts/Thumbs.db b/Windows Scripts/Thumbs.db new file mode 100755 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 index 0000000..aa09c9a --- /dev/null +++ b/Windows Scripts/dv2all.bat @@ -0,0 +1,17 @@ +echo ######################## +echo Converting DV to DIVX... +echo ######################## +echo. +dv2divx.bat + +echo ###################### +echo Converting DV to RM... +echo ###################### +echo. +C:\Perl\bin\perl -w dv2rm.pl + +###### +DONE!! +###### + +pause \ No newline at end of file diff --git a/Windows Scripts/dv2divx.bat b/Windows Scripts/dv2divx.bat new file mode 100755 index 0000000..6067262 --- /dev/null +++ b/Windows Scripts/dv2divx.bat @@ -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 diff --git a/Windows Scripts/dv2divx_2pass.bat b/Windows Scripts/dv2divx_2pass.bat new file mode 100755 index 0000000..913737e --- /dev/null +++ b/Windows Scripts/dv2divx_2pass.bat @@ -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 diff --git a/Windows Scripts/dv2divx_2pass_HQ.bat b/Windows Scripts/dv2divx_2pass_HQ.bat new file mode 100755 index 0000000..1e22866 --- /dev/null +++ b/Windows Scripts/dv2divx_2pass_HQ.bat @@ -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 diff --git a/Windows Scripts/dv2rm.bat b/Windows Scripts/dv2rm.bat new file mode 100755 index 0000000..3a1ed91 --- /dev/null +++ b/Windows Scripts/dv2rm.bat @@ -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 index 0000000..460b888 --- /dev/null +++ b/Windows Scripts/dv2rm.pl @@ -0,0 +1,125 @@ +# Author: Alan J. Pippin +# Perl script written for a windows based machine running +# Real Producer to auotmatically create rm videos for all +# the avi files in a given directory. + +#$dvpath = "U:\\MiniDV\\"; +#$dvpath = "U:\\DVtoRM\\"; +$dvpath = "V:\\MiniDV\\"; +$webdir = "V:\\RealContent\\www"; +$ipaqdir= "V:\\RealContent\\ipaq"; +$hqdir = "V:\\RealContent\\HQ"; +$producer = "C:\\Program\ Files\\Real\\Helix\ Producer\ Plus\\producer.exe"; +$author = "Alan J. Pippin"; +$date_prog = "F:\\cygwin\\bin\\date.exe"; +$logfile = "V:\\RealContent\\convert.log"; +$audiogain = 0; # Can be -12 to 12 + +$makeweb = 1; # Can be 0 or 1 +$makeipaq = 0; # Can be 0 or 1 +$makehq = 0; # Can be 0 or 1 + +opendir( DIR, $dvpath ) or die "Can't open $path: $!"; +chdir $dvpath; +unlink "$logfile"; + +$start_time = `$date_prog`; chomp $start_time; + +$numfiles=0; +while ( $file = readdir( DIR ) ) { + if( -d "$path\\$file" ) { next; } + if( $file !~ /\.avi|mpg|mpg2$/) { next; } + $numfiles++; +} +close(DIR); + +if($makeweb==1) { +opendir( DIR, $dvpath ); +print "------------------------------------------------------------------\n"; +print "-> Converting all video files in $dvpath to web streamed rm files...\n"; +print "------------------------------------------------------------------\n\n"; +$fileno = 0; +while ( $file = readdir( DIR ) ) { + if( -d "$path\\$file" ) { next; } + if( $file !~ /\.avi|mpg|mpg2$/) { next; } + $fileno++; + $file =~ /^(.*?)\.(avi|mpg|mpg2)$/; $filename = $1; $ext = $2; + $date = `$date_prog`; + $outfile = "$filename.rm"; $outfile =~ s/\s/_/g; $outfile =~ tr/[A-Z]/[a-z]/; + $outfile = "$webdir\\$outfile"; + print "-> [$fileno/$numfiles] Encoding $filename.$ext -> $outfile\n"; + print " Started $date"; + if( -e "$outfile") { print " Output file $outfile already exists...\n"; next; } + $options = "-t \"$filename\" -a \"$author\" -i \"$file\" "; + $options.= "-o \"$outfile\" -ad \"28k,56k,128k,150k\" "; + $options.= "-rs 320x213 -ag $audiogain"; + system("\"$producer\" $options"); + print "\n"; + $date = `$date_prog`; + print " Finished $date\n\n"; +} +close(DIR); +} + +if($makeipaq==1) { +opendir( DIR, $dvpath ); +print "-------------------------------------------------------------------------\n"; +print "-> Converting all avi files in $dvpath to ipaq single streamed rm files...\n"; +print "-------------------------------------------------------------------------\n\n"; +$fileno = 0; +while ( $file = readdir( DIR ) ) { + if( -d "$path\\$file" ) { next; } + if( $file !~ /\.avi$/) { next; } + $fileno++; + $file =~ /^(.*?)\.avi$/; $filename = $1; + $date = `$date_prog`; + $outfile = "$filename"; $outfile =~ s/\s/_/g; $outfile =~ tr/[A-Z]/[a-z]/; $outfile.="_ipaq.rm"; + $outfile = "$ipaqdir\\$outfile"; + print "-> [$fileno/$numfiles] Encoding $filename.avi -> $outfile\n"; + print " Started $date"; + if( -e "$outfile") { print " Output file already exists...\n"; next; } + $options = "-t \"$filename\" -a \"$author\" -i \"$file\" "; + $options.= "-o \"$outfile\" -ad \"128k\" "; + $options.= "-rs 320x240 -ag $audiogain"; + system("\"$producer\" $options"); + print "\n"; + $date = `$date_prog`; + print " Finished $date\n\n"; +} +close(DIR); +} + +if($makehq==1) { +opendir( DIR, $dvpath ); +print "-------------------------------------------------------------------------\n"; +print "-> Converting all avi files in $dvpath to HighQual single streamed rm files...\n"; +print "-------------------------------------------------------------------------\n\n"; +$fileno = 0; +while ( $file = readdir( DIR ) ) { + if( -d "$path\\$file" ) { next; } + if( $file !~ /\.avi$/) { next; } + $fileno++; + $file =~ /^(.*?)\.avi$/; $filename = $1; + $date = `$date_prog`; + $outfile = "$filename"; $outfile =~ s/\s/_/g; $outfile =~ tr/[A-Z]/[a-z]/; $outfile.="_hq.rm"; + $outfile = "$hqdir\\$outfile"; + print "-> [$fileno/$numfiles] Encoding $filename.avi -> $outfile\n"; + print " Started $date"; + if( -e "$outfile") { print " Output file already exists...\n"; next; } + $options = "-t \"$filename\" -a \"$author\" -i \"$file\" "; + $options.= "-o \"$outfile\" -ad \"512k\" "; + $options.= "-rs 720x480 -ag $audiogain"; + system("\"$producer\" $options"); + print "\n"; + $date = `$date_prog`; + print " Finished $date\n\n"; +} +close(DIR); +} + +$stop_time = `$date_prog`; chomp $stop_time; + +print "Total Time Summary:\n$start_time\n$stop_time\n\n"; +print "Press 'Enter' to continue..."; + + diff --git a/avi2divx b/avi2divx new file mode 100755 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 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 index 0000000..89a7784 --- /dev/null +++ b/avi2flv @@ -0,0 +1,25 @@ +#!/bin/bash + +if [[ -z "$1" ]]; +then + echo "Usage: $0 " + 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 index 0000000..8880d82 --- /dev/null +++ b/avi2mp3avi @@ -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 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 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 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 index 0000000..c46b8ae --- /dev/null +++ b/backup_system.cmd @@ -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 index 0000000..ae8c602 --- /dev/null +++ b/burniso.cmd @@ -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 index 0000000..f672576 --- /dev/null +++ b/copy_home_videos.cmd @@ -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 +# 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 index 0000000..aaa1c9a --- /dev/null +++ b/create_merge_videos @@ -0,0 +1 @@ +make_home_video.pl -m -d diff --git a/dos2ux b/dos2ux new file mode 100755 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 index 0000000..d540dd7 --- /dev/null +++ b/dump_raw_video_files_from_camera @@ -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 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 index 0000000..266f312 --- /dev/null +++ b/fix_video_names @@ -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 index 0000000..ac3fa22 --- /dev/null +++ b/make_home_videos.cmd @@ -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 +# 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 index 0000000..a34a1a5 --- /dev/null +++ b/make_home_videos.cmd.noreboot @@ -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 +# 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 index 0000000..a35a983 --- /dev/null +++ b/make_home_videos.pl @@ -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 \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 . \n"; + print " -p Create video playlists for each year & month of video clips in the directory specified by -d .\n"; + print " -n Name of the tape to prepend to the front of each videoclip filename.\n"; + print " -d Directory we want to encode. If not specified, =\n"; + print " -a Use abbreviated names for merged video clips: yyyy-mm-dd.avi vs. .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 Time in minutes to grab from the camera (default "; print $max_tape_grab_time/60; print ")\n"; + print " -b 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 " /*.avi MiniDV Raw AVI files\n"; + print " /$encoded_dir/*.avi XVID compressed versions of the Raw AVI files\n"; + print " /$merge_dir/*.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 index 0000000..6d5e81c --- /dev/null +++ b/merge_all_new_mpg_clips.pl @@ -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 index 0000000..2528772 --- /dev/null +++ b/merge_mpg_clips @@ -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 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 index 0000000..c1c4280 --- /dev/null +++ b/setprompt.pl @@ -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 = "\\[\\]ROOT\\[\\]:"; +} elsif( $whoami ne "ajp" ) { + $user = "\\[\\]$whoami\\[\\]@"; +} + +#Colors +if ( $ENV{COLOR_PROMPT} ne "no" ) +{ + $host = "\\[\\]$host\\[\\]" if $host; + $pwd = "\\[\\]$pwd\\[\\]"; +} + +print "$user$host:$pwd> "; + diff --git a/vob2avi b/vob2avi new file mode 100755 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" +