Playing multi stream containers gaplessly

Tim Müller tim at centricular.com
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:
https://cgit.freedesktop.org/gstreamer/gst-plugins-bad/tree/tests/examp
les/playout.c

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

Cheers
 -Tim
-- 
Tim Müller, Centricular Ltd - http://www.centricular.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20170530/3925526a/attachment.html>


More information about the gstreamer-devel mailing list