Rename 'encoder' to 'video_encoder'; add support for setting encoder