MediaInfo icon indicating copy to clipboard operation
MediaInfo copied to clipboard

mediainfo v21.09 reports incorrect Sampling rate for Adaptive Multi-Rate Wide band

Open sebma opened this issue 2 years ago • 2 comments

Hi,

mediainfo v21.09 reports incorrect Sampling rate (943 Hz instead of 16kHz) for Adaptive Multi-Rate Wide band :

$ mediainfo --version
MediaInfo Command line, 
MediaInfoLib - v21.09
$ mediainfo Joseph_Prince_-_The_Prayer_That_Repairs_Your_Body-12.65kbps-16kHz_amr_wb.3gp | grep Sampling
Sampling rate                            : 943 Hz
$ mediainfo Joseph_Prince_-_The_Prayer_That_Repairs_Your_Body-12.65kbps-16kHz_amr_wb.3gp
General
Complete name                            : Joseph_Prince_-_The_Prayer_That_Repairs_Your_Body-12.65kbps-16kHz_amr_wb.3gp
Format                                   : MPEG-4
Format profile                           : 3GPP Media Release 4
Codec ID                                 : 3gp4 (3gp4/isom/iso2)
File size                                : 2.04 MiB
Duration                                 : 21 min 36 s
Overall bit rate mode                    : Constant
Overall bit rate                         : 13.2 kb/s
Track name                               : Joseph Prince - The Prayer That Repairs Your Body
Released date                            : 51358

Audio
ID                                       : 1
Format                                   : AMR
Format/Info                              : Adaptive Multi-Rate
Format profile                           : Wide band
Codec ID                                 : sawb
Duration                                 : 21 min 36 s
Source duration                          : 21 min 36 s
Bit rate mode                            : Constant
Bit rate                                 : 13.2 kb/s
Channel(s)                               : 1 channel
Sampling rate                            : 943 Hz
Bit depth                                : 14 bits
Stream size                              : 2.04 MiB (100%)
Source stream size                       : 2.04 MiB (100%)
Title                                    : ISO Media file produced by Google Inc.
Default                                  : Yes
Alternate group                          : 1
mdhd_Duration                            : 1296815

$ ffprobe -hide_banner Joseph_Prince_-_The_Prayer_That_Repairs_Your_Body-12.65kbps-16kHz_amr_wb.3gp 2>&1 | grep -w Hz
  Stream #0:0(und): Audio: amr_wb (sawb / 0x62776173), 16000 Hz, mono, flt, 13 kb/s (default)
$ ffprobe -hide_banner Joseph_Prince_-_The_Prayer_That_Repairs_Your_Body-12.65kbps-16kHz_amr_wb.3gp
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'Joseph_Prince_-_The_Prayer_That_Repairs_Your_Body-12.65kbps-16kHz_amr_wb.3gp':
  Metadata:
    major_brand     : 3gp4
    minor_version   : 512
    compatible_brands: 3gp4isomiso2
  Duration: 00:21:36.82, start: 0.000000, bitrate: 13 kb/s
  Stream #0:0(und): Audio: amr_wb (sawb / 0x62776173), 16000 Hz, mono, flt, 13 kb/s (default)
    Metadata:
      handler_name    : ISO Media file produced by Google Inc.
      vendor_id       : [0][0][0][0]

I get this Sampling rate of 943 Hz on both Ubuntu LTS and also on Android.

The Sampling rate reported for Adaptive Multi-Rate Narrow band is correct.

sebma avatar Dec 06 '21 23:12 sebma