<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto"><div>Hi Tim,</div><div id="AppleMailSignature"><br></div><div id="AppleMailSignature">After sleeping on the example app for some time, I don't get why it needs to be so complicated. Could you (or anybody) explain, why can't I just use concat element in each of the streams to stitch the adjacent items? Say I prepare (preroll) the next item and connect its video and audio streams to corresponding concat elements. Then concat will do the rest -- switch to the next item as soon as the current one ends with EOS, each in its own stream. Don't you think it could work?</div><div id="AppleMailSignature"><br></div><div id="AppleMailSignature">Thank you so much!<br><br>--<div>Best regards,</div><div>Vlad </div><div><br></div><div><br></div></div><div><br>30 мая 2017 г., в 12:24, Vladislavs Zaluckis <<a href="mailto:v.zaluckis@gmail.com">v.zaluckis@gmail.com</a>> написал(а):<br><br></div><blockquote type="cite"><div><meta http-equiv="content-type" content="text/html; charset=utf-8"><div>Hi Tim,</div><div id="AppleMailSignature"><br></div><div id="AppleMailSignature">Thank you for the pointer! Indeed, it looks precisely what I need. Will give it a try shortly. </div><div id="AppleMailSignature"><br></div><div id="AppleMailSignature">--</div><div id="AppleMailSignature">Best regards,</div><div id="AppleMailSignature">Vlad</div><div id="AppleMailSignature"><br></div><div><br>30 мая 2017 г., в 11:46, Tim Müller <<a href="mailto:tim@centricular.com">tim@centricular.com</a>> написал(а):<br><br></div><blockquote type="cite"><div><div>On Tue, 2017-05-30 at 11:22 +0300, Vladislavs Zaluckis wrote:</div><div><br></div><div>Hi Vlad,</div><div><br></div><blockquote type="cite"><div>I've been struggling with this problem for some time now, with no sucess. What I am trying to do is to play two container files with multiple streams inside (I take one video and just one audio) one after another without a gap. I am using filesrc/decodebin for input, then some simple processing, then playing to autosinks. As one file ends, I am relinking the pipeline dynamically, following the procedure described in the app dev guide. So far so good, but when I try to run the actual production-like pipeline, it gets stuck on EOS processing. The "production" pipeline is encoding to x264/AAC, then muxing to MPEGTS, then packetizing using RTP, then sending to UDP.</div></blockquote><div><br></div><div>There's this example which may come in handy:</div><div><a href="https://cgit.freedesktop.org/gstreamer/gst-plugins-bad/tree/tests/examples/playout.c">https://cgit.freedesktop.org/gstreamer/gst-plugins-bad/tree/tests/examples/playout.c</a></div><div><br></div><div>It should do what you want, minus the encoding/streaming parts.</div><div><br></div><div>Cheers</div><div> -Tim</div><div data-user-wrapped=""><span><pre>-- <br></pre><div class="-x-evo-paragraph" style="font-family: monospace; width: 71ch; word-wrap: break-word; word-break: break-word;">Tim Müller, Centricular Ltd - <a href="http://www.centricular.com">http://www.centricular.com</a></div>
</span></div></div></blockquote><blockquote type="cite"><div><span>_______________________________________________</span><br><span>gstreamer-devel mailing list</span><br><span><a href="mailto:gstreamer-devel@lists.freedesktop.org">gstreamer-devel@lists.freedesktop.org</a></span><br><span><a href="https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel">https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a></span><br></div></blockquote></div></blockquote></body></html>