Question about usage of `videorate` plugin

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

Question about usage of `videorate` plugin

David Ing
I want a gstreamer element that will limit the maximum frame-rate of a video stream to 25 fps.  The frame-rate can dip below 25 fps, but it should not go above that.

Can I use the videorate plugin, as follows?
  • max-rate = 25
  • drop-only = true
If not, what approach can I take to accomplish this?

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

Re: Question about usage of `videorate` plugin

Nicolas Dufresne-5


Le lun. 29 juill. 2019 20 h 11, David Ing <[hidden email]> a écrit :
I want a gstreamer element that will limit the maximum frame-rate of a video stream to 25 fps.  The frame-rate can dip below 25 fps, but it should not go above that.

Can I use the videorate plugin, as follows?
  • max-rate = 25

It's more usual to have a caps filter for the framerate.

  • drop-only = true

Drop only does what you want. Lower framerate should not cause duplicates.





If not, what approach can I take to accomplish this?
_______________________________________________
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: Question about usage of `videorate` plugin

David Ing
It's more usual to have a caps filter for the framerate.

The reason I don't want a caps filter is because I don't want the frame-rate to be increased when it is below 25 fps.

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

Re: Question about usage of `videorate` plugin

skyline220
In reply to this post by David Ing
videorate is the plugin to use for what you are describing

On Mon, Jul 29, 2019 at 8:10 PM David Ing <[hidden email]> wrote:
I want a gstreamer element that will limit the maximum frame-rate of a video stream to 25 fps.  The frame-rate can dip below 25 fps, but it should not go above that.

Can I use the videorate plugin, as follows?
  • max-rate = 25
  • drop-only = true
If not, what approach can I take to accomplish this?
_______________________________________________
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: Question about usage of `videorate` plugin

Nicolas Dufresne-5
In reply to this post by David Ing


Le lun. 29 juill. 2019 20 h 41, David Ing <[hidden email]> a écrit :
It's more usual to have a caps filter for the framerate.

The reason I don't want a caps filter is because I don't want the frame-rate to be increased when it is below 25 fps.

If you use drop-only it will never be increased. I am not certain what purpose is for this new max-rate, but it's likely niche.

_______________________________________________
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