Is this possible with a script or macro?

belsokar wrote on 9/4/2003, 6:12 PM
So I need a way to automate the following, and I'm not sure if its possible as I'm relatively new...I don't need anyone to necessarily tell me the details of how to do it, but maybe in what direction to start looking...

I generally will edit a sequence of events on one timeline (1 video track, say about 20-30 events)...I then take that entire timeline of events and copy into another videotrack right above that track and sync them up...On the 2nd track, I will drop the opacity, and apply a few different filters, effect, etc based on the task I'm working on...but I was hoping to automate this process because its usually the same thing every time...I know I can apply filters to an entire timeline or set of video events, but if I can do it automatically it would make it much quicker and more precise...

any ideas? thanks

Comments

filmy wrote on 9/4/2003, 7:00 PM
If you are adding the same filters to the entire timeline all you need to do is just create a "plug-in chain" or "plug-in package" (Same thing, just named a few different ways depending on what you are doing - you "save as" a 'package' but you open a 'chain')

if you are talking edit to edit, event to event - that would be hard, if not impossible, to do. However you can add a plug-in chain to each event.

I know this all still requires you to manually load up the chain but I am not sure you can tell VV something like "if opactiy < 50% add plug-in chain 1. If opacity > 50% add plug-in chain 2." But I could be wrong. Did you already post this same question in the Scripting thread?
jetdv wrote on 9/4/2003, 9:39 PM
Yes. This could be done via a script. I am doing similar things in Tsunami.
filmy wrote on 9/5/2003, 8:33 AM
Just curious - how does a script autodetect each edit and know how to put a filter on each edit? with keyframes? I can see a script that allows for general placement of filters over the time line but without actually setting the filter to the event how would it work? (i.e - one cut requires timing because it was shot under flourecents, thenext cut is fine, the next cut is too dark. So the script would have to analize each frame of each edit and somehow say "This has too much green in it - add color correction. this scene looks fine. Do nothing. This scene is too dark - lighten it." And these would all have to be based on something - the user would have to define what is too green, what is too dark, what is 'perfect' and so on. )
jetdv wrote on 9/5/2003, 3:26 PM
YOU would still have to determine what effects to add to which clips. It can't do that for you. It can just simplify adding a common chain to many events at once.
SonyEPM wrote on 9/5/2003, 4:37 PM
Create one event that has the fx you want, ctrl+c copy. Select the events you want to have the same fx as the original, then paste event attributes to the selected events. Very easy.

Opacity can be controlled at the track level (slider in track header), or with an envelope if you need variable track opacity.