<div dir="ltr">Hello.<br><br>I am trying to create c-program (using GStreamer 1.19.1 (git)) with a pipeline connected to 2 decklink videosources with ability to switch source on-the-fly. E.g. program should stream video from source1 to some rtmp servers, and when it get a signal from the user or timer, it should switch to source2. <br>I used this article (<a href="https://gstreamer.freedesktop.org/documentation/application-development/advanced/pipeline-manipulation.html?gi-language=c#dynamically-changing-the-pipeline">https://gstreamer.freedesktop.org/documentation/application-development/advanced/pipeline-manipulation.html?gi-language=c#dynamically-changing-the-pipeline</a>) as an example but don't succeeded.<br><br>The problem is the following. When source switching, it seems like all buffers became empty, and player shows a black screen a couple of seconds or more. After that, it starts to show video from the stream. Some times it freezes at all, disconnect players at all.<br><br>The pipeline that I built is the following (trying to replacing a decklinkvideosrc and decklinkaudiosrc elements):<br><a href="https://pastebin.com/NHVcWVtM">https://pastebin.com/NHVcWVtM</a><div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><p style="font-size:12.8px"><b><span style="font-size:10pt;font-family:"Times New Roman",serif;color:rgb(95,95,95)">Igor Petetskikh</span></b></p><br></div></div></div></div>