[gst-devel] newbie questions

Ronald S. Bultje rbultje at ronald.bitfreak.net
Tue May 24 03:19:17 CEST 2005


Hi,

On Tue, 24 May 2005, Akos Maroy wrote:
> > You could write a bin containing the actual elements, and which in itself
> > behaves like a source. This is genrerally called a 'manager', and is how
> > elements such as playbin (Totem) or applications such as Cupid act.
>
> I see. But, I still don't see how do I make an existing source shorter.

Your manager controls the contained elements. So you can seek, swap inputs
as you wish. So in order to play 5s-45s with 10s silence before, run a
silence element for 5s, then seek in the other src to 5s and play it until
45s and then play a silence for another few s.

There's an element in the cupid source tree called assistent that helps
the manager to do this.

Ronald




More information about the gstreamer-devel mailing list