Facebook generate these anniversary videos which they allow you to share. The video has your Facebook avatar (along with certain friend's avatars) imposed onto certain objects. For example, it can put your avatar on an album cover.
This made me wonder how you do this on a mass scale like Facebook does?
Surely there is some kind of "video algorithm" that does this? What is this technique called and how can I do it?
I would imagine it would be a laugh for my friends if I could take pictures of them and impose them effortlessly onto landmarks, where their pictures are perfectly warped and tracked to the surface each time.
Before you answer I should mention that my attempt at this would be to film a template which had some well placed markers on a flat surface and then track a plain 'placeholder' texture on top of the surface. When the time comes to render a video I would just change the texture with a friend's face or something.
However that's the long way of doing it. I am more curious if there is a way for me to set this up so that I could type into a terminal prompt:
root@root:~$ myCoolVideoProgram.o pictureToImpose.jpeg
and in a matter of seconds (or however long the rendering takes) I have my funny video, without having to go through a GUI in the video editing software of my choice.