Simplify do_video_encoding() in regression.sh