rtsp ffmpeg connection latency

Forum for questions and support relating to the 1.25.x releases only.
Locked
User avatar
hk_niko
Posts: 36
Joined: Mon Feb 20, 2012 4:29 pm

rtsp ffmpeg connection latency

Post by hk_niko »

Hi all,
I have about 16 cam that open with vlc rtsp viewing them after 15 seconds, while on zoneminder not displayed.
what parameters should I configure?

thx 8)
christophe_y2k
Posts: 102
Joined: Mon Oct 12, 2009 8:47 am
Location: EUROPE-FRANCE-MANDELIEU

Re: rtsp ffmpeg connection latency

Post by christophe_y2k »

Hello,
i think you must first search "shm memory setting" and increase it (that in the ZoneMinder documentation).

After you need to set camera buffer for all camera

Defaut camera buffer:

Image Buffer Size (frames) =50
Warmup Frames =25
Pre Event Image Count =25
Post Event Image Count =500
Stream Replay Image Buffer =1000
Alarm Frame Count = 1

With many camera:

Image Buffer Size (frames) =40 or less
Warmup Frames =25
Pre Event Image Count =20 (maxi = image buffer size / 2)
Post Event Image Count =500
Stream Replay Image Buffer =1000
Alarm Frame Count = 1
User avatar
hk_niko
Posts: 36
Joined: Mon Feb 20, 2012 4:29 pm

Re: rtsp ffmpeg connection latency

Post by hk_niko »

thanks for the reply,
I read the documentation on shmemory but I need some help from those who have already tried and tested everything.
I have a server with a six-core i5, 16gb of ram.
How could I set the shmmax and shmall?

regard! :D
Locked