[MPlayer-users] mplayer and alsa-plugins

Julien Claassen julien at c-lab.de
Mon Feb 2 21:11:47 CET 2004


Hi all!
  First: I'm not in the list so please,if you reply send a copy to:
  julien at c-lab.de
  I tried to get a raw (44.1KHz, stereo, 16BIT) stream to disk. For that
purpose I defined a plugin in .asoundrc like that:

pcm.myfile {
  type file
  slave {
    pcm "hw:0,0"
  }
}
  Then I tried:
  mplayer -ao alsa9:myfile test.wav
  And got:

Using GNU internationalization
Original domain: messages
Original dirname: /usr/share/locale
Current domain: mplayer
Current dirname: /usr/share/locale


MPlayer 0.90rc4-3.3 (C) 2000-2003 Arpad Gereoffy (see DOCS)

This version of MPlayer may lack certain features
because of legal requirements (potential patent violation).

For more see /usr/share/doc/packages/MPlayer/README.SuSE

CPU: Intel Pentium P54C (Family: 5, Stepping: 12)
Detected cache-line size is 32 bytes
CPUflags:  MMX: 0 MMX2: 0 3DNow: 0 3DNow2: 0 SSE: 0 SSE2: 0
Compiled with Runtime CPU Detection - WARNING - this is not optimal!
To get best performance, recompile MPlayer with --disable-runtime-cpudetection
Reading config file /etc/mplayer.conf
Reading config file /globals/u1/julien/.mplayer/config
Reading /globals/u1/julien/.mplayer/codecs.conf: can't open '/globals/u1/julien/.mplayer/codecs.conf': No such file or directory
Reading /etc/codecs.conf: 50 audio & 135 video codecs
font: can't open file: /globals/u1/julien/.mplayer/font/font.desc
Failed to open /dev/rtc: Permission denied (mplayer should be setuid root or /dev/rtc should be readable by the user.)
Font /usr/share/mplayer/font/font.desc loaded successfully! (204 chars)
Using usleep() timing
Can't open input config file /globals/u1/julien/.mplayer/input.conf : No such file or directory
Input config file /etc/input.conf parsed : 52 binds
Can't init input joystick
Opening joystick device /dev/input/js0
Can't open joystick device /dev/input/js0 : No such device
Setting up LIRC support...
mplayer: could not connect to socket
mplayer: Permission denied
Failed to open LIRC support.
You will not be able to use your remote control.

Playing test.wav
Audio file detected.
==========================================================================
Opening audio decoder: [pcm] Uncompressed PCM audio decoder
AUDIO: 44100 Hz, 2 ch, 16 bit (0x10), ratio: 176400->176400 (1411.2 kbit)
Selected audio codec: [pcm] afm:pcm (Uncompressed PCM)
==========================================================================
Checking audio filter chain for 44100Hz/2ch/16bit -> 44100Hz/2ch/16bit...
AF_pre: af format: 2 bps, 2 ch, 44100 hz, little endian signed int
AF_pre: 44100Hz 2ch Signed 16-bit (Little-Endian)
alsa-init: testing and bugreports are welcome.
alsa-init: requested format: 44100 Hz, 2 channels, Signed 16-bit (Little-Endian)
alsa-init: soundcard set to myfile
alsa-init: unable to set periods: Invalid argument
alsa9: 44100 Hz/2 channels/4 bpf/65280 bytes buffer/Signed 16 bit Little Endian
AO: [alsa9] 44100Hz 2ch Signed 16-bit (Little-Endian) (2 bps)
Building audio filter chain for 44100Hz/2ch/16bit -> 44100Hz/2ch/16bit...
Video: no video
Starting playback...
Segmentation fault
  So am I missing something, or is it a bug or not planned?
  I want to use this mechanism to convert RealAudio.
  Kindest regards
        Julien

http://ltsb.sourceforge.net - the Linux TextBased Studio guide

---------------------------------------------------------
SBS C-LAB
Fuerstenallee 11
33102 Paderborn

Phone: (+49) 5251 60 6060
Fax: (+49) 5251 60 6065

www.c-lab.de/~wegge




More information about the MPlayer-users mailing list