Can't record audio fast enough

grijalvaromero grijalvaromero at gmail.com
Mon Oct 27 23:37:30 PDT 2014


I try to send my camera and my microphone to a nginx server, but this is in
pause I do not understand that, I'm using the following settings: 

gst-launch-1.0  v4l2src  num-buffers=50 !
"video/x-raw,width=640,height=480,framerate=15/1" ! x264enc bitrate=2000 !
video/x-h264,profile=high ! h264parse ! queue ! flvmux name=mux autoaudiosrc
! audioresample ! audio/x-raw,rate=48000 ! queue ! voaacenc bitrate=128000 !
queue ! mux. mux. ! rtmpsink location="rtmp://127.0.0.1:1935/live1/live
live=1"


This is the error in console: 

WARNING: from element
/GstPipeline:pipeline0/GstAutoAudioSrc:autoaudiosrc0/GstOpenalSrc:autoaudiosrc0-actual-src-opena:
Can't record audio fast enough
Additional debug info:
gstaudiobasesrc.c(863): gst_audio_base_src_create ():
/GstPipeline:pipeline0/GstAutoAudioSrc:autoaudiosrc0/GstOpenalSrc:autoaudiosrc0-actual-src-opena:
Dropped 47040 samples. This is most likely because downstream can't keep up
and is consuming samples too slowly.



I try changing the rate = 44100 and also lower the bitrate either, 
switch to pulsesrc and alsasrc0.

What am I doing wrong?

I try with this but i get the same error:
gst-launch-1.0 ximagesrc num-buffers=50 ! videoconvert ! queue ! vp8enc  !
mux. autoaudiosrc ! audio/x-raw ! queue ! audioconvert ! vorbisenc ! mux.
webmmux name=mux ! filesink location=screencast.webm




--
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/Can-t-record-audio-fast-enough-tp4669225.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.


More information about the gstreamer-devel mailing list