Replacing an Object with a Moving Object


#1

I am replacing a moving object in a video with a second object that’s in another video.

In general it works ok, but because the second object is moving some in the second video, when I put that object in the first video I have to make some rotation and translation corrections in AE so that this second object lines up with the object being replaced.

Is it possible to stabilize the second object, so that it will be as if I am replacing the first object as you would with a still instead of a video (i.e. just using tracking data of the first object for the second 1 that is now still)?

Thanks.


#2

If you can track the object you want to stabilize, then it may be possible.
The stabilize module will correct movement based on the area you track, so if you use “maximum smoothing” it should stay in one spot.
The only issue may be if the moving object has blur or organic rotation as this may look odd when stabilized in place.


#3

Having a bit of trouble getting things to work. I tracked the second object. The clip in Mocha indeed has the object stabilized. But when I copy stabilization data and paste to either a null track or to the clip back in AE, the second object is no longer stabilized (even tho in Mocha it was).

Any idea what is going wrong? Is there rendering to be done in Mocha?

Thanks.


#4

You might be pasting the data in at the wrong location, or pasting the data in on an object that isn’t the same size as the tracked composition. Mocha needs resolutions and frame rates to match. Have you checked out this tutorial? https://borisfx.com/videos/align-surface-and-mismatched/


#5

Would timer-stretching the clip in AE cause an issue? That may be it.


#6

Yes. That would do it.