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
