Comments

jetdv wrote on 1/7/2008, 6:48 AM
It sort of depends on the script you're using. The ability to specifically set that information was added at one point and scripts can specifically set that option. If they DON'T set that option, they may not be saved. Are you talking the standard batch script that comes with Vegas? If yes, it does not have the extra code to explicitly include markers.
Per1 wrote on 1/7/2008, 5:58 PM
Yes, it is the standard Batch Render I use.
Is there some info where/how one can insert some extra lines in a copy of this script and use?
jetdv wrote on 1/7/2008, 6:56 PM
Sure. You would change:

[code[
RenderStatus status = myVegas.Render(filePath, renderItem.Template, start, length);
[/code]

With the following:


RenderArgs args = new RenderArgs();
args.OutputFile = filePath;
args.RenderTemplate = renderItem.Template;
args.Start = start;
args.Length = length;
args.IncludeMarkers = true;
args.StretchToFill = false;

RenderStatus status = myVegas.Render(args);


You can set IncludeMarkers and StretchToFill to true or false as needed.