[gst-devel] tee problem

James "Doc" Livingston doclivingston at gmail.com
Fri Aug 4 14:41:58 CEST 2006


On Fri, 2006-08-04 at 14:28 +0200, daniel fischer wrote: 
> can anyone tell me if i'm doing something wrong with this:
> 
> $ gst-launch-0.10 -v fakesrc num-buffers=16 ! tee ! fakesink  tee0. ! fakesink
>   Setting pipeline to PAUSED ...
>   Pipeline is PREROLLING ...
>   /pipeline0/fakesrc0: last-message = "get      ******* > (    0 bytes,
>     timestamp: none, duration: none, offset: 0, offset_end: -1, flags: 0)
>     0x8061ac0" 
>   /pipeline0/fakesink1: last-message = "preroll   *******" 
>   /pipeline0/fakesink1: last-message = "event   ******* E (type: 102,
>     GstEventNewsegment, update=(boolean)false, rate=(double)1,
>     applied_rate=(double)1, format=(GstFormat)GST_FORMAT_BYTES,
>     start=(gint64)0, stop=(gint64)-1, position=(gint64)0) 0x80db760"
> 
> and here it just hangs. i didnt get any tee'd pipeline to work. using 0.10.8.

You need to add a queue element after each output of a tee. e.g.

fakesrc ! tee name=t  t. ! queue. fakesink  t. ! queue. fakesink


Cheers,

James "Doc" Livingston
-- 
... the Linux philosophy is "laugh in the face of danger".
Oops. Wrong one. "Do it yourself". That's it. -- Linus





More information about the gstreamer-devel mailing list