I have a video in which there appears a wall at some point. Having that video as input and a photo (that could be new in each interation), I want to get a new video in which the texture of that wall would be changed with the photo.

I mean, my program must get as input the same base video every time, and a new photo. It should generate the new video with my photo as the wall texture. Of course, I could prepare/mangle the video before the process, get whatever info I need to do that texture change dynamically, etc.

My questions is, what technique/software do you recommend to accomplish this? I'm a newbie in the field and want some direction/light from some experts so I can then dig deeper.

1 Answer 1


If I understand you correctly, this is traditionally done by compositing programs such as Adobe After Effects. You could track the wall and then replace the wall with an image but it's going to be a lot trickier if anything is moving in front of the wall. (You would need to make a rotoscope mask to tell it where not to render the image.) You could then simply change out the image that is being applied to the wall.

  • Thanks! Yes, things could be moving in front of the wall. How can I do such things automatically? I mean, passing the same video and a new image every time and get a new video with the image in the wall. I don't know much about Adobe After Effects, but do you think that it allow me make this on a server without any human intervention?
    – user4101
    Commented May 23, 2013 at 22:06
  • No, you would need very specialized software to try and do it automatically. You might be able to rig up something to automatically call After Effects to do it, but it would take quite a bit of time to do. It's also completely off topic for AVP because that's a programing question at that point rather than a video production one. It's likely not going to be possible to do what you want without a lot of effort and specialized development.
    – AJ Henderson
    Commented May 24, 2013 at 3:00

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.