Copying Clip Effects to Another Clip??

DaveRo wrote on 5/15/2011, 12:15 PM
Hi All,
I bet this is a simple one but have not been able to find how to do through help files or searching the forum...

What I am trying to do is copy the pan/crop edits and the effects edits I made on one video clip to another (replacement) clip. They are both still images.

The pan crop is a small to large fade in, centered and the effect is a lens flare.
Both have multiple I-frames with varying degrees of changes making it not an easy thing just to recreate from scratch - thus I would like to be able to copy from one to the other. Is this possible? If so how?

Thanks in advance for your help...
DaveRo

Comments

rs170a wrote on 5/15/2011, 12:18 PM
Click on clip #1, right-click it and select Copy.
Click on clip #2, right-click it and select Paste Event Attributes.
That's all there is to it.

Mike
DaveRo wrote on 5/15/2011, 12:32 PM
Hi Mike,
Works great...
Most appreciated...sometimes the simplest things can be so eluding.

DaveRo
i c e wrote on 5/15/2011, 12:55 PM
Hi dave,

just to let you know, the other way you can do this, is save the all the effects on the clip as a "package" or individually, then just use the same package on another event.
This also works for Event/Pan/Crop, save then apply to another event,

This way you can use them again in the future if you need to. :)



peace.
DaveRo wrote on 5/15/2011, 1:28 PM
Hey ice,
Thanks for the response...I saw the "package" thing but initially did not get it to work right. I'll have to go back and look at that again. Does it copy all the I-frame changes associated with a clip or just a specific point in time

Good to know it works for both pan/crop and effects.

DaveRo
rs170a wrote on 5/15/2011, 6:26 PM
DaveRo, the critical thing to remember is that every single FX that was in the original clip gets pasted onto the new one and will overwrite anything that you may have already had on there, even if you didn't want it to.
We've repeatedly asked Sony to give us a "paste certain attributes only" option but it hasn't happened yet.

Mike
altarvic wrote on 5/15/2011, 9:11 PM
@ice:
> "This also works for Event/Pan/Crop"

Afaik, there are no Pan/Crop packages or something like that, could you explain please how does it work?
DaveRo wrote on 5/17/2011, 6:14 AM
Thanks Mike...
Fortunately this was a new clip with no previous EFX or other editing. But for future edits this is an extremely important point... Most appreciated

DaveRo
erikd wrote on 5/17/2011, 6:32 AM
"the critical thing to remember is that every single FX that was in the original clip gets pasted onto the new one and will overwrite anything that you may have already had on there, even if you didn't want it to."

There is a free trial download of Vegasaur that I downloaded the other day to try in Vegas 9e and 10d. If I'm not mistaken one of the features of Vegasaur is a dialogue box pops up that gives you the option to select which FX you want to copy and it will not overwrite or delete previously existing FX.

Erik
WillemT wrote on 5/17/2011, 8:51 AM
When adding a "Package" to a clip all the previous effects are replaced. I think that makes sense since you are applying a pre-defined set of effects.

When using the Copy with Paste Attributes, the effects are appended to the effects already assigned to the receiving clip. That is a hugely helpful feature. It is easy to remove effects, not so adding and adjusting the effects.

Example: I add different effects to a number of clips and then decide the original clips, all from the same shoot with the same camera, needs a small adjustment using Color Curves. I place a temp clip on the timeline and add and adjust the Color Curves effect. I now select copy for this clip and paste attributes to the existing clips. The Color Curves adjustment is added to the existing clips without effecting the existing effects. (I know I can add the Color Curves in this example to the Track effects but I may have different clips not requiring the correction on the same track or the clips may be on different tracks).

Willem
johnmeyer wrote on 5/17/2011, 11:18 AM
Since "Paste Attributes" adds to the fXs on the target event rather than replaces them, it is quite easy to end up with multiple instances of the same fX on the target event. This is often not what you want. As an example, I often color correct scene-by-scene, and when I get one scene just as I want it, and find another scene that has similar lighting, I copy, then "Paste Attributes" to transfer these settings. Unfortunately, if I had previously done a correction on that event, I will now have two Color Corrector fX on that event, and everything will be messed up (yes, I know that I can create a preset, but in a long project I will end up with dozens of presets, and that is, to me, confusing).

So, I wrote a little script that goes through a project and "flags" all events that have more than one instance of the same fX. It is then up to you to go to each of these events, open the fX dialog, and decide what action to take.

Here's the script.

