I saw that solution, but that is in relation to each source framerate. I understand that a drop-frame-interval=3 means that frames 1 and 2 get dropped and frame 3 gets sent to the engine and having the framerate i can calculate the drop-frame-interval to get the FPS i want from each source.
But im looking for a way to this without depending on drop-frame-interval setting. For example:
gst-launch-1.0 filesrc location=movie.avi ! decodebin ! videorate ! "video/x-raw,framerate=5/1" ! autovideosink
this will produce a fixed 5 FPS regardless of what the source FPS is, and we dont need to any calculations to do that, is there a way to achieve this on C code for RTSP sources?