Video loop and control logic for an ATV repeater using a Raspberry pi.