RenderQueue.js at DVinfo.net
DV Info Net

Go Back   DV Info Net > Windows / PC Post Production Solutions > What Happens in Vegas...
Register FAQ Today's Posts Buyer's Guides

What Happens in Vegas...
...stays in Vegas! This PC-based editing app is a safe bet with these tips.

Reply
 
Thread Tools Search this Thread
Old 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.
Ken Olson is offline   Reply With Quote
Old 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 is offline   Reply With Quote
Old 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?
Ken Olson is offline   Reply With Quote
Old 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 is offline   Reply With Quote
Old 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
Ken Olson is offline   Reply With Quote
Old 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 is offline   Reply With Quote
Old 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!!
Ken Olson is offline   Reply
Reply

DV Info Net refers all where-to-buy and where-to-rent questions exclusively to these trusted full line dealers and rental houses...

B&H Photo Video
(866) 521-7381
New York, NY USA

Scan Computers Int. Ltd.
+44 0871-472-4747
Bolton, Lancashire UK


DV Info Net also encourages you to support local businesses and buy from an authorized dealer in your neighborhood.
  You are here: DV Info Net > Windows / PC Post Production Solutions > What Happens in Vegas...


 



All times are GMT -6. The time now is 11:01 AM.


DV Info Net -- Real Names, Real People, Real Info!
1998-2024 The Digital Video Information Network