Attach an image to a moving element in a video using canvas

447 views Asked by At

How can I create a video using HTML5 canvas where I can attach a persons face on a moving element in a video using chroma key. So that the face moves along with that element.

Came across this website JibJab which makes use of this.

Just want to know how this can be done using HTML5 canvas.

As per my research we can place a video on a video or even a static image (http://www.xindustry.com/html5greenscreen/). But how to move a static image is what I'm looking for.

Also found this solution but it will create transparent element in the video and not attach an image to it.

0

There are 0 answers