correct usage of elements 'tee' and 'output-selector'

Ian Davidson id012c3076 at blueyonder.co.uk
Wed Sep 12 10:32:38 UTC 2018


Certainly, in the case of pipeline 1, you want a queue after the tee and 
before both glimagesink and fpsdisplaysink.

A queue would probably help in the other pipeline too.


On 12/09/18 10:47, vk_gst wrote:
> I have the following pipelines :
>
> 1. gst-launch-1.0 videotestsrc ! tee  name=t  ! glimagesink t. !
> fpsdisplaysink
>
> 2. gst-launch-1.0 videotestsrc ! output-selector  name=ops  ! glimagesink
> ops. !  fpsdisplaysink
>
> When I run these pipelines, I see the following behaviour:
>
> 1. For pipe1 : two render windows are displayed and the video is freezed in
> one window(opengl renderer), and the other rendering window is black.
> 2. For pipe2 : one render window is displayed and the video is freezed
>
> I was expecting to see a continuous video stream in both the cases.
> Could anyone tell me where I am going wrong with this?  There are also not
> many examples of using output-selector. Can anyone provide me some examples
> of using the output-selector, wherein I want to switch the output based on
> user-input.
>
> Regards.
>
>
>
> --
> Sent from: http://gstreamer-devel.966125.n4.nabble.com/
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel



More information about the gstreamer-devel mailing list