[gst-devel] tee problem

Marco Steinacher mailinglists at websource.ch
Sat Aug 5 13:29:44 CEST 2006

Tim Müller wrote:
> 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 ...
>> and here it just hangs. i didnt get any tee'd pipeline to work. using 0.10.8.
> You need to put in a queue for each split path after the tee, since it
> will otherwise block in the first sink as soon as the first chunk of
> data arrives there (part of the prerolling mechanism) and then tee never
> has a chance to send data to the second path, ergo prerolling never
> completes.
> gst-launch-0.10 -v fakesrc num-buffers=16 ! tee ! queue ! fakesink
> tee0. ! queue ! fakesink
> should work.

I have an additional question on this: Will the two sinks (fakesink in 
this case) receive the data in sync? I.e. will they be able to play the 
same data at exactly the same time or will the queue elements break the 


WebSource Internet Services - www.websource.ch
Kontakt/PGP-Keys: www.websource.ch/kontakt
PGP: 0x0B431D6B - 0BCA FD08 2859 FF1A 4B42 29BD DD91 3A67 0B43 1D6B
Do NOT use this address: aabfalle at websource.ch

More information about the gstreamer-devel mailing list