Cleaner code for ffprobe and avprobe backends

Better detection of duration when using ffprobe or avprobe