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

Ronald Bultje rbultje at ronald.bitfreak.net
Tue Mar 16 16:04:03 CET 2004


Hi,

On Tue, 16 Mar 2004, Johannes Graumann wrote:
> gst-launch filesrc location=file.mp3 ! mad ! alsasink
[..]
> ALSA lib pcm_hw.c:370:(snd_pcm_hw_sw_params) SNDRV_PCM_IOCTL_SW_PARAMS
> failed: Invalid argument

Try .. mad ! audioconvert ! alsasink or .. mad ! audioscale ! alsasink or
.. mad ! alsasink device=plughw:0

The first solves soundcard issues if it doesn't support 'any' setup
concerning bitdepth, channels and the like. The second does this for
samplerate. The third lets alsalib figure out device emulation by itself.

Ronald





More information about the gstreamer-devel mailing list