[gst-devel] Totem, Gst-Player, libgstplay showstoppers

Benjamin Otte in7y118 at public.uni-hamburg.de
Tue Jan 27 07:59:10 CET 2004


On Tue, 27 Jan 2004, Julien MOUTTE wrote:

> > d) only set the video part to PLAYING when you know wether you'll output
> > video or visualization. Set it to PAUSED before.
> >
>
> so you mean connecting spider to fakesink with filtered caps and a queue
> and then link to the video thread unlinking vis if identity handoff ?
>
No. Hm, lemme try to explain:
Make the pipeline something like
( name=startme src ! spider ! identity ! tee ! queue name=waitfull ) ! {
queue0. ! switch ! videosink  waitfull. ! goom ! switch0. } { tee0. !
queue ! osssink }
and only start the 'startme' bin. If either the waitfull queue is full or
identity has a buffer, you setup switch correctly and start the audio
and video threads. (They have to be started in sync or you lose A/V sync.)
You can't connect a wrong pipeline (like with fakesink) here because that
would screw caps nego.

Benjamin






More information about the gstreamer-devel mailing list