gstreamer-1.0 v4l2src ( webcam) + alsasrc has audio_sample drop problem
Ashish Kumar Mishra
ashish.kmishra at dexceldesigns.com
Wed Feb 10 06:35:09 UTC 2016
Dear All ,
1) I am trying to sync the Video from webcam & audio from alsasrc .
Below is the sample pipeline to demonstrate the problem :-
* gst-launch-1.0 -v v4l2src !
video/x-raw,width=960,height=720,framerate=30/1 ! x264enc ! mux. alsasrc !
audio/x-raw,width=16,depth=16,rate=44100,channels=2 ! mux. avimux name=mux !
filesink location=test.avi
*
2) With this pipeline i am continously getting samople drops problem and
which leds to audio corruption in the created
.avi file.
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 233240 samples. This is most likely because downstream can't keep up
and is consuming samples too slowly.
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 95550 samples. This is most likely because downstream can't keep up
and is consuming samples too slowly.
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 108290 samples. This is most likely because downstream can't keep up
and is consuming samples too slowly.
WARNING: from element /GstPipeline:pipeline0/GstAlsaSrc:alsasrc0: Can't
record audio fast enough
Additional debug info:
Could team members please provide some pointers as to how could this problem
be addressed.
Thanks ,
Ashish Kumar Mishra.
--
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/gstreamer-1-0-v4l2src-webcam-alsasrc-has-audio-sample-drop-problem-tp4675768.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.
More information about the gstreamer-devel
mailing list