Bug#575013: gstreamer0.10-alsa: can't write sound from microphone

Andrey Gusev a.gusev1980 at mail.ru
Mon Mar 22 20:13:12 UTC 2010


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

I can't write sound from microphone. I tried gnome-sound-recorder. It is 
generated errors. If I execute it from console, I can see:

(gnome-sound-recorder:5923): GStreamer-CRITICAL **: gst_implements_interface_cast: assertion `gst_element_implements_interface (GST_ELEMENT (from), iface_type)' failed
/tmp/gsr-record-Untitled-5923.4BAS9U/tmp/gsr-record-Untitled-5923.4BAS9UERROR: Could not negotiate format
DEBUG MESSAGE: gstbasesrc.c(2719): gst_base_src_start (): /GstPipeline:record-pipeline/GstGConfAudioSrc:gconfaudiosource/GstBin:bin6/GstAlsaSrc:alsasrc4:
Check your filtered caps, if any
ERROR: Could not get/set settings from/on resource.
DEBUG MESSAGE: gstalsasrc.c(680): gst_alsasrc_prepare (): /GstPipeline:record-pipeline/GstGConfAudioSrc:gconfaudiosource/GstBin:bin6/GstAlsaSrc:alsasrc4:
Setting of hwparams failed: Invalid argument
ERROR: Could not get/set settings from/on resource.
DEBUG MESSAGE: gstalsasrc.c(445): set_hwparams (): /GstPipeline:record-pipeline/GstGConfAudioSrc:gconfaudiosource/GstBin:bin6/GstAlsaSrc:alsasrc4:
Unable to set buffer time 200000 for recording: Invalid argument

Similar error appears in  gstreamer-properties. I push button "test" for record and get error:
andrey at power-debian:~$ LANG=C gstreamer-properties 
gstreamer-properties-Message: Skipping unavailable plugin 'artsdsink'
gstreamer-properties-Message: Skipping unavailable plugin 'esdsink'
gstreamer-properties-Message: Skipping unavailable plugin 'glimagesink'
gstreamer-properties-Message: Skipping unavailable plugin 'sdlvideosink'
gstreamer-properties-Message: Skipping unavailable plugin 'v4lmjpegsrc'
gstreamer-properties-Message: Skipping unavailable plugin 'qcamsrc'
gstreamer-properties-Message: Skipping unavailable plugin 'esdmon'
gstreamer-properties-Message: Error running pipeline 'ALSA - Advanced Linux Sound Architecture': Could not get/set settings from/on resource. [gstalsasrc.c(445): set_hwparams (): /GstPipeline:pipeline0/GstAlsaSrc:alsasrc1:
Unable to set buffer time 200000 for recording: Invalid argument]

I tried to find reason, it looks like gstream-alsa bug. gst-launch produces same error message:

andrey at power-debian:~/tmp/gst/gst-plugins-base0.10-0.10.28/ext/alsa$ LANG=C gst-launch-0.10 alsasrc ! audioconvert ! vorbisenc ! oggmux ! filesink location=input.ogg
Setting pipeline to PAUSED ...
ERROR: Pipeline doesn't want to pause.
ERROR: from element /GstPipeline:pipeline0/GstAlsaSrc:alsasrc0: Could not get/set settings from/on resource.
Additional debug info:
gstalsasrc.c(445): set_hwparams (): /GstPipeline:pipeline0/GstAlsaSrc:alsasrc0:
Unable to set buffer time 200000 for recording: Invalid argument
Setting pipeline to NULL ...
Freeing pipeline ...

I found changing sound card will solve problem. Also, arecord isn't affected to this
bug. So, problem repeats with sound card Aureal Vortex au8830 and alsa gstream plugin.

-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (500, 'testing'), (200, 'unstable')
Architecture: powerpc (ppc)

Kernel: Linux 2.6.33.1 (SMP w/2 CPU cores; PREEMPT)
Locale: LANG=ru_RU.UTF-8, LC_CTYPE=ru_RU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

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.22.4-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