Element for blocking the data - Like Valve

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

Element for blocking the data - Like Valve

Baby Octopus
Administrator
Hi,

Is there an element to block the data and release the data dynamically to the pipeline, something like valve, which can be configured via property?

~BO
Reply | Threaded
Open this post in threaded view
|

Re: Element for blocking the data - Like Valve

Dimitrios Katsaros
Not sure what you mean with this. The valve state is configurable via property using the "drop" property.

Do you want to block the pipeline rather than drop the frames? Unfortunately I am not aware of a variant like that.

A solution, albeit not an answer to your exact question is to use a probe to block the pipeline.

Dimitrios



On Fri, Feb 10, 2017 at 10:01 AM, Baby Octopus <[hidden email]> wrote:
Hi,

Is there an element to block the data and release the data dynamically to
the pipeline, something like valve, which can be configured via property?

~BO



--
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/Element-for-blocking-the-data-Like-Valve-tp4681810.html
Sent from the GStreamer-devel mailing list archive at 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: Element for blocking the data - Like Valve

Carlos Rafael Giani
In reply to this post by Baby Octopus
What would be the criteria for blocking and releasing?


On 2017-02-10 10:01, Baby Octopus wrote:

> Hi,
>
> Is there an element to block the data and release the data dynamically to
> the pipeline, something like valve, which can be configured via property?
>
> ~BO
>
>
>
> --
> View this message in context: http://gstreamer-devel.966125.n4.nabble.com/Element-for-blocking-the-data-Like-Valve-tp4681810.html
> Sent from the GStreamer-devel mailing list archive at 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: Element for blocking the data - Like Valve

Baby Octopus
Administrator
Yes, blocking and releasing to be based on property, juts like blocking and dropping is based on valve's property

May be its not too difficult to create an element. Was wondering if any such element already exists
Reply | Threaded
Open this post in threaded view
|

AW: Element for blocking the data - Like Valve

Thornton, Keith
In reply to this post by Dimitrios Katsaros

If you know how long you want to block and release for, you can do it with a queue by changing the min-threshold parameter

 

Von: gstreamer-devel [mailto:[hidden email]] Im Auftrag von Dimitrios Katsaros
Gesendet: Freitag, 10. Februar 2017 10:14
An: Discussion of the development of and with GStreamer <[hidden email]>
Betreff: Re: Element for blocking the data - Like Valve

 

Not sure what you mean with this. The valve state is configurable via property using the "drop" property.

Do you want to block the pipeline rather than drop the frames? Unfortunately I am not aware of a variant like that.

A solution, albeit not an answer to your exact question is to use a probe to block the pipeline.

Dimitrios

 

 

On Fri, Feb 10, 2017 at 10:01 AM, Baby Octopus <[hidden email]> wrote:

Hi,

Is there an element to block the data and release the data dynamically to
the pipeline, something like valve, which can be configured via property?

~BO



--
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/Element-for-blocking-the-data-Like-Valve-tp4681810.html
Sent from the GStreamer-devel mailing list archive at 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: AW: Element for blocking the data - Like Valve

Carlos Rafael Giani

That would not really block, though - it would just queue up data until the threshold is reached or changed.

The difference is that by using queue, upstream is still actively pushing, while with a probe, upstream too gets blocked.


On 2017-02-10 11:08, Thornton, Keith wrote:

If you know how long you want to block and release for, you can do it with a queue by changing the min-threshold parameter

 

Von: gstreamer-devel [[hidden email]] Im Auftrag von Dimitrios Katsaros
Gesendet: Freitag, 10. Februar 2017 10:14
An: Discussion of the development of and with GStreamer [hidden email]
Betreff: Re: Element for blocking the data - Like Valve

 

Not sure what you mean with this. The valve state is configurable via property using the "drop" property.

Do you want to block the pipeline rather than drop the frames? Unfortunately I am not aware of a variant like that.

A solution, albeit not an answer to your exact question is to use a probe to block the pipeline.

Dimitrios

 

 

On Fri, Feb 10, 2017 at 10:01 AM, Baby Octopus <[hidden email]> wrote:

Hi,

Is there an element to block the data and release the data dynamically to
the pipeline, something like valve, which can be configured via property?

~BO



--
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/Element-for-blocking-the-data-Like-Valve-tp4681810.html
Sent from the GStreamer-devel mailing list archive at 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


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