fix ffmpeg recording problem: sometimes chrome can not play recorded video files.