-
Automatic markers
Posted by Alice Thomas on July 16, 2008 at 4:40 pmIs there a way in Sony Vegas or in DVD Architect to add markers/chapters automatically – for example, every 3 minutes?
Edward Troxel replied 18 years, 2 months ago 2 Members · 1 Reply -
1 Reply
-
Edward Troxel
July 16, 2008 at 5:47 pmIn the full versions of Vegas, markers can easily be added at set increments via a script.
This script (MarkerInterval.js) will add one for every minute. You can change the interval variable to get different intervals. If you don’t want to worry about scripting, both Excalibur and Ultimate S can do it for you as well.
[code]
/**
* This script will put markers or regions at the set interval
* doRegion = false —> Markers
* doRegion = true —> Regions
* IntervalTime: Length of time between the markers or length of regions
* StartTime: Where the first marker/region is to begin
*
* Written By: Edward Troxel
* Copyright 2005 – JETDV Scripts
* Created: 09-14-2005
**/import System.Windows.Forms;
import Sony.Vegas;var IntervalTime = new Timecode(“00:01:00:00”);
var StartTime = new Timecode(“00:00:00:00”);
var doRegion = false;
var MarkEndTime = Vegas.Project.Length;try {
var MarkTime = StartTime;while (MarkTime < MarkEndTime) { if (doRegion) { var myRegion = new Region(MarkTime, IntervalTime, ""); Vegas.Project.Regions.Add(myRegion); } else { var myMarker = new Marker(MarkTime); Vegas.Project.Markers.Add(myMarker); } MarkTime += IntervalTime; } } catch (e) { MessageBox.Show(e); } [/code]
Edward Troxel
Reply to this Discussion! Login or Sign Up