Log in

View Full Version : Superimposing with Avisynth


kastro68
31st May 2003, 17:40
Hi,

I would like to know if there is a way to use avisynth to put somebody else's head on somebody elses body in a moving video. eg replace the head of a person running on the spot.

The only method i can think of at the moment is long and tedious...it involves converting the individual frames video into a sequence of images and using photoshop to edit each image...then turning that modified sequence back into a video.

Thanks in advance.

If it can't be done with AviSynth, does anyone know of a more efficient way to achieve the same result?

Guest
31st May 2003, 18:38
If the person's head is remaining in the same place in the frame, you can use Layer(). You could even use my VirtualDub Logo filter, treating the new head as a floating logo. But if the target head is moving, or your head alignment requirement is stringent, it becomes very difficult.

sh0dan
31st May 2003, 18:59
My advice would be to use some other software that's better at this.

Personally I'd use After Effects - but that's because I have access to it on my job.

kastro68
1st June 2003, 16:16
But if the target head is moving, or your head alignment requirement is stringent, it becomes very difficult.

The head is sort of moving. it starts off with a body&head laying flat on the ground, then the head&upper torso moves up gradually shifting from profile view to portrait view.

I only need to edit for about 10 seconds, but at 25fps, that's still 250 frames to edit.

I think I'll give Adobe after effects a try, I think they still offer the 30 day trial...you just don't get the tutorials that come with the full package.

Thanks for all the advice.

Richard Berg
2nd June 2003, 09:56
Someday Avisynth may support rotoscoping...but not right now :)

Even in After Effects you'll have to do some frame-by-frame work. Should you decide to make the leap to Photoshop, ImageReader & ImageWriter (http://www.avisynth.org/index.php?page=Image) should make the Avisynth part of the work relatively painless.

WarpEnterprises
2nd June 2003, 14:48
what's "rotoscoping"?