Modify Render templates through script?

zzzzzz9125 wrote on 2/1/2024, 9:00 AM

For example, now I have a project with a resolution of 32 × 32 pixels and a frame rate of 5 fps and want to render an AVI video file with alpha channel. In general, I have to manually modify the render template to match the project. I want to use the script to automatically modify the render template directly according to the project properties, and then render. Is this possible?

(I know that I can match project properties directly using Voukoder or DebugMode FrameServer, but I try to avoid third-party plug-ins for the compatibility of the script.)

Using VEGAS Pro 22 build 248 & VEGAS Pro 21 build 208.

Information about my PC:
Brand Name: HP VICTUS Laptop
System: Windows 11.0 (64-bit) 10.00.22631
CPU: 12th Gen Intel(R) Core(TM) i7-12700H
GPU: NVIDIA GeForce RTX 3050 Laptop GPU
GPU Driver: NVIDIA Studio Driver 560.70

Comments

jetdv wrote on 2/1/2024, 9:22 AM

All of the render template settings are read only. You cannot set, for example, the Height and Width from a script. You will need to create the proper template first and then call the proper template.

wwaag wrote on 2/1/2024, 9:44 AM

@zzzzzz9125

Or you can use a renderer that doesn't require a separate template for each frames size such as MagicYUV, GrassValley HQX, etc.

"but I try to avoid third-party plug-ins for the compatibility of the script". Not sure what type of incompatibility you are referring to. HappyOtterScripts has quite a few rendering tools (scripts), many of which are based on the use of DebugMode FrameServer and there are no issues AFAIK.

AKA the HappyOtter at https://tools4vegas.com/. System 1: Intel i7-8700k with HD 630 graphics plus an Nvidia RTX4070 graphics card. System 2: Intel i7-3770k with HD 4000 graphics plus an AMD RX550 graphics card. System 3: Laptop. Dell Inspiron Plus 16. Intel i7-11800H, Intel Graphics. Current cameras include Panasonic FZ2500, GoPro Hero11 and Hero8 Black plus a myriad of smartPhone, pocket cameras, video cameras and film cameras going back to the original Nikon S.