[MPlayer-dev-eng] Re: Bug in GSM audio playing?

Arpi arpi at thot.banki.hu
Thu Oct 10 13:06:13 CEST 2002


Hi,

> there's a line:
>          AUDIO: 8000 Hz, 1 ch, 16 bit (0x10), ratio: 1650->16000 (13.2 kbit)
> whereas the corresponding line for RTP is:
>          AUDIO: 8000 Hz, 1 ch, 16 bit (0x10), ratio: 1625->16000 (13.0 kbit)

see ad_msgsm.c::init()

33*8000/160
1650 : 0x672 : 03162 : 11001110010
65*8000/320
1625 : 0x659 : 03131 : 11001011001

ie you selected the msgsm codec instead of teh standard gsm one in yoru
demuxer (sh_audio->format is 0x31 or 0x32)

>          wf->nAvgBytesPerSec = 1650;
it's ignored if teh codec has and knows the fixed compression rate

audiocodec msgsm
  info "MS GSM"
  status working
  format 0x31
  format 0x32
  fourcc agsm
  driver msgsm

set (actually leave as it's that in the .mov) sh_audio->format to 'agsm'


A'rpi / Astral & ESP-team

--
Developer of MPlayer, the Movie Player for Linux - http://www.MPlayerHQ.hu



More information about the MPlayer-dev-eng mailing list