Added status check and tweaked ffmpeg params