[gstreamer-bugs] [Bug 432984] Alsasrc doesn't work

GStreamer (bugzilla.gnome.org) bugzilla-daemon at bugzilla.gnome.org
Tue Apr 24 14:13:02 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:

  GStreamer | don't know | Ver: 0.10.12

Diego Escalante Urrelo (dieguito) changed:

           What    |Removed                     |Added
             Status|NEEDINFO                    |RESOLVED
         Resolution|                            |FIXED

------- Comment #3 from Diego Escalante Urrelo (dieguito)  2007-04-24 21:13 UTC -------
(In reply to comment #2)
> Hrm, very misleading default strings here.
> I think what's happening here is that GstBaseAudioSrc posts warning messages on
> the bus because it has to drop samples. The reason is most likely that it can't
> record fast enough, ie. the pipeline uses too much CPU power.
> You could try adding a queue after the audio source to see if that makes a
> difference, and maybe also lowering the framerate in the video stream (best to
> use  framerate=\(fraction\)20/2  btw).
diego at milkyway:~$ gst-launch oggmux name=mux ! filesink location=a.ogg v4lsrc !
textoverlay text="dieguito-cam" valign=bottom halign=right ! videorate !
video/x-raw-yuv,framerate=20/2,width=320,height=240 ! tee ! xvimagesink tee0. !
theoraenc ! queue ! mux. alsasrc ! queue! audioconvert ! vorbisenc ! mux.
Setting pipeline to PAUSED ...
Pipeline is live and does not need PREROLL ...
Setting pipeline to PLAYING ...
New clock: GstAudioSrcClock
WARNING: from element /pipeline0/xvimagesink0: Internal data flow problem.
Additional debug info:
gstbasesink.c(2091): gst_base_sink_chain_unlocked (): /pipeline0/xvimagesink0:
Received buffer without a new-segment. Assuming timestamps start from 0.
Caught interrupt -- handling interrupt.
Interrupt: Setting pipeline to PAUSED ...
Execution ended after 9439468000 ns.
Setting pipeline to PAUSED ...
Setting pipeline to READY ...
Setting pipeline to NULL ...
FREEING pipeline ...


> Does this work without warnings being posted:
>  $ gst-launch-0.10 alsasrc ! fakesink

Yes, works.

In a totally unrelated side note:
1. why does ximagesink doesn't work as a video sink in the pipeline I'm using?
Only xvimagesink works.
2. why the video being "played" on the xvimagesink goes incredibly slow but the
recorded video (the ogg produced) is fine?

Could it be associated to my previous problem?

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=432984.

More information about the Gstreamer-bugs mailing list