-
Loading clips with alpha-channels enabled
Posted by Omer Aydin on August 12, 2010 at 9:40 amHello,
Is there any quick way for loading clips in timeline with their alpha channels already enabled?John Rofrano replied 15 years, 9 months ago 2 Members · 7 Replies -
7 Replies
-
John Rofrano
August 12, 2010 at 7:22 pmIt depends on the file type. You could load one, turn on the alpha channel and then save that setting for all files of that type. Then when you drop a bunch of files of the same type, all of the alpha channels will be set.
Like this:
~jr
http://www.johnrofrano.com
http://www.vasst.com -
Omer Aydin
August 12, 2010 at 11:56 pmThanks for the reply John, unfortunately this solution didn’t work for me.
I dropped in a pre-keyed .mov file into the timeline and adjusted the properties just like you have posted above and saved the preset.
I tried adding in the other .mov files and they still had no alpha enabled.
Besides, it appears the saved preset only works in current project.
I had to re-adjust all clips when I imported them into another project. -
John Rofrano
August 14, 2010 at 2:58 amYou’re right. I couldn’t get to to work for MOV files either. Maybe this only works for image formats or maybe it’s just a bug in Vegas.
~jr
http://www.johnrofrano.com
http://www.vasst.com -
Omer Aydin
August 14, 2010 at 12:48 pmIf only Vegas allowed adjusting properties of multi-selected clips.
I think alpha of image files are auto-enabled when loaded.
I agree that it may be a bug, or maybe it’s just for saving the stream type property.
-
John Rofrano
August 14, 2010 at 3:57 pmIf only Vegas allowed adjusting properties of multi-selected clips.
You can easily do this with a script plug-in like VASST Ultimate S Pro. Excalibur might also have this capability. If you are editing in Vegas without a script productivity plug-in you are missing out on a lot of powerful functionality.
I have a script on the Vegas Scripts page of my web site that will set the alpha channel for all selected events.
Here is the source:
//*************************************************************************
//* Program: SetAlphaChannel.cs
//* Author: John Rofrano
//* Description: This script sets the alpha channel for selected events
//* Last Updated: July 6, 2010
//* Copyright: (c) 2010, Sundance Media Group/VASST, All Rights Reserved
//*************************************************************************
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 tracksforeach (TrackEvent trackEvent in track.Events)
{
if (trackEvent.Selected && trackEvent.ActiveTake != null)
{
VideoStream videoStream = trackEvent.ActiveTake.MediaStream as VideoStream;
videoStream.AlphaChannel = VideoAlphaType.Straight;
}
}
}
}
catch (Exception e)
{
MessageBox.Show(e.Message, "Set Alpha Channel Error", MessageBoxButtons.OK, MessageBoxIcon.Error);
}
}
}
~jr
http://www.johnrofrano.com
http://www.vasst.com -
Omer Aydin
August 14, 2010 at 5:43 pmI downloaded the script and tried it on the .mov clips. You have saved me from editing a lot of alpha property. Thank you John 🙂
-
John Rofrano
August 14, 2010 at 6:00 pm
Reply to this Discussion! Login or Sign Up
