This works in any video editing program with a multiple track timeline and has the chroma keying effect. WARNING: Not for amateurs or lazy bums. (Yeah, I know I am a lazy bum and some people consider me an amateur, but still...)
You will need:
Image editing software
Video editing software with a multiple track timeline, such as Sony Vegas
Video clip/picture that you want to mask.

