LOL This sounds like one of those bits from Oceans 11 or something.
Writing an app to force your own video to play for a set time, then switch back? hehe
As rolli59 already stated, you are going to need proprietary video editing hardware. Mainstream video cards (especially gaming cards) don't currently support the HDMI input type function.