base implementation of video recording