Im gonna give a crack at this since I weirdly happen to have a little experience with ALMOST this exact situation and not sure what your comfort level is with things like Linux and such but before I go all backstory etc, my suggestion is a weird one. If you are using Blue Iris and a USB webcam...