Shortening Clip Lengths (Stills)

Lanzaedit wrote on 6/26/2004, 5:25 AM
In the archive I found the way to group my timeline stills and then Ctr-Drag the end of the last clip to change the length of all the stills.

But my question is: Is there a limit as to how short I can make the clips? The stills on the existing timeline are five seconds each. No transitions or effects added.
I want to shorten them to three frames each...no transitions involved, just cuts.

The limit I'm reaching is One Second, seven frames...which sounds like there might be a preference somewhere that is allowing time for a one second transition. If that is true, where is that preference found?

John

Comments

jetdv wrote on 6/26/2004, 5:38 AM
Yes, CTRL-Drag has a limit of 25% to 400%. So, the shortest you can make it is 1/4th the original length. The longest you can make it is 4 times the original length.

Shorten it to 1/4th length, render, add that to the timeline, shorten again....

Alternately, you can use the Duration Wizard in Excalibur to make them as short as you want.
Chienworks wrote on 6/26/2004, 6:00 AM
This doesn't help you much now, but the next time you do a project like this you can set the default still image length before adding images to the timeline. Go to Options / Preferences / Editing and set the new still image length to 0.1 seconds for three frames. Actually the value for NTSC would be 0.1001, but you can only use 3 decimal places. Using 0.1 will give an error of 1 still image being 2 frames instead of 3 every 30 seconds or so.
Grazie wrote on 6/26/2004, 6:11 AM
Isn't there is a Media Pool script for FXs? Would there be one for Properties length . .? Grazie
JohnnyRoy wrote on 6/26/2004, 8:28 AM
Here is a script that will subtract 1 second from all selected events and then move the events to the left to fill in the gap. You could use this to shorten all the events in a slide show by a given amount. Just adjust the timecode (durationAdjust) as the subtracted amount or run the script multiple times to achieve the desired overall length.

/** 
* Program: AdjustEventDuration.js
* Description: This script will adjust the duration of all the selected events
* by a given amount. It will also move the events by the adjusted
* amount to keep their positions relative.
*
* Author: Johnny (Roy) Rofrano john_rofrano at hotmail dot com
*
* Date: June 26, 2004 - Initial release
*
**/
import System.Windows.Forms;
import Sony.Vegas;
// This amount will be subtracted from each event that is selected
var durationAdjust : Timecode = new Timecode("00:00:01:00");
try
{
// step through all selected video events:
for (var track in Vegas.Project.Tracks)
{
var trackPosition : Timecode = new Timecode("00:00:00:00");
var trackOffset : Timecode = new Timecode("00:00:00:00");
      for (var evnt in track.Events) 
{
if (evnt.Selected)
{
// shorten the event
evnt.Length = evnt.Length - durationAdjust;

// adjust its position on the track
trackPosition = evnt.Start - trackOffset;
evnt.AdjustStartLength(trackPosition, evnt.Length, true);
trackOffset += durationAdjust;
}
}
}

}
catch (errorMsg)
{
MessageBox.Show(errorMsg, "Adjust Duration - Error",
MessageBoxButtons.OK, MessageBoxIcon.Error);
}
/** END OF SCRIPT **/

~jr
scottshackrock wrote on 6/26/2004, 8:58 AM
I am not understanding why you would want to CTRL+drag these pictures...

the CTRL drag seems to always slomotion or fast motion a video clip, depending on how I drag it.

If these are pictures, and you want them on the screen shorter, why can you not just drag the event and make them smaller!
scottshackrock wrote on 6/26/2004, 8:58 AM
I am not understanding why you would want to CTRL+drag these pictures...

the CTRL drag seems to always slomotion or fast motion a video clip, depending on how I drag it.

If these are pictures, and you want them on the screen shorter, why can you not just drag the event and make them smaller!
JohnnyRoy wrote on 6/26/2004, 12:05 PM
> I am not understanding why you would want to CTRL+drag these pictures... why can you not just drag the event and make them smaller!

You could drag them and make them smaller if you had all the time in the world. But once you place 300 images on the timeline, this manual method gets very tedious. We have learned that if you Group the pictures and then CTRL+drag, it has the same effect as if you had shortened each one. That’s because a still image in slow motion remains a still image. ;-) So this CTRL+drag behavior becomes a great way to match the length of your pictures to the length of your music or to fit into any length you want with the 25% to 400% window. Otherwise you could calculate how long you need each image to be displayed and use the script I posted above to shorten or lengthen them accordingly.

~jr
Lanzaedit wrote on 6/26/2004, 2:28 PM
JohnnyRoy,

Thanks for going way beyond the call of duty...I will try the script out. I'm fairly new to Vegas, and I haven't downloaded any scripts yet.
However, I have downloaded the trial version of Excalibur which enabled me to shorten the 200 stills on my timeline to three frames each.

John