<div dir="ltr"><div>I changed the way I started elements in the pipeline after dynamically adding them. The cameras don't give me random 96 payload message anymore. Going further I'm still not getting a grip on adding elements to the playing pipeline. The RTSP cameras now give me a -5 data parse error.</div><div><br></div><div>The way I currently add the elements, while pipeline is running, is like this:</div><div><br></div><div>- MainPipeline starts running. Every pipeline connects 9 already loaded cameras to their own output tee. MainPipeline also connects the tee to a Twitch RTMP, which works correct.</div><div><br></div><div>- UserPipeline waits for MainPipeline to fully go into PLAYING, then creates another pipeline with all cameras connected. Like MainPipeline it outputs through a tee, with an input-selector in between cameras and the tee.</div><div>The tee is then connected to 3 VideoWriters, each of these take the UserPipeline output and apply cropping, adds audio, textoverlay, encodes to an mp4mux and then writes to MP4 file. (3 different formats purpose). After connecting, all new added elements are set to PLAYING. Debugging doesn't give me any practical error. <br></div><div><br></div><div>0:00:02.321593132 22380 0x7f4b4403f580 INFO                    task gsttask.c:368:gst_task_func:<rtpjitterbuffer2:src> Task going to paused<br>0:00:02.321832107 22380 0x562328592460 WARN                 rtspsrc gstrtspsrc.c:6252:gst_rtspsrc_loop:<source0> error: Internal data stream error.<br>0:00:02.321890712 22380 0x562328592460 WARN                 rtspsrc gstrtspsrc.c:6252:gst_rtspsrc_loop:<source0> error: streaming stopped, reason error (-5)<br>0:00:02.321948739 22380 0x562328592460 INFO        GST_ERROR_SYSTEM gstelement.c:2271:gst_element_message_full_with_details:<source0> posting message: Internal data stream error.<br>0:00:02.322018227 22380 0x562328592460 INFO        GST_ERROR_SYSTEM gstelement.c:2298:gst_element_message_full_with_details:<source0> posted error message: Internal data stream error.<br>0:00:02.322147073 22380 0x562328592460 INFO                    task gsttask.c:368:gst_task_func:<task1> Task going to paused<br>0:00:02.492679341 22380 0x7f4b44003de0 INFO               GST_EVENT gstevent.c:892:gst_event_new_caps: creating caps event application/x-rtcp<br>0:00:02.492741557 22380 0x7f4b44003de0 INFO               GST_EVENT gstevent.c:972:gst_event_new_segment: creating segment event time segment start=0:00:00.000000000, offset=0:00:00.000000000, stop=99:99:99.999999999, rate=1.000000, applied_rate=1.000000, flags=0x00, time=0:00:00.000000000, base=0:00:00.000000000, position 0:00:00.000000000, duration 99:99:99.999999999<br>0:00:02.492772888 22380 0x7f4b44003de0 WARN                 default gstrtspconnection.c:1362:writev_bytes: Operation was cancelled</div><div><br></div><div>Is there something I'm doing wrong?<br></div><div><br></div><div><br></div></div>