Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums VEGAS Pro how to add 1 second to beginning and end of events?

  • how to add 1 second to beginning and end of events?

    Posted by Gilles Gagnon on July 3, 2012 at 3:13 pm

    How would I go about easily “expanding” many events to the left and to the right (begin/end) by 1 second?

    (I do have Vasst Ultimate pro)

    Thanks!
    Gilles

    Gilles

    Edward Troxel replied 10 years, 1 month ago 5 Members · 13 Replies
  • 13 Replies
  • Phil Seymour

    July 4, 2012 at 5:39 am

    It isn’t possible to add something that isn’t there, assuming you mean adding more to a clip that hasn’t already been edited. Sure you can repeat, or loop, by yanking out the start and end, but that really doesn’t look good.

    Windows 7 Pro64, 16GB RAM, SSD boot drive, GTX 570 Graphics, Vegas Pro 11 and VP10 just in case

  • Gilles Gagnon

    July 4, 2012 at 10:50 am

    Hi Phil,
    To clarify… I meant “extending” the clips.

    I have numerous clips on a single track of the timeline and the client wants an additional 1 second at the start and end of each, “revealed”.

    So something is there, just currently not shown.

    Not sure this can be done. I tried grouping the clips before dragging the edges but this didn’t work.

    Gilles

  • Theo Van laar

    July 4, 2012 at 1:11 pm

    Excalibur can extend the length of all events in one click. This works perfect for stills. I have never tried this for trimmed video files, but if you want I can try it tonight. Most likely, Ultimate S has a similar function.

    Theo

  • Gilles Gagnon

    July 4, 2012 at 1:14 pm

    Thanks Theo,
    I only have Ultimate and don’t really want to purchase another add-on.

    I do see something in Ultimate, for stills, to set the clip to a specific size but not to extend it before/after by x seconds.

    Gilles

    Gilles

  • Phil Seymour

    July 4, 2012 at 10:36 pm

    I might be missing something here, but there is no way to add extra to an untrimmed motion video event unless you buy some of those recently discovered “God” particles or slow the whole event down to make it longer.
    A still event is easy.. just allow looping and drag the start and/or end of the event to add more frames.

    Windows 7 Pro64, 16GB RAM, SSD boot drive, GTX 570 Graphics, Vegas Pro 11 and VP10 just in case

  • Gilles Gagnon

    July 4, 2012 at 10:45 pm

    The events I’m working with have been trimmed. So there is “hidden” video before and after.

    Gilles

  • Phil Seymour

    July 5, 2012 at 3:04 am

    Surely, if you have the original un-edited clips.. or can get them, then the problem is fixed. If not… then you are back to square one and in deep do-doos.

    Windows 7 Pro64, 16GB RAM, SSD boot drive, GTX 570 Graphics, Vegas Pro 11 and VP10 just in case

  • Gilles Gagnon

    July 5, 2012 at 11:40 am

    Hi Phil,
    I don’t think you understand the question/issue here.
    As stated before, events are on the timeline, they have already been trimmed. I just need to add a second to all of them, at the beginning and end of each. They just need to be adjusted. Trying to find a way to automate the adjustments instead of adjusting them individually. Due to the number of events, manually adjusting them would be painful.

    Gilles

  • Edward Troxel

    July 5, 2012 at 1:43 pm

    Here’s a script that will trim on second OFF the front and end of clips (I know, the exact opposite of what you asked). However, it may be as simple as changing:
    var trimAmt = new Timecode(“00:00:01:00”);

    to
    var trimAmt = new Timecode(“-00:00:01:00”);

    /**
    * This script will trim the front and back for all selected events.
    *
    * Written By: Edward Troxel
    * Copyright 2004 - JETDV Scripts
    * Modified: 08-03-2005
    **/

    import System;
    import System.IO;
    import System.Windows.Forms;
    import Sony.Vegas;

    var trimAmt = new Timecode("00:00:01:00");

    try {

    //Go through the list of Tracks
    var trackEnum = new Enumerator(Vegas.Project.Tracks);
    while (!trackEnum.atEnd()) {
    var track : Track = Track(trackEnum.item());

    //Go through the list of Events
    var eventEnum = new Enumerator(track.Events);
    while (!eventEnum.atEnd()) {
    var evnt : TrackEvent = TrackEvent(eventEnum.item());

    if (evnt.Selected) {
    var dStart = evnt.Start + trimAmt;
    var dLength = evnt.Length;

    //Get current take offset
    var tke = evnt.ActiveTake;
    var tkeoffset = tke.Offset;
    tkeoffset = tkeoffset + trimAmt;
    evnt.Start = dStart;
    tke.Offset = tkeoffset;

    dLength = dLength - trimAmt - trimAmt;
    evnt.Length = new Timecode(dLength);
    }
    eventEnum.moveNext();
    }
    trackEnum.moveNext();
    }

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

    Edward Troxel
    JETDV Scripts

  • Phil Seymour

    July 6, 2012 at 2:57 am

    No, I didn’t understand what you were on about as your original explanation of your issue wasn’t all that clear.

    I’ll buy “Mind Reading for Dummies” next time it’s on special.

    Glad Ed came to the fore. Clever man.

    Windows 7 Pro64, 16GB RAM, SSD boot drive, GTX 570 Graphics, Vegas Pro 11 and VP10 just in case

Page 1 of 2

We use anonymous cookies to give you the best experience we can.
Our Privacy policy | GDPR Policy