/**
* This script will find and highlight all video events
* that contain more than one instance of the same fX.
* It also puts a marker at the start of each such event.
* You can then remove the duplicate fX if you did not intend
* to apply the same fX to the same event more than once.
*
* This only works on video tracks. You must select a track
* before running the script.
*
* If a marker already exists at the beginning of an event, no
* marker will be added. However, the event will be selected, so
* you will still be able to see which events need to be fixed.
*
* Written By: John Meyer
* 8-29-2006
* Revised 9-1-2006 to add MessageBox alerts.
**/

import System;
import System.Text;
import System.IO;
import System.Windows.Forms;
import Sony.Vegas;

var myMarker : Marker;

try {
var track = FindSelectedTrack(); //Use this function to find the first selected track.

//Go through the list of Events
var count=0;
var eventEnum = new Enumerator(track.Events);
var evnt : TrackEvent = TrackEvent(eventEnum.item());
if ( evnt.IsVideo() ) { // Only operate on video events
while (!eventEnum.atEnd()) {
evnt = TrackEvent(eventEnum.item());
evnt.Selected = false; // De-select the event
var videoEvent = VideoEvent(evnt);
var stopit = 0;
if (videoEvent.Effects.Count>1) {
for (var i=videoEvent.Effects.Count -1; i >= 0; i--) {
var effect = videoEvent.Effects[i];
for (var j=i-1; j >= 0; j--) {
var duptest = videoEvent.Effects[j];
if (effect.PlugIn.Name==duptest.PlugIn.Name) {
evnt.Selected = true; // Select the event
count = count + 1;
if (!MarkerExist(evnt.Start.ToMilliseconds()) ) {
myMarker = new Marker(evnt.Start);
Vegas.Project.Markers.Add(myMarker);
myMarker.Label = "*** "+effect.PlugIn.Name;
}
stopit = 1;
break;
} // End if (effect == duptest)
} // End for j
if (stopit == 1) {
break;
}
} // End for i
} // End if (i>1)
eventEnum.moveNext();
} // End while (!eventEnum.atEnd())
} // End if ( evnt.IsVideo() )
if (count == 0) {
MessageBox.Show("No duplicate effects were found.")
} else {
if (count == 1) {
MessageBox.Show("This track contains one event with duplicate effects.")
} else {
MessageBox.Show("This track contains " + count + " events with duplicate effects.")
}
}
Vegas.UpdateUI();

} catch (e) {
MessageBox.Show(e);
}

function FindSelectedTrack() : Track {
var trackEnum = new Enumerator(Vegas.Project.Tracks);
while (!trackEnum.atEnd()) {
var track : Track = Track(trackEnum.item());

if (track.Selected) {
return track;
}
trackEnum.moveNext();
}
return null;
}


function MarkerExist (dStart) : boolean {

var markerEnum = new Enumerator(Vegas.Project.Markers);

while (!markerEnum.atEnd()) {
myMarker = markerEnum.item(); // myMarker is a global function in this project
var MarkerStart = myMarker.Position.ToMilliseconds();

if ( dStart == MarkerStart ) {
return 1;
}

markerEnum.moveNext();

} // End while markerEnum

return 0;
}
WillemT wrote on 5/17/2011, 11:51 AM
Thanks for that script John.

Not to high jack this tread but just an observation.

If I have the Video Event FX window open for a particular clip and I paste the attributes, from some other clip, to this clip the effects chain is not updated with any newly added effects. This can sometimes be quite confusing. The easiest work around I have found is to click the Event FX button on the clip again after a Paste Attributes - that updates the effects chain.

Is this a known issue/bug?

Willem.

Edit: This is in 10d.
altarvic wrote on 5/17/2011, 9:14 PM
Event FX window (as well as Pan/Crop window) is not updated automatically in all versions of Vegas. I assume this is by design.

BTW, Vegasaur contains Auditor that can detect various errors (including duplicated effects) and fix them.

TomG wrote on 5/18/2011, 5:36 PM
Talk about coincidental....

I was just about to post the same question when I searched the forum and found this thread which is currently active.

My problem is that I was using the technique described above (copy & paste event attributes) for the past 4 days on a project I am working on.. Today I resumed my editing and I cannot get it to work. I copy the event from a still and then 'paste event attribuetes. Nothing happens. The feature is bold so I know something has been copied, but when I try to paste it, nothing happens. I am totally stumped why this function has stopped working. Am I missing something (besides my mind))

TomG
crazyapple wrote on 12/13/2019, 3:36 AM
Click on clip #1, right-click it and select Copy.
Click on clip #2, right-click it and select Paste Event Attributes.
That's all there is to it.

Mike

Wow, life saver!