Properties Script? at DVinfo.net

Go Back   DV Info Net > Windows / PC Post Production Solutions > What Happens in Vegas...

What Happens in Vegas...
...stays in Vegas! This PC-based editing app is a safe bet with these tips.


Reply
 
Thread Tools Search this Thread
Old October 26th, 2009, 06:48 PM   #1
Regular Crew
 
Join Date: Apr 2007
Location: Las Vegas, NV
Posts: 45
Properties Script?

Is there a script for Vegas 8 that will change the properties of all selected clips at once? Or am I stuck going into each individual clip and changing them one at a time? (I'm specifically interested in changing the PAR.)
Michael Tobias is offline   Reply With Quote
Old October 26th, 2009, 07:47 PM   #2
Inner Circle
 
Join Date: May 2005
Location: Windsor, ON Canada
Posts: 2,765
This isn't a script but it's almost as fast.

NOTE: make sure this is the very first thing you do to any of your clips so that no unwanted FX get copied.

Set your Project Properties to the appropriate PAR.
Open up Pan/Crop on clip #1, right-click, select "Match Output Aspect" and exit.
Right-click clip #1 and select Copy.
Click & right-click clip #2 and select "Select Events to End".
Right-click clip #2 one last time and select "Paste Event Attributes" and you're done.
It took longer to type this than it does to do it :-)

edit: if you want a script for future use, check Edward Troxel's response in the Help to crop pictures on a slideshow thread as he gives you one.
Mike Kujbida is offline   Reply With Quote
Old October 27th, 2009, 07:42 AM   #3
Sponsor: JET DV
 
Join Date: Dec 2001
Location: Southern Illinois
Posts: 7,873
Here's an old "PixelAspect.js" file I found:

Code:
//PixelAspect.js
import Sony.Vegas;

for (var currentTrack : Track in Vegas.Project.Tracks) {
  if (currentTrack.IsVideo() == true) {
    for (var currentEvent : VideoEvent in currentTrack.Events) {
      if (currentEvent.Selected == true) {
        VideoStream(new Media(currentEvent.ActiveTake.MediaPath).Streams.GetItemByMediaType(currentEvent.MediaType, currentEvent.ActiveTake.StreamIndex)).PixelAspectRatio = 1.21;
      }
    }
  }
}
__________________
Edward Troxel [SCVU]
JETDV Scripts/Excalibur/Newsletters
Edward Troxel is offline   Reply With Quote
Old October 27th, 2009, 11:49 AM   #4
Regular Crew
 
Join Date: Apr 2007
Location: Las Vegas, NV
Posts: 45
Mike, that's usually what I would have done first the only problem is is that pan/crop only crops into the media to fill the PAR of the project. The footage I have is already in the incorrect PAR (it's some .MOD files from a JVC camera and they import with a .9 PAR and for it to look/be correct I need it to be 1.212 and dropped onto a widescreen timeline.) So what I need to do is to go into the media properties and change the PAR in there to 1.212. I thought copy/paste attributes would have worked for the media properties but it doesn't.

But thanks for what you were saying since that is what I wanted to do at first.

Ed, I'll set that script up and check to see if it works. Thanks you.
Michael Tobias is offline   Reply
Reply

DV Info Net refers all where-to-buy and where-to-rent questions exclusively to these trusted full line dealers and rental houses...

Professional Video
(800) 833-4801
Portland, OR

B&H Photo Video
(866) 521-7381
New York, NY

Z.G.C.
(973) 335-4460
Mountain Lakes, NJ

Abel Cine Tech
(888) 700-4416
N.Y. NY & L.A. CA

Precision Camera
(800) 677-1023
Austin, TX

DV Info Net also encourages you to support local businesses and buy from an authorized dealer in your neighborhood.
  You are here: DV Info Net > Windows / PC Post Production Solutions > What Happens in Vegas...

Thread Tools Search this Thread
Search this Thread:

Advanced Search

 



Google
 

All times are GMT -6. The time now is 08:22 AM.


DV Info Net -- Real Names, Real People, Real Info!
1998-2017 The Digital Video Information Network