Vegas workflow speed-up tips (auto-fades etc)...?

ken c wrote on 1/11/2008, 12:59 PM
Hi -

Does anyone have any workflow speedup tips using Vegas that they'd like to share?

Here I am slogging through yet another massive video editing project, wondering if there's a faster way to get some tasks done.

One that immediately springs to mind is, is there any way to at least have automatic fades added to the start and end of each video clip, by a specified time interval (as a default)? That would add up to a lot of saved time, vs having to manually pull a fade into every single little clip (for those that aren't crossfades)... stuff like that.

Using the various scripts helps a bit .. anything else for speeding up general editing workflow in Vegas, that you'd care to share?

Thanks,

Ken

Comments

jetdv wrote on 1/11/2008, 1:34 PM
If the clips are already on the timeline, you'll need to use a script or manually do it.

If you're dragging clips from the explorer or media pool, the "cut to overlap conversion" amount will be the length the clips are crossfaded to each other.

I have many other tips in my newsletters and Spot has many tips on the VASST site. Several other users have articles on their sites as well.
FrigidNDEditing wrote on 1/11/2008, 2:08 PM
alright, my tip for the day, when working on long form projects (especially multicam) apply your color correction FX to the clip via the media bin FX tool, and then rather than track or clip based work on your timeline you just make one change to that clip from the media bin's FX tool and you change them all at once.

hope that helps.

Dave
ken c wrote on 1/13/2008, 2:44 PM
Hi - thanks, I'll take a look at both of those for resources. Seems like manually having to do fades on individual clips (and applying alpha for that matter) is a tedious task that could be automated, sounds like scripts may do some of it.. would be nice to see media modifications as an automatic/cusom macro type setting in a future version of Vegas... eg to be able to automatically fade the first 3 seconds of clips in/out type of thing.

Ken
jetdv wrote on 1/13/2008, 2:48 PM
Ken, you can do things like that via a script. E-mail if you want to talk specific details.
johnmeyer wrote on 1/13/2008, 8:59 PM
I wrote a script that has saved me a TON of time. This script assumes that you have some video on a track, and the associated audio on the track immediately below. What you do is click on the video event at a distance from the end of the event that equals the length of fade you want. You then execute the script (put it on a toolbar icon or assign it to a keyboard shortcut if you use it a lot). The script then adds a fade from the point of the cursor to the end of the event, and then puts the identical length fade at the beginning of the next event. It does the same thing for the associated audio.

I am a big believer in using the cursor position as the basis for editing, and try to eliminate having to worry about what is selected, or what tool is being used, etc., etc.

Here's the script:

/**
* Fade this event and next event to black.
* Fade length is set using distance from cursor position to end of event
* that is under the cursor on the first selected track.
* If there is an audio track under the selected track, it is also faded.
*
* Copyright 2006, John H. Meyer
* Written February 10, 2006
**/

import System;
import System.Collections;
import System.Text;
import System.IO;
import System.Drawing;
import System.Windows.Forms;
import Sony.Vegas;


try {


var dStart : Double;
var dLength : Double;
var dCursor : Double;
var trackEnum : Enumerator;
var evnt : TrackEvent;
var track : Track;
var Fadelength : Timecode;

dCursor = Vegas.Cursor.ToMilliseconds();
track = FindSelectedTrack(); // Find first selected track

//Add fades to both event under cursor -- and next event -- on selected track
var eventEnum = new Enumerator(track.Events);
while (!eventEnum.atEnd()) {
evnt = TrackEvent(eventEnum.item());
AddFades();
eventEnum.moveNext();
} // End while eventEnum

trackEnum.moveNext(); // Go to next track and do fades, if track is audio
if (!trackEnum.atEnd()) {
track = Track(trackEnum.item());
if (track.IsAudio()) { // Proceed only if selected track is audio track.
eventEnum = new Enumerator(track.Events);
while (!eventEnum.atEnd()) {
evnt = TrackEvent(eventEnum.item());
AddFades();
eventEnum.moveNext();
} // End while TrackEvent
}
}

Vegas.UpdateUI();

} catch (e) {
MessageBox.Show(e);
}



function FindSelectedTrack() : Track {
trackEnum = new Enumerator(Vegas.Project.Tracks);
while (!trackEnum.atEnd()) {
var track : Track = Track(trackEnum.item());
if (track.Selected) {
return track;
}
trackEnum.moveNext();
}
return null;
}


function AddFades() {
evnt.Selected = false; // De-select the event
dStart = evnt.Start.ToMilliseconds(); // Get the event's start and length timecode, in milliseconds.
dLength = evnt.Length.ToMilliseconds();

// Test if event is under the cursor.
if ( (dCursor >= dStart) && ( dCursor < (dLength + dStart) ) ) {
evnt.Selected = true; // If under the cursor, select this event.
Fadelength = evnt.Length - (Vegas.Cursor - evnt.Start);
evnt.FadeOut.Length = Fadelength;
evnt.FadeOut.Curve = CurveType.Smooth;
evnt.FadeOut.ReciprocalCurve = CurveType.Smooth;

eventEnum.moveNext();
if (!eventEnum.atEnd()) {
evnt = TrackEvent(eventEnum.item());
evnt.FadeIn.Length = Fadelength;
evnt.FadeIn.Curve = CurveType.Smooth;
evnt.FadeIn.ReciprocalCurve = CurveType.Smooth;
}
}

}

//For information purposes:
//CurveType.Sharp cubic sharp fade
//CurveType.Slow logarithmic slow fade
//CurveType.None no fade (hold)
//CurveType.Linear linear fade
//CurveType.Fast logarithmic fast fade
//CurveType.Smooth cubic smooth fade