prabhakar-sivanesan/OpenCV-rtsp-server

How to do variable frame rate.

Closed this issue · 3 comments

This is not really an issue but more of a question.

I see that on this line, you are setting the frame rate.

Do you know how one could go about using a variable framerate?
In my setup, I grab a frame from an RTSP stream, perform some processing, then restream the processed frame as a new RTSP stream.

The issue is that the processing I perform can vary based on the image received from the RTSP stream and hence is not a constant time, so it's therefore not possible to achieved a fixed frame rate.

Hi @cyrusbehr , I'm facing the same problem with you. By the way, any updates for this issue?