Use a common video input base class
Use a common video input base class
Refactor video output