fftools/ffmpeg: Fallback to duration if sample rate is unavailable