[gstreamer-bugs] [Bug 455571] New: gstreamer fails to detect alsa device required Hz

GStreamer (bugzilla.gnome.org) bugzilla-daemon at bugzilla.gnome.org
Tue Jul 10 07:53:07 PDT 2007


If you have any questions why you received this email, please see the text at
the end of this email. Replies to this email are NOT read, please see the text
at the end of this email. You can add comments to this bug at:
  http://bugzilla.gnome.org/show_bug.cgi?id=455571

  GStreamer | gst-plugins | Ver: 0.10.11
           Summary: gstreamer fails to detect alsa device required Hz
           Product: GStreamer
           Version: 0.10.11
          Platform: Other
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: gst-plugins
        AssignedTo: gstreamer-bugs at lists.sourceforge.net
        ReportedBy: rodrigo.castro at mezzano.com.br
         QAContact: gstreamer-bugs at lists.sourceforge.net
     GNOME version: Unspecified
   GNOME milestone: Unspecified


USB speakers on a system with ALSA play perfectly when using mplayer or when
setting it to use gstreamer+plughw, but not when using gstreamer+hw.

1 - MPlayer output when playing an ogg file (indicates a 48KHz as output):

==========================================================================
Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
AUDIO: 44100 Hz, 2 ch, s16le, 192.0 kbit/13.61% (ratio: 24000->176400)
Selected audio codec: [ffvorbis] afm: ffmpeg (FFmpeg Vorbis decoder)
==========================================================================
AO: [alsa] 48000Hz 2ch s16le (2 bytes per sample) 

2 - gst-launch:

gst-launch-0.10 filesrc location=my.ogg ! oggdemux ! vorbisdec ! 
audioconvert ! audioresample ! alsasink device=hw:1
Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...
ERROR: from element /pipeline0/alsasink0: Could not get/set settings 
from/on resource.
Additional debug info:
gstalsasink.c(570): set_hwparams (): /pipeline0/alsasink0:
Rate doesn't match (requested 44100Hz, get 0Hz)
ERROR: pipeline doesn't want to preroll.
Setting pipeline to NULL ...
FREEING pipeline ...

--
Changing output rates from 44.1KHz down to 8KHz results in the same error. See
attached debug.log for above gst-launch command.

Please let me know if any further information is needed.


-- 
See http://bugzilla.gnome.org/page.cgi?id=email.html for more info about why you received
this email, why you can't respond via email, how to stop receiving
emails (or reduce the number you receive), and how to contact someone
if you are having problems with the system.

You can add comments to this bug at http://bugzilla.gnome.org/show_bug.cgi?id=455571.




More information about the Gstreamer-bugs mailing list