QDM2 wrong samplerate
|Reported by:||cgbug||Owned by:|
|Blocking:||Reproduced by developer:||no|
|Analyzed by developer:||no|
When FFmpeg parses the header the samplerate is detected as 44100hz. But in reality the audio is actually 32000hz. So seems like an incorrect value in the header.
MediaInfo correctly detects it as 32000hz. I can't find the relevant piece of code in its source, so I can't say how it determined that value.
The file has 2 channels and bitrate in header is 128000. So maybe samplerate could be calculated based on that?
128000 (bitrate) / 2 (channels) / 2 (16 bits per sample) = 32000