-
Free Script to Render all Vegs in a Folder
Posted by Keith Sorbo on April 13, 2005 at 11:28 amIs there a freely available script to render all veg files in a certain subfolder?
Keith
Edward Troxel replied 21 years, 3 months ago 2 Members · 6 Replies -
6 Replies
-
Edward Troxel
April 13, 2005 at 1:39 pmI don’t know if there’s a free one – you can look on the Sundance site and see but I don’t specifically recall one. Probably the best one for this purpose would be in Randall’s Veggie Toolkit. It’s very cheap and and a free trial (if you do them fast enough, you may finish before the trial expires letting you do them for free).
-
Edward Troxel
April 13, 2005 at 2:29 pm -
Keith Sorbo
April 14, 2005 at 12:26 amYou’re the man!
Thanks! I knew it was out there but couldn’t find it.
Keith
-
Keith Sorbo
April 14, 2005 at 1:55 amThe script works as written, rendering to Video for Windows.
Still need some help! I want to render using MainConcept MPEG-1.
Following is at the top of the script
// Modify the following two lines to suit you needs for the output
// format.
var rendererRE = /Video for Windows/;
var templateRE = /NTSC DV/;I replaced the third line with
var rendererRE = /MainConcept MPEG-1/
it does not match.
I HAVE MainConcpt installed and working.
I am sure it has something to do with the fact that the line is a RegEx expression and I am not real good with them.
Keith
-
Edward Troxel
April 14, 2005 at 3:11 amI’ve done things like this before – change:
function FindRenderer(rendererRegExp : RegExp) : Renderer {
var rendererEnum : Enumerator = new Enumerator(Vegas.Renderers);
while (!rendererEnum.atEnd()) {
var renderer : Renderer = Renderer(rendererEnum.item());
if (null != renderer.FileTypeName.match(rendererRegExp)) {
return renderer;
}
rendererEnum.moveNext();
}
return null;
}To this:
function FindRenderer(rendererRegExp) : Renderer {
var rendererEnum : Enumerator = new Enumerator(Vegas.Renderers);
while (!rendererEnum.atEnd()) {
var renderer : Renderer = Renderer(rendererEnum.item());
if (rendererRegExp == renderer.Name)) {
return renderer;
}
rendererEnum.moveNext();
}
return null;
}NOTE: You also need to change:
var rendererRE = /MainConcept MPEG-1/
to:
var rendererRE = “MainConcept MPEG-1”
-
Edward Troxel
April 14, 2005 at 1:14 pm
Reply to this Discussion! Login or Sign Up
