[gst-devel] Does Gstreamer has a element that can split one stream into two

Tim-Philipp Müller t.i.m at zen.co.uk
Wed Jan 21 10:23:29 CET 2009

On Wed, 2009-01-21 at 17:06 +0800, Chen, Weian wrote:

> If I have a RGB format stream (decoded from H.264 through H.264
> decoder element as an example) and I want display (link to
> xvimagesink) and save on disk (filesink) at one time, does Gstreamer
> has such filter element which is used to link above H.264 decoder
> element and xvimagesink/ filesink?

The 'tee' element might do what you want. Don't forget to add a queue
after tee for each stream, e.g.:

  gst-launch-0.10 videotestsrc ! tee name=t  \
    t. ! queue ! ximagesink  \
    t. ! queue ! ximagesink


More information about the gstreamer-devel mailing list