#9445: QDM2 wrong samplerate
---------------------------------+--------------------------------------
             Reporter:  cgbug    |                     Type:  defect
               Status:  new      |                 Priority:  normal
            Component:  avcodec  |                  Version:  git-master
             Keywords:  qdm2     |               Blocked By:
             Blocking:           |  Reproduced by developer:  0
Analyzed by developer:  0        |
---------------------------------+--------------------------------------
 Sample file:
 https://www32.zippyshare.com/v/aBw5JUeB/file.html

 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
-- 
Ticket URL: <https://trac.ffmpeg.org/ticket/9445>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
_______________________________________________
FFmpeg-trac mailing list
[email protected]
https://ffmpeg.org/mailman/listinfo/ffmpeg-trac

To unsubscribe, visit link above, or email
[email protected] with subject "unsubscribe".

Reply via email to