Does Gstreamer has a element that can split one stream into two

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

Does Gstreamer has a element that can split one stream into two

Chen, Weian

Hi all:

 

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?

 

Thanks in advanced.

 

Weian

 


------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Does Gstreamer has a element that can split one stream into two

LIANG ZHAO-2
you can try tee.
 
Zhao Liang

From: Chen, Weian [mailto:[hidden email]]
Sent: Wednesday, January 21, 2009 5:07 PM
To: [hidden email]
Subject: [gst-devel] Does Gstreamer has a element that can split one stream into two

Hi all:

 

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?

 

Thanks in advanced.

 

Weian

 


------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Does Gstreamer has a element that can split one stream into two

Tim-Philipp Müller-2
In reply to this post by Chen, Weian
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

Cheers
 -Tim



------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Does Gstreamer has a element that can split one stream into two

Julien PUYDT
Tim-Philipp Müller a écrit :

> 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

Could you explain why?

Snark on #gstreamer

------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Does Gstreamer has a element that can split one stream into two

Tim-Philipp Müller-2
On Wed, 2009-01-21 at 13:31 +0100, Julien Puydt wrote:

> > 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
>
> Could you explain why?

Here's a short explanation:

http://article.gmane.org/gmane.comp.video.gstreamer.devel/15904

Cheers
 -Tim



------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel