Properties Script? at DVinfo.net
DV Info Net

Go Back   DV Info Net > Windows / PC Post Production Solutions > What Happens in Vegas...
Register FAQ Today's Posts Buyer's Guides

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, 05: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, 06:47 PM   #2
Inner Circle
 
Join Date: May 2005
Location: Windsor, ON Canada
Posts: 2,770
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, 06:42 AM   #3
Sponsor: JET DV
 
Join Date: Dec 2001
Location: Southern Illinois
Posts: 7,953
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 is offline   Reply With Quote
Old October 27th, 2009, 10: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...

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

Scan Computers Int. Ltd.
+44 0871-472-4747
Bolton, Lancashire UK


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...


 



All times are GMT -6. The time now is 05:28 AM.


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