Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums VEGAS Pro Vegas Remove Gaps Script

  • Vegas Remove Gaps Script

    Posted by Jason Doyle on April 18, 2011 at 1:47 am

    The below script is free to use, download and place it in your C:\Program Files\Sony\Vegas Pro 9.0\Script Menu directory. I downloaded another removegaps script and it truncated my events! So i decided to write script that works. The default space it leaves between events is 1sec. I edit surfing videos so i normally have 20 events per minute, so if you edit similar style timelines this script might help.

    Thanks
    Jason

    Download: https://rapidshare.com/files/457934432/Remove_Gaps.js

    * Description: Remove gaps between events. This removes gaps in SELECTED events only. The remove gap function only works on selected events.
    All events before and after the selected event are NOT processed. The GAP constant is used as the defined spacer between events
    as they are processed. If you want the space between events to be 0, then set GAP to 0. GAP unit is milliseconds. Default is 1000 (1sec).
    This script was created because the only other RemoveGaps script found on the interet had a bug where it truncated the end of each event
    on complex tracks. This script works on complex tracks with 1000’s of events. Also the other script processed all events on a track, this
    script processes only selected tracks, so you can selectivly decide which evemts to process and which to not process.

    Aleksey Tarasov replied 12 years, 6 months ago 4 Members · 4 Replies
  • 4 Replies
  • Cory Petkovsek

    July 27, 2011 at 8:33 pm

    Jason’s rapidshare link no longer works, however he has already uploaded it to CC. It seems to work well in v10. Just be sure to edit the script and change the gap variable to 0 if you want it to actually remove gaps, otherwise it will leave a default 1 second gap. I compared the edit details of all my clips before and after the script and saw no adjustment of take start times nor lengths.

    2207_removegaps.js.zip

    Thanks Jason!
    Cory


    Cory Petkovsek
    Corporate Video

  • Cory Petkovsek

    August 1, 2011 at 11:47 pm

    This script does not move grouped/linked audio. It only consolidates the video clips and leaves any linked audio clips. Actually it doesn’t work on audio clips at all, whether part of a group or not.


    Cory Petkovsek
    Corporate Video

  • Mordy Gilden

    December 25, 2013 at 9:39 pm

    My goodness, I was going crazy trying to fix that old script (the one called deleteEmptySpace.js by Philip that has been floating around since 2003)!

    Crazy that so many random forums and blogs reference it without any follow up saying it doesn’t work correctly on current versions of Vegas! I was making a highlight reel and seperated out clips as the timeline played in real-time, and I just wanted to condense them all together afterwards. But that $%@#!^ script would shift each clip in time! I was scratching my head trying to figure out why the clips were no longer what I had cut out, until I noticed the little repetition marker noting where the file ended and started over in the middle of a clip!

    I thought it was just me, because that script has been referenced so many times without any mention of it not working for anyone! THANK YOU FOR SHARING THIS NEW ONE! You’ve saved me hours of mindless clicking to clean this up!

  • Aleksey Tarasov

    February 10, 2014 at 5:29 am

    Vegasaur has a couple of scripts that remove gaps between events. In addition, Project Auditor can close gaps across multiple tracks

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