A couple fixes for saving the video.

The commits should be simple and self-explanatory.