input-selector with no active pads

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

input-selector with no active pads

GStreamer-devel mailing list
Hey there...

So I have an input-selector element, which takes several rtspsrc elements as
inputs.
For the general case, I only wants one rtsp stream as input to my pipeline.

In extreme cases, I don't want any of the streams in the pipeline (I don't
want any output), but I still want the pipeline to be running so the RTSP
connections will stay alive.

Is there a way to achieve this?
Maybe with pad probe?

Thank you..



--
Sent from: http://gstreamer-devel.966125.n4.nabble.com/
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: input-selector with no active pads

GStreamer-devel mailing list
Maybe, you need a 'source' which provides the equivalent message to
"This page intentionally blank"

On 26/04/2021 15:33, omer.tal via gstreamer-devel wrote:

> Hey there...
>
> So I have an input-selector element, which takes several rtspsrc elements as
> inputs.
> For the general case, I only wants one rtsp stream as input to my pipeline.
>
> In extreme cases, I don't want any of the streams in the pipeline (I don't
> want any output), but I still want the pipeline to be running so the RTSP
> connections will stay alive.
>
> Is there a way to achieve this?
> Maybe with pad probe?
>
> Thank you..
>
>
>
> --
> Sent from: http://gstreamer-devel.966125.n4.nabble.com/
> _______________________________________________
> gstreamer-devel mailing list
> [hidden email]
> https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel

_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: input-selector with no active pads

GStreamer-devel mailing list
In reply to this post by GStreamer-devel mailing list
For a very similar use case, we use a filesrc ! pngdec ! imagefreeze
branch into the input-selector to just output a static placeholder image
if there is no network input.

HTH,
Michiel

On 26-04-2021 16:33, omer.tal via gstreamer-devel wrote:

> Hey there...
>
> So I have an input-selector element, which takes several rtspsrc elements as
> inputs.
> For the general case, I only wants one rtsp stream as input to my pipeline.
>
> In extreme cases, I don't want any of the streams in the pipeline (I don't
> want any output), but I still want the pipeline to be running so the RTSP
> connections will stay alive.
>
> Is there a way to achieve this?
> Maybe with pad probe?
>
> Thank you..

_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel