Parse ffmpeg output a bit better