Ecplicitly prerolling pipelines..

Tim Müller tim at centricular.com
Fri Aug 14 03:06:32 PDT 2015


On Fri, 2015-08-14 at 16:07 +0800, Rob Kramer wrote:

Hi Rob,

> Well,  it's basically for gapless transitions, and instantaneous 
> playing. On oldish hardware, the pre-rolling time can take a significant 
> (and non-deterministic) amount of time. This leaves gaps between 
> consecutive video clips. If the same bunch of clips get played over and 
> over, it would be nice to cache their pipelines in paused state, so that 
> all cached clips are ready for near-instantaneous start. When one is 
> done playing, the XV video sink can be detached and it can be rewound 
> for the next start.
> 
> Could you think of a better way to do this?

This sounds similar to what this example is doing (although this is more
for a playout server that will stream in a specified resolution, and has
some extra features):

http://cgit.freedesktop.org/gstreamer/gst-plugins-bad/tree/tests/examples/playout.c

It should have examples of preparing the next media for playback/hookup
though, which you might find useful.

 Cheers
  -Tim

-- 
Tim Müller, Centricular Ltd - http://www.centricular.com

Join us at the GStreamer Conference: 8-9 October 2015 in Dublin, Ireland




More information about the gstreamer-devel mailing list