/GstPipeline:pipeline0/GstAlsaSrc:alsasrc0: Dropped 1760 samples. This is most likely downstream can't keep up and is consuming samples too slowly.

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

/GstPipeline:pipeline0/GstAlsaSrc:alsasrc0: Dropped 1760 samples. This is most likely downstream can't keep up and is consuming samples too slowly.

shrikantneotech
Hi All,

I am trying to receive audio using udpsrc from remote android phone.
My receiving end is raspberry pi board. And my command is as below:

"
gst-launch-1.0 -v --gst-debug-level=4 udpsrc port=5003 ! audio/x-raw,
layout=interleaved, rate=8000, format=S16LE, channels=2, endianness=4321,
width=16, depth=16, signed=true ! audioconvert ! autoaudiosink
"
I am facing issue sometimes - error line is:
"WARNING: from element /GstPipeline:pipeline0/GstAlsaSrc:alsasrc0: Can't record audio fast enough Additional debug info: gstaudiobasesrc.c(863): gst_audio_base_src_create (): /GstPipeline:pipeline0/GstAlsaSrc:alsasrc0: Dropped 1760 samples. This is most likely  downstream can't keep up and is consuming samples too slowly"

Q 1. How to avoid this error.?
 I tried using sync=false parameter But this creates delay and samples get misses.

Please help me out...?

Q.2  I am running the command in debugging  --gst-debug-level=4.  But it takes 7 seconds to start pipeline. How to reduce this time..?


Thanks,
Shrikant
 

_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: /GstPipeline:pipeline0/GstAlsaSrc:alsasrc0: Dropped 1760 samples. This is most likely downstream can't keep up and is consuming samples too slowly.

Tim Müller
On Fri, 2017-09-22 at 10:14 +0530, Shrikant Lahase wrote:

Hi,

You are showing us the receiver pipeline, but the error you mention is
on the sender pipeline, or at least some other pipeline with alsasrc in
it.

> Q.2  I am running the command in debugging  --gst-debug-level=4.  But
> it takes 7 seconds to start pipeline. How to reduce this time..?

Write it into a file with GST_DEBUG_FILE=/home/rpi/dbg.log  or

  gst-launch-1.0 ... 2>dbg.log

But the raspberry pi is not a beefy machine, so once you enable too
much debug logging it will be very slow. Better only enable logging for
specific debug categories to cut down on the volume.

Cheers
 -Tim

--
Tim Müller, Centricular Ltd - http://www.centricular.com

Join us at the GStreamer Conference!
21-22 October 2017 in Prague, Czech Republic
http://gstreamer.freedesktop.org/conference/
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel