Batch Render with Options

mploetner wrote on 3/31/2009, 5:44 AM
Hi, i want to modify the included batchrender script with the possibility to choose (radio button) to render using the "stretch to fill" option from the "render as" dialog. the problem is that i'm a user and this simple task is to much for me.
the results from my own research point to the class RenderArgs where i could pass those option but i dont know how to use this "half knowledge".
in adition to this it would be great if i could choose that the name of the output file match with the name of the regions i want render.

any help would be welcom,
thanks marko

Comments

jetdv wrote on 3/31/2009, 7:02 AM
Here's a new version of the included Batch Render script with several improvements including the ability to set the "Stretch To Fill" option. Changes from the base "BatchRender" version:

1. Added checkbox for Overwrite Existing Files
2. Added checkbox so that region names can optionally be used instead of the original region naming system.
3. Render Args are now used instead of a simple "Render" call.
4. Added checkbox for Stretch to Fill Frame
mploetner wrote on 3/31/2009, 10:49 AM
Thank you, thats almost anything i wanted to include.

Thanks again, marko
jeff-beardall wrote on 4/15/2009, 6:37 AM
Nice script!
Any way to change the auto-generated output file name to not include the render template name?
THX!
Jeff
jetdv wrote on 4/15/2009, 7:23 AM
You would change this section:


String filename = Path.Combine(outputDirectory,
FixFileName(baseFileName) +
FixFileName(renderItem.Renderer.FileTypeName) +
"_" +
FixFileName(renderItem.Template.Name));


At the bare minimum, you could change it to:


String filename = Path.Combine(outputDirectory,
FixFileName(baseFileName));


This change would ONLY use the base file name that you used. If you told it to render to multiple formats, that could lead to a problem - if multiple renders have the same file extension.
akg wrote on 6/7/2009, 1:13 AM
Why this only can render Sony AVC files with V9 ???
jetdv wrote on 6/7/2009, 12:49 PM
There's a full thread here with many updated versions listed. The last update was to make the other renderers show up in Vegas Pro 9.
akg wrote on 6/8/2009, 2:34 AM
My e-mail address has been banned by your site !! >~<
Help !!
jetdv wrote on 6/8/2009, 7:01 AM
Not YOURS - the domain you used.

Send me an e-mail and I'll get you around the issue.