Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums VEGAS Pro batch rendering regions

  • batch rendering regions

    Posted by Stephanie Welch on February 10, 2011 at 12:33 am

    Figured out how to batch render regions, but does anybody know how those rendered files can already have names when they end up in the render folder? I named each region, but that didn’t help….?

    Paragon Media

    John Rofrano replied 13 years, 3 months ago 4 Members · 4 Replies
  • 4 Replies
  • John Rofrano

    February 10, 2011 at 12:46 am

    [Stephanie Welch] ” but does anybody know how those rendered files can already have names when they end up in the render folder?”

    I don’t believe that the Batch Render script can do that. You would need to use a script that has this ability. VASST Ultimate S Pro is a script plug-in for Vegas Pro can do this and a whole lot more.

    ~jr

    http://www.johnrofrano.com
    http://www.vasst.com

  • Edward Troxel

    February 10, 2011 at 3:08 pm

    Just open the BatchRender.cs script in the Vegas/Script Menu folder and make these changes:

    Here’s the line you’d need to change:

    String regionFilename = String.Format(“{0}[{1}]{2}”,
    filename,
    regionIndex.ToString(),
    renderItem.Extension);

    You would change it to something like:

    String regionFilename = region.Label + renderItem.Extension;

    Edward Troxel
    JETDV Scripts

  • Tim Mccallister

    May 12, 2013 at 9:47 pm

    I did the above and here’s what came back (an error):

    System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. —> System.ApplicationException: Render failed:

    file name: C:GLENNFilmmaking & ScriptsProjects – Video Film DVDFFSHD UprezProject FilesArchivedHD Intermediate test_QuickTime 7_Avid DNxHD 175-10-bit 1080p 23.976 MOS[0].mov
    Template: Avid DNxHD 175/10-bit 1080p 23.976 MOS
    at EntryPoint.DoRender(RenderArgs args)
    at EntryPoint.DoBatchRender(ArrayList selectedTemplates, String basePath, RenderMode renderMode)
    at EntryPoint.FromVegas(Vegas vegas)
    — End of inner exception stack trace —
    at System.RuntimeMethodHandle._InvokeMethodFast(Object target, Object[] arguments, SignatureStruct& sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner)
    at System.RuntimeMethodHandle.InvokeMethodFast(Object target, Object[] arguments, Signature sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner)
    at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture, Boolean skipVisibilityChecks)
    at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
    at Sony.Vegas.ScriptHost.ScriptManager.Run(Assembly asm, String className, String methodName)
    at Sony.Vegas.ScriptHost.CodeDomScriptManager.Run()
    at Sony.Vegas.ScriptHost.RunScript(Boolean fCompileOnly)

    Indie Filmmaker

  • John Rofrano

    May 13, 2013 at 12:01 pm

    Please try not to double post.

    As I said in your other post, It looks like your code threw an exception and you didn’t catch it.

    Why don’t you use a proven render script like VASST Render Assistant? For $9.95 you don’t have to debug it and if it doesn’t work you get to have me fix it. 😉

    ~jr

    http://www.johnrofrano.com
    http://www.vasst.com

We use anonymous cookies to give you the best experience we can.
Our Privacy policy | GDPR Policy