Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums VEGAS Pro changing 1000 clip properties, alpha chanels in 1 command

  • changing 1000 clip properties, alpha chanels in 1 command

    Posted by Shawn Bossick on September 19, 2010 at 6:39 am

    hello friends, I got one I cant figure out, I have over 1000 j pegs, still images I have imported into my time line, Vegas isn’t recognizing the alpha channels, I am having to go through each clip 1 at a time to change the alpha channel setting,from none to straight unmatted,& for 1000 clips that aint happening, I have read everything, searched everywhere, I would think there would be a way for me to select all the files at once, and change the properties all in one command, BUT I CANT FIGURE IT OUT, does anyone know of a way to do this ? select 1000 clips at once, then change the properties from alpha channel none, to alpha channel straight unmatted, thanks in advance

    John Rofrano replied 15 years, 8 months ago 4 Members · 3 Replies
  • 3 Replies
  • Aleksey Tarasov

    September 19, 2010 at 6:54 am

    Hi Shawn,
    Scripts will do what you want (you need Vegas Pro). You can try to find a free script or use the paid tools, like Quick Properties from Vegasaur extension. (It has free 30-day trial period)

  • Edward Troxel

    September 19, 2010 at 12:27 pm

    Both Excalibur and Ultimate S will do that as well. Here’s an OLD script I wrote five years ago that does this. Just save it as “AlphaChannelAllMedia.js” and run it in Vegas Pro.

    /**
    * This script will modify the alpha channel in the current
    * project’s media pool.
    *
    * Written by Edward Troxel – http://www.JETDV.com
    * Revision Date: Dec. 16, 2005
    **/
    import System.Windows.Forms;
    import Sony.Vegas;

    //var AType = VideoAlphaType.None;
    //var AType = VideoAlphaType.Straight;
    var AType = VideoAlphaType.Premultiplied;
    //var AType = VideoAlphaType.PremultipliedDirty;

    try {
    var mediaEnum = new Enumerator(Vegas.Project.MediaPool);
    while (!mediaEnum.atEnd()) {
    var media = mediaEnum.item();
    // only add the effect if the media object has a video stream.
    if (media.HasVideo())
    {
    var mediaStream = media.Streams.GetItemByMediaType(MediaType.Video, 0);;
    mediaStream.AlphaChannel = AType;
    }
    mediaEnum.moveNext();
    }

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

    Edward Troxel
    JETDV Scripts

  • John Rofrano

    September 19, 2010 at 12:30 pm

    … does anyone know of a way to do this ? select 1000 clips at once, then change the properties from alpha channel none, to alpha channel straight unmatted

    Yea, just download the free SetAlphaChannel.cs script from the Vegas Scripts page on my web site. It will change the alpha channel for all selected events so just select all of the events before you use it. There are also paid tools like Ultimate S Pro, Excalibur that provide lots of productivity tools that you will wonder how you ever edited without. 😉

    ~jr

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

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