Hi,
I'm using Vegas Pro8.
After setting up regions and selecting tools/scripting/batch render/main concept Mpeg2 I'm presented with the list of the standard templates for rendering. The problem is the list doesn't include the custom templates that I've set up via 'render as'. I've tried running the rescan script menu folder without result.
Thanks for your help.
Ok, as a test I just created a new MPEG2 preset and it did show up in Batch Render.
I then created another preset, included audio, but told it to save as elementary streams (i.e. a separate audio file). That one did NOT show up.
There's this code in the script:
// filter out templates that don't have
// exactly one file extension
String[] extensions = template.FileExtensions;
if (1 != extensions.Length) {
continue;
}
This removes any templates that have multiple file extensions. Do your presets have multiple file extensions? Perhaps if you gave more details it would help.
You may also try changing the script as follows. It just lists the presets no matter how many extensions it says it has - but you may not get the results you want...
// filter out templates that don't have
// exactly one file extension
String[] extensions = template.FileExtensions;
// if (1 != extensions.Length) {
// continue;
// }