alsasrc0. Samples dropped because 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
|

alsasrc0. Samples dropped because downstream can't keep up and is consuming samples too slowly.

phuocpham
Please help me with this
I have a pipeline. Although it works, samples are dropped.  So i can see the video ok but the sound not clear.

GST_DEBUG=GST_CAPS:4 gst-launch v4l2src device=/dev/video0 ! ffmpegcolorspace ! videoscale ! video/x-raw-yuv, width=640, height=480 ! x264enc byte-stream=true  ! queue ! mpegtsmux name=mux !  filesink location=workplace/test.ts alsasrc ! audio/x-raw-int, endianness=1234,signed=true, width=16 , rate=16000,channels=1 ! audioconvert ! audioresample ! faac ! queue ! mux. syns=false

WARNING: from element /GstPipeline:pipeline0/GstAlsaSrc:alsasrc0: Can't record audio fast enough
Additional debug info:
gstbaseaudiosrc.c(838): gst_base_audio_src_create (): /GstPipeline:pipeline0/GstAlsaSrc:alsasrc0:
Dropped 3360 samples. This is most likely because downstream can't keep up and is consuming samples too slowly.
....

Any ideas? I really appreciate your help.
Reply | Threaded
Open this post in threaded view
|

Re: alsasrc0. Samples dropped because downstream can't keep up and is consuming samples too slowly.

Aleix Conchillo Flaqué
On Thu, Sep 6, 2012 at 6:12 PM, phuocpham <[hidden email]> wrote:

> Please help me with this
> I have a pipeline. Although it works, samples are dropped.  So i can see the
> video ok but the sound not clear.
>
> GST_DEBUG=GST_CAPS:4 gst-launch v4l2src device=/dev/video0 !
> ffmpegcolorspace ! videoscale ! video/x-raw-yuv, width=640, height=480 !
> x264enc byte-stream=true  ! queue ! mpegtsmux name=mux !  filesink
> location=workplace/test.ts alsasrc ! audio/x-raw-int,
> endianness=1234,signed=true, width=16 , rate=16000,channels=1 ! audioconvert
> ! audioresample ! faac ! queue ! mux. syns=false
>
[snip]

Try using pulsesrc instead of alsasrc.

Aleix
_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel