Bug#578121: gstreamer0.10-alsa: alsasink as input seems to not work by default with a 48kHz-only input device

Ari Pollak ari at debian.org
Sat Apr 17 03:10:24 UTC 2010

Package: gstreamer0.10-alsa
Version: 0.10.28-1
Severity: normal

(I have no idea where to put this bug, so I'm assigning it to the most
obvious package)

In trying to set up audio input through a USB Logitech QuickCam Pro
9000, which only supports mono (1 channel) 48kHz audio, I discovered that
alsasink by itself didn't work.
If I went into gstreamer-properties and tried to set the audio input
pipeline to 'alsasink device="hw:1,0", I got the following error on the
console when trying to test it:

gstreamer-properties-Message: Error running pipeline 'Custom': Could not
get/set settings from/on resource. [gstalsasrc.c(437): set_hwparams ():
Rate doesn't match (requested 44100Hz, get 0Hz)]

If I change the pipeline to this, it seems to work fine:
alsasrc device="hw:1,0" ! audioresample ! audio/x-raw-int,rate=48000

That would be pretty obscure to an end user trying to set up this webcam
for videoconferencing, so I hope there's a way to get it autoconfigured
properly. I should note that ekiga and arecord don't need any special
configuration to get it to work.

-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (600, 'testing'), (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-3-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages gstreamer0.10-alsa depends on:
ii  libasound2                    1.0.22-2   shared library for ALSA applicatio
ii  libc6                         2.10.2-6   Embedded GNU C Library: Shared lib
ii  libglib2.0-0                  2.24.0-1   The GLib library of C routines
ii  libgstreamer-plugins-base0.10 0.10.28-1  GStreamer libraries from the "base
ii  libgstreamer0.10-0            0.10.28-1  Core GStreamer libraries and eleme

gstreamer0.10-alsa recommends no packages.

gstreamer0.10-alsa suggests no packages.

-- no debconf information

More information about the Pkg-gstreamer-maintainers mailing list