[gst-devel] Multiple ximagesinks

Felipe Contreras felipe.contreras at gmail.com
Mon Jan 12 11:26:55 CET 2009


On Mon, Jan 12, 2009 at 12:14 PM, Darren Staples
<dstaples at friendmts.co.uk> wrote:
> Is it possible to have more than one ximagesink in a pipeline ?
>
> Suppose I wanted to preview both an original of a movie file, and a
> monochrome/filtered version. I realise that I need a 'tee' element to split
> the video stream into two, but I'm struggling to get to grips with the
> gst-launch syntax required when using a tee.
>
> My simple pipeline is:
> filesrc location=file.flv ! decodebin ! ffmpegcolorspace ! video/x-raw-gray
> ! ffmepgcolorspace ! ximagesink
>
> How would that look with a tee and a second ximagesink displaying the
> original colour movie ?
>
> Thanks for all your help so far !

This works for me:
gst-launch videotestsrc ! tee name=t t. ! queue ! ximagesink t. !
queue ! ximagesink

-- 
Felipe Contreras




More information about the gstreamer-devel mailing list