[MPlayer-users] wrong choice between afm 4 and 6

Nilmoni Deb ndeb at ece.cmu.edu
Sun Jan 20 22:34:02 CET 2002


I am using recent cvs (CVS-020119-11:26).
While trying to play an AVI file I got no sound at first when I used the
command:

	mplayer -v file.avi

The relevent output of mplayer was:

Detected audio codec: [msgsmacm] drv:4 (MS GSM)
Initializing audio codec...
======= Win32 (ACM) AUDIO Codec init =======
Input format:
  wFormatTag 49
  nChannels 1
  nSamplesPerSec 11025
  nAvgBytesPerSec 2239
  nBlockAlign 65
  wBitsPerSample 0
  cbSize 2
Output fmt:
  wFormatTag 1
  nChannels 1
  nSamplesPerSec 11025
  nAvgBytesPerSec 22050
  nBlockAlign 2
  wBitsPerSample 16
  cbSize 0
fs seg 0x4068c000
Loading DLL: 'msnaudio.acm'
get_path('registry') -> '/home/ndeb/.mplayer/registry'
Total Unfree 0 bytes cnt 0 [(nil),0]
Loading DLL: 'msnaudio.acm'
get_path('registry') -> '/home/ndeb/.mplayer/registry'
Total Unfree 0 bytes cnt 0 [(nil),0]
Loading DLL: 'msnaudio.acm'
get_path('registry') -> '/home/ndeb/.mplayer/registry'
Total Unfree 0 bytes cnt 0 [(nil),0]
ACM_Decoder: Unappropriate audio format
Could not load/initialize Win32/ACM AUDIO codec (missing DLL file?)
Couldn't initialize audio codec! -> nosound




However, I got sound when I forced the audio family option by:
	
	mplayer -v -afm 6 file.avi

The relevent output of mplayer was:

Detected audio codec: [msgsm] drv:6 (MS GSM)
Initializing audio codec...
dec_audio: Allocating 1280 + 65536 = 66816 bytes for output buffer
AUDIO: srate=11025  chans=1  bps=2  sfmt=0x10  ratio: 2239->22050


If this is solely due to an issue of missing window registry file then
this is not an mplayer issue alone.

Also, audio of this AVI was played ok by avifile which used the dll
msgsm32.acm (as opposed to the msnaudio.acm that mplayer used wrongly)
supplied by the mplayer win32 dll package. This means the resgistry info
is not even necessary.

In any case, is there a way for mplayer to try out a different audio codec
family (in this case 6) if the 1st one (in this case 4) fails ?

thanks
- Nil






More information about the MPlayer-users mailing list