Multiple ximagesinks

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Multiple ximagesinks

Darren Staples
Multiple ximagesinks 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 !

Darren

 

*** FRIEND MTS LIMITED EMAIL CONFIDENTIALITY ***

This email message and any attachments may contain information which is confidential or privileged and is intended for the sole use of the person to whom it is addressed.  If you are not the intended recipient, be aware that any disclosures, copying, distribution or use of the contents is prohibited.  If you have received this email message in error, please notify our office by telephone (+44 (0)121 633 2000) or email ([hidden email]) immediately.  Thank you.


------------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It is the best place to buy or sell services for
just about anything Open Source.
http://p.sf.net/sfu/Xq1LFB
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Multiple ximagesinks

Julien Moutte-2

Yes, you can put as many ximagesink you want in your pipeline. Just try
this :

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

Cheers,

Julien Moutte

Darren Staples 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 !
>
> Darren
>
>  
>
> *** FRIEND MTS LIMITED EMAIL CONFIDENTIALITY ***
>
> This email message and any attachments may contain information which is
> confidential or privileged and is intended for the sole use of the
> person to whom it is addressed.  If you are not the intended recipient,
> be aware that any disclosures, copying, distribution or use of the
> contents is prohibited.  If you have received this email message in
> error, please notify our office by telephone (+44 (0)121 633 2000) or
> email ([hidden email] <mailto:[hidden email]>)
> immediately.  Thank you.
>
>
> ------------------------------------------------------------------------
>
> ------------------------------------------------------------------------------
> Check out the new SourceForge.net Marketplace.
> It is the best place to buy or sell services for
> just about anything Open Source.
> http://p.sf.net/sfu/Xq1LFB
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> gstreamer-devel mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel

------------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It is the best place to buy or sell services for
just about anything Open Source.
http://p.sf.net/sfu/Xq1LFB
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Multiple ximagesinks

Felipe Contreras
In reply to this post by Darren Staples
On Mon, Jan 12, 2009 at 12:14 PM, Darren Staples
<[hidden email]> 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

------------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It is the best place to buy or sell services for
just about anything Open Source.
http://p.sf.net/sfu/Xq1LFB
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel