renders a video