[gst-devel] Can't make gestreamer work - please help.

Johannes Graumann johannes_graumann at web.de
Tue Mar 16 15:55:05 CET 2004


Second try - correct address of origin this time. My apologies.

Hello,

I have a Debian testing Via based home server and have just set up Alsa.
Now I'm trying to use gstreamer to play music from command line - xmms
works, as does mpg123.

So I issue this command:
gst-launch filesrc location=file.mp3 ! mad ! alsasink

The result of this is:
INFO (11355: 0) Initializing GStreamer Core Library version 0.6.4 
INFO (11355: 0) CPU features: (00000673) MMX 3DNOW 
INFO (11355: 0) registry: loaded global_registry in 0.414845 seconds
          (/var/lib/gstreamer/0.6/registry.xml)
GStreamer-INFO: 0 live buffer(s)
GStreamer-INFO: 0 live bufferpool(s)
GStreamer-INFO: 0 live event(s)
RUNNING pipeline
Opening alsa device "default" for playback...
Preparing channel: (null) 44100Hz, 2 channels
ALSA lib pcm_hw.c:370:(snd_pcm_hw_sw_params) SNDRV_PCM_IOCTL_SW_PARAMS
failed: Invalid argument

** (process:11355): WARNING **: could not set sw_params: Invalid
argument pipeline doesn't want to play
GStreamer-INFO: 1 live buffer(s)
GStreamer-INFO: 0 live bufferpool(s)
GStreamer-INFO: 0 live event(s)

Google didn't help. Can anybody point me at where to look to solve this.

I'm an obvious newby and at the end of my capabilities ...

Joh




More information about the gstreamer-devel mailing list