Playing a Video with a Alpha Channel

Can you possibly point me to the math required in setting up the material to make use of this over/under approach? Big thanks if so.