<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">On 2016-07-14 09:13, Digits wrote:<br>
</div>
<blockquote
cite="mid:11414536-da1c-b69b-b53a-ffdabea20454@digits.tv"
type="cite">
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<font face="Helvetica, Arial, sans-serif">Hi,<br>
<br>
Is gapless playback only possible with playbin? I have a fairly
complicated pipeline using a uridecodebin, two video sink bins
and an audio sink (plus video and audio converters) which works
but I can't load a new uri for gapless playback. I can't
persuade playbin to use a similar custom sinkbin which does
offer the uri queuing. I am currently trying the approach of
using the uridecodebin drained signal to trigger the creation of
a new pipeline - it this the correct approach?<br>
<br>
Regards,<br>
<br>
Dave.<br>
</font> <br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
gstreamer-devel mailing list
<a class="moz-txt-link-abbreviated" href="mailto:gstreamer-devel@lists.freedesktop.org">gstreamer-devel@lists.freedesktop.org</a>
<a class="moz-txt-link-freetext" href="https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel">https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a>
</pre>
</blockquote>
<br>
As Tim said, it is certainly possible to do it without playbin, but
more complex. For example, I've implemented gapless playback without
playbin, but for audio-only playback. I used the concat element. I
couldn't use playbin, because I had to be able to prefetch data for
the next stream properly (for example, start the prefetch 10 seconds
before the current stream ended). With concat, you can notice when
the switch happened by installing a pad probe on its srcpad that
checks for a stream-start event.<br>
</body>
</html>