[gst-devel] Skipping pipeline implementation

Ronald S. Bultje rbultje at ronald.bitfreak.net
Fri Jun 17 11:46:34 CEST 2005


Hi,

On Fri, 2005-06-17 at 20:21, MDK wrote:
> > On Thu, 2005-06-16 at 01:12, MDK wrote:
> > > I'm trying to produce a pipeline that automagically "skips" (drops)
> > > frames when realtime playback can't be achieved. 
[..]
> So I guess I'm going to work on that. I already have something that
> works, but it's pretty hacky. I think the right way to do that is to
> make a loop-based plugin. 
> 
> I assume (for now) that reading from disk/demuxing is never a problem.
> It's the decoding/filtering/etc. that can cause cpu problems. Basically
> I'm going to pull buffers (say: just after the demuxer) and (based on
> the timestamp and current clock) decide if the buffer "has a chance" of
> being delivered "on time" to the last sink. If not, we drop it. 
> 
> The "has a chance" logic is based on the last frame rendering time +
> some tweakable "smoothness" ratio. I'd like to make it in just one
> element. 

Just make sure it is implemented in such a way that playbin (Totem) can
use it. Then all's fine.

Ronald

-- 
Ronald S. Bultje <rbultje at ronald.bitfreak.net>





More information about the gstreamer-devel mailing list