This .cs for changing to Premultiply:
//* Description: This script sets the alpha channel for selected events
using System;
using System.Collections;
using System.Windows.Forms;
using Sony.Vegas;
class EntryPoint
{
public void FromVegas(Vegas vegas)
{
try
{
foreach (Track track in vegas.Project.Tracks)
{
if (!track.IsVideo()) continue; // only process video tracks
foreach (TrackEvent trackEvent in track.Events)
{
if (trackEvent.Selected && trackEvent.ActiveTake != null)
{
VideoStream videoStream = trackEvent.ActiveTake.MediaStream as VideoStream;
videoStream.AlphaChannel = VideoAlphaType.Premultiplied;
}
}
}
}
catch (Exception e)
{
MessageBox.Show(e.Message, “Set Alpha Channel Error”, MessageBoxButtons.OK, MessageBoxIcon.Error);
}
}
}
Steve Rhoden (Cow Leader)
Film Maker & VFX Artist.
Owner of Filmex Creative Media.
Samples of my Work and Company can be seen here:
https://www.facebook.com/FilmexCreativeMedia