video input working