Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums VEGAS Pro Automatic fade in fade out?

  • Automatic fade in fade out?

    Posted by Jason Yip on February 22, 2010 at 6:22 pm

    I’ve got a 5 hour clip with about 100 different dance numbers on it. I need to add chapter markers between each routine and would like to fade out/in both audio and video at the point the chapter is made. Is there an easy (fast) way of doing this? I was hoping there was a way to cut the long video clip using “S” and automatically have a chapter marker inserted as well as have the smaller clip fade in/out at that point. Is this possible?

    Jason Yip replied 16 years, 6 months ago 3 Members · 3 Replies
  • 3 Replies
  • Theo Van laar

    February 22, 2010 at 11:39 pm
  • John Rofrano

    February 22, 2010 at 11:54 pm

    I was hoping there was a way to cut the long video clip using “S” and automatically have a chapter marker inserted as well as have the smaller clip fade in/out at that point. Is this possible?

    If you type “M” after the “S” you will get a Split and a Marker. Then after all is done, select all of the events and run this script which will add a 1 second Fade In/Out to all of them.

    /**
     * Program: FadeEventInOut.js
     * Description: This script will add a 1 second fade both ends of the current event
     * Author: John Rofrano
     *
     * Date: June 7, 2003
     *       April 27, 2004 - Updated for Vegas 5 libraries
     *       June 15, 2005 - Updated to work on ALL selected events
     *       August 17, 2008 - Updated to use Timecode.FromSeconds(1.0);
     *
     **/

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

    var fadeAmount : Timecode = Timecode.FromSeconds(1.0);

    try
    {
         for (var track in Vegas.Project.Tracks)
         {
             for (var trackEvent in track.Events)
             {
                 if (trackEvent.Selected)
                 {
                     trackEvent.FadeIn.Length = fadeAmount;
                     trackEvent.FadeOut.Length = fadeAmount;
                 }
             }
         }
    }
    catch (errorMsg)
    {
         MessageBox.Show(errorMsg, "Error", MessageBoxButtons.OK, MessageBoxIcon.Exclamation);
    }

    Just cut and paste it into a file called : FadeEventInOut.js and place it in the Vegas “\Script Menu” folder.

    The scripts that Theo mentioned can do a whole lot more. 😉

    ~jr

    http://www.johnrofrano.com
    http://www.vasst.com

  • Jason Yip

    February 23, 2010 at 2:59 am

    Awesome! Thanks!

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