|
|||||||||
|
Thread Tools | Search this Thread |
April 26th, 2010, 08:44 PM | #1 |
Regular Crew
Join Date: May 2008
Location: Gilbert, AZ
Posts: 92
|
RenderQueue.js
I'm using the RenderQueue.js found at Vegas Scripts at Ayizwe.net
This is the default template within the script var rendererRE = /Video for Windows/; var templateRE = /NTSC DV/; I've successfully modified it to use this template: var rendererRE = /Windows Media Video V11/; var templateRE = /8 Mbps HD 1080-30p Video/; However, I can't get this one to render to a m2t extension rather then a MPG var rendererRE = /MainConcept MPEG-2/; var templateRE = /HDV 720-30p/; In case anyone wants to take a stab at it, I would also like to make sure these custom settings were used: Prioritize quality over speed = true Video Quality = 31 Variable bit rate, Two-pass = true Thank you. |
April 27th, 2010, 06:55 AM | #2 |
Sponsor: JET DV
Join Date: Dec 2001
Location: Southern Illinois
Posts: 7,953
|
Since 2003 (when that script was written) some things have changed. Some renderers can actually render to MULTIPLE file extensions. In this case, the script is using the "first" extension.
Since the render format is hard coded, you might as well hard-code the extension as well. Find this line: var outputFilename = outputDir + Path.DirectorySeparatorChar + outputName + rendererExt; Now change it to: var outputFilename = outputDir + Path.DirectorySeparatorChar + outputName + ".m2t";
__________________
Edward Troxel [SCVU] JETDV Scripts/Scripting Tutorials/Excalibur/Montage Magic/Newsletters |
April 27th, 2010, 10:33 PM | #3 |
Regular Crew
Join Date: May 2008
Location: Gilbert, AZ
Posts: 92
|
Thanks Ed.
Very cool and easy! Are you going to pass on the other settings? |
April 28th, 2010, 06:29 AM | #4 |
Sponsor: JET DV
Join Date: Dec 2001
Location: Southern Illinois
Posts: 7,953
|
You mean what extensions CAN be used? You'd need to write a script that looks at each renderer and goes through the list of possible extensions to get the exact list.
Changing: var rendererExt = renderer.FileExtension.substring(1); to var rendererExt = renderer.Extension.substring(1); may have also worked but I have not tested it.
__________________
Edward Troxel [SCVU] JETDV Scripts/Scripting Tutorials/Excalibur/Montage Magic/Newsletters |
April 28th, 2010, 07:38 PM | #5 |
Regular Crew
Join Date: May 2008
Location: Gilbert, AZ
Posts: 92
|
Thanks Ed, but I was actually referring to custom settings like:
Prioritize quality over speed = true Video Quality = 31 Variable bit rate, Two-pass = true |
April 29th, 2010, 06:38 AM | #6 |
Sponsor: JET DV
Join Date: Dec 2001
Location: Southern Illinois
Posts: 7,953
|
Nope. You can't change those. You can only select presets. So make a preset with the settings you want and use that preset instead.
__________________
Edward Troxel [SCVU] JETDV Scripts/Scripting Tutorials/Excalibur/Montage Magic/Newsletters |
April 29th, 2010, 08:39 PM | #7 |
Regular Crew
Join Date: May 2008
Location: Gilbert, AZ
Posts: 92
|
Great, thank you again for your assistance Ed!!
|
| ||||||
|
|