Limiting a RTSP stream

Forum for questions and support relating to the 1.28.x releases only.
Locked
abi
Posts: 61
Joined: Fri Oct 23, 2015 11:25 am

Limiting a RTSP stream

Post by abi »

I have a problem when I cap max fps of ffmpeg rtsp stream. Such limiting introduces huge delay (dozens of minutes) in image processing.
For example, I made event on camera at 20:46 min, the frame was written at 21:10 min (after 24 minutes!). As I TIMESTAMP_ON_CAPTURE, this looks very confusing - where it was all this time?

Source is ffmpeg, remote method is RTP/RTSP, source path rtsp://admin:888888@10.0.0.235:10554/tcp/av0_0
Any suggestions? Wiki mentions about problems with MJPEG only, logs have no errors.
PacoLM
Posts: 971
Joined: Wed Dec 02, 2009 9:55 pm
Location: Spain

Re: Limiting a RTSP stream

Post by PacoLM »

Try setting the FPS limit in the camera control side, then leave your Maximum FPS blank. This should do the trick. Also, pay attention to the size of the camera buffers.

Hope it helps,

PacoLM

After more than 15 years, no longer using ZM as surveillance system.
Now in the dark side, using a commercial system...
abi
Posts: 61
Joined: Fri Oct 23, 2015 11:25 am

Re: Limiting a RTSP stream

Post by abi »

Camera has no options.
But I found Frame Skip option. So I use it and set Maximum FPS blank.
Locked