As far as the live video injection into an HTML template goes, I used this answer here.
It allows you to take a Blackmagic Decklink and use it as a webcam in a template. I read a few posts that said this won’t work on a Linux michine because the BMD drivers are different. I can’t confirm though.