Playing multi stream containers gaplessly

Tim Müller tim at
Tue May 30 08:46:12 UTC 2017

On Tue, 2017-05-30 at 11:22 +0300, Vladislavs Zaluckis wrote:

Hi Vlad,

> 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.

There's this example which may come in handy:

It should do what you want, minus the encoding/streaming parts.

Tim Müller, Centricular Ltd -
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the gstreamer-devel mailing list