implement a video recorder and make it controllable from the gui
implement a video recorder and make it controllable from the gui