Hello,
I am creating mp4 files mutiplexing (=>splitmuxsink) alsasrc (audio) + rtspsrc ( video from network camera) streams. During recording if I disconnect for few seconds the camera’s network cable (network lag simulation), the resulting mp4 have an “hole” of both video AND audio. Is it possible to force audio to do not stop recording, having only a video “hole”?
this is my pipeline:
GST_DEBUG=3 gst-launch-1.0 rtspsrc location=rtsp://192.168.1.149:5544/live0.264 ! queue ! rtph264depay ! h264parse ! queue ! mp4splimux.video splitmuxsink name=mp4splimux location=video%02d.mp4 max-size-time=300000000000 async-finalize=true alsasrc device=hw:0,0 ! queue ! voaacenc ! queue ! mp4splimux.audio_%u
this is the warning when I disconnect the camera camble (eg. 3 seconds):
0:00:35.962545500 3158 0x25bc2940 WARN audiobasesrc gstaudiobasesrc.c:844:gst_audio_base_src_create: create DISCONT of 69055 samples at sample 1578185
0:00:35.962624750 3158 0x25bc2940 WARN audiobasesrc gstaudiobasesrc.c:849:gst_audio_base_src_create: warning: Can’t record audio fast enough
0:00:35.962653000 3158 0x25bc2940 WARN audiobasesrc gstaudiobasesrc.c:849:gst_audio_base_src_create: warning: Dropped 69055 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:
…/…/…/…/git/gst-libs/gst/audio/gstaudiobasesrc.c(849): gst_audio_base_src_create (): /GstPipeline:pipeline0/GstAlsaSrc:alsasrc0:
Dropped 69055 samples. This is most likely because downstream can’t keep up and is consuming samples too slowly.
Thanks in advance for your time.
Best regards
AGiuliani