Zone Minder is repeating frames
Zone Minder is repeating frames
Hello friends ,
I have got a very strange problem as ZM is not storing frames in correct order.
The Time Delta of these frames shows the order is not correct(i.e. the frames which occured earlier is stored after some frames.)The time of occurence of these frames is also not in proper order.
I am pasting the Frame listing of such an event.
Frame Id Alarm Frame Time Stamp Time Delta Score
1 No 16:44:05 -1.00 0
2 No 16:44:05 -0.94 0
3 No 16:44:05 -0.91 0
4 No 16:44:05 -0.84 0
5 No 16:44:05 -0.81 0
6 No 16:44:05 -0.74 0
7 No 16:44:05 -0.71 0
8 No 16:44:05 -0.64 0
9 No 16:44:05 -0.61 0
10 No 16:44:06 -0.52 0
11 No 16:44:06 -0.50 0
12 No 16:44:06 -0.43 0
13 No 16:44:06 -0.40 0
14 No 16:44:06 -0.33 0
15 No 16:44:06 -0.30 0
16 No 16:44:06 -0.23 0
17 No 16:44:06 -0.20 0
18 No 16:44:06 -0.13 0
19 No 16:44:06 -0.10 0
20 No 16:44:06 -0.03 0
21 Yes 16:44:06 0.00 1
22 No 16:44:06 0.10 0
23 No 16:44:06 0.26 0
24 No 16:44:06 0.36 0
25 No 16:44:06 0.40 0
26 Yes 16:44:07 0.51 1
27 Yes 16:44:07 0.57 1
28 No 16:44:06 -0.36 0
29 No 16:44:07 0.71 0
30 No 16:44:07 0.77 0
31 No 16:44:07 0.81 0
32 No 16:44:07 0.87 0
33 No 16:44:06 0.23 0
34 No 16:44:07 1.00 0
35 No 16:44:07 0.54 0
36 No 16:44:07 1.20 0
37 No 16:44:06 -0.03 0
38 No 16:44:06 0.16 0
39 No 16:44:06 0.30 0
40 No 16:44:07 0.51 0
41 No 16:44:07 0.61 0
42 No 16:44:07 0.71 0
43 No 16:44:07 0.87 0
44 No 16:44:07 0.97 0
45 No 16:44:07 1.06 0
46 No 16:44:07 1.23 0
47 No 16:44:07 1.36 0
Look at frame no 28 and 33 .These frames are not at proper place.
Please help me find the solution of this problem.
Thanks,
Mahendra
________
medical marijuana card
I have got a very strange problem as ZM is not storing frames in correct order.
The Time Delta of these frames shows the order is not correct(i.e. the frames which occured earlier is stored after some frames.)The time of occurence of these frames is also not in proper order.
I am pasting the Frame listing of such an event.
Frame Id Alarm Frame Time Stamp Time Delta Score
1 No 16:44:05 -1.00 0
2 No 16:44:05 -0.94 0
3 No 16:44:05 -0.91 0
4 No 16:44:05 -0.84 0
5 No 16:44:05 -0.81 0
6 No 16:44:05 -0.74 0
7 No 16:44:05 -0.71 0
8 No 16:44:05 -0.64 0
9 No 16:44:05 -0.61 0
10 No 16:44:06 -0.52 0
11 No 16:44:06 -0.50 0
12 No 16:44:06 -0.43 0
13 No 16:44:06 -0.40 0
14 No 16:44:06 -0.33 0
15 No 16:44:06 -0.30 0
16 No 16:44:06 -0.23 0
17 No 16:44:06 -0.20 0
18 No 16:44:06 -0.13 0
19 No 16:44:06 -0.10 0
20 No 16:44:06 -0.03 0
21 Yes 16:44:06 0.00 1
22 No 16:44:06 0.10 0
23 No 16:44:06 0.26 0
24 No 16:44:06 0.36 0
25 No 16:44:06 0.40 0
26 Yes 16:44:07 0.51 1
27 Yes 16:44:07 0.57 1
28 No 16:44:06 -0.36 0
29 No 16:44:07 0.71 0
30 No 16:44:07 0.77 0
31 No 16:44:07 0.81 0
32 No 16:44:07 0.87 0
33 No 16:44:06 0.23 0
34 No 16:44:07 1.00 0
35 No 16:44:07 0.54 0
36 No 16:44:07 1.20 0
37 No 16:44:06 -0.03 0
38 No 16:44:06 0.16 0
39 No 16:44:06 0.30 0
40 No 16:44:07 0.51 0
41 No 16:44:07 0.61 0
42 No 16:44:07 0.71 0
43 No 16:44:07 0.87 0
44 No 16:44:07 0.97 0
45 No 16:44:07 1.06 0
46 No 16:44:07 1.23 0
47 No 16:44:07 1.36 0
Look at frame no 28 and 33 .These frames are not at proper place.
Please help me find the solution of this problem.
Thanks,
Mahendra
________
medical marijuana card
Last edited by mahendrar on Fri Feb 04, 2011 9:11 am, edited 1 time in total.
- zoneminder
- Site Admin
- Posts: 5215
- Joined: Wed Jul 09, 2003 2:07 pm
- Location: Bristol, UK
- Contact:
Some Log Messages
Phil,
My configuration is as following:
Distribution--->Fedora core 3.
ZM version---->zm-1.21.3.
I am using BTTV card.
I have not made any changes in zm.
I am pasting some lines from /var/log/messsages.
Oct 21 03:15:16 ns1 zmc_d0[3050]: WAR [Buffer overrun at index 36 ]
Oct 21 03:15:16 ns1 zma_m1[3058]: WAR [Approaching buffer overrun, consider increasing ring buffer size]
Oct 21 03:15:16 ns1 zmc_d0[3050]: WAR [Buffer overrun at index 5 ]
Oct 21 03:15:16 ns1 zma_m1[3058]: WAR [Approaching buffer overrun, consider increasing ring buffer size]
Oct 21 03:15:16 ns1 zmc_d0[3050]: WAR [Buffer overrun at index 7 ]
Oct 21 03:15:16 ns1 zma_m1[3058]: WAR [Approaching buffer overrun, consider increasing ring buffer size]
Oct 21 03:15:16 ns1 zmc_d0[3050]: WAR [Buffer overrun at index 9 ]
Oct 21 03:15:17 ns1 zma_m1[3058]: WAR [Approaching buffer overrun, consider increasing ring buffer size]
Oct 21 03:15:17 ns1 zmc_d0[3050]: WAR [Buffer overrun at index 11 ]
########################################################
I am using Image buffer count as 40
Pre Event buffer count as 20 and post event count as 20.
Please telll me when ZM generate these warnings.
When i went through ZM code i found that when the value of index is same as the value of last frame index then this warning is genrated.
Thanks in advance.
Mahendra.
________
Honda Dualnote
My configuration is as following:
Distribution--->Fedora core 3.
ZM version---->zm-1.21.3.
I am using BTTV card.
I have not made any changes in zm.
I am pasting some lines from /var/log/messsages.
Oct 21 03:15:16 ns1 zmc_d0[3050]: WAR [Buffer overrun at index 36 ]
Oct 21 03:15:16 ns1 zma_m1[3058]: WAR [Approaching buffer overrun, consider increasing ring buffer size]
Oct 21 03:15:16 ns1 zmc_d0[3050]: WAR [Buffer overrun at index 5 ]
Oct 21 03:15:16 ns1 zma_m1[3058]: WAR [Approaching buffer overrun, consider increasing ring buffer size]
Oct 21 03:15:16 ns1 zmc_d0[3050]: WAR [Buffer overrun at index 7 ]
Oct 21 03:15:16 ns1 zma_m1[3058]: WAR [Approaching buffer overrun, consider increasing ring buffer size]
Oct 21 03:15:16 ns1 zmc_d0[3050]: WAR [Buffer overrun at index 9 ]
Oct 21 03:15:17 ns1 zma_m1[3058]: WAR [Approaching buffer overrun, consider increasing ring buffer size]
Oct 21 03:15:17 ns1 zmc_d0[3050]: WAR [Buffer overrun at index 11 ]
########################################################
I am using Image buffer count as 40
Pre Event buffer count as 20 and post event count as 20.
Please telll me when ZM generate these warnings.
When i went through ZM code i found that when the value of index is same as the value of last frame index then this warning is genrated.
Thanks in advance.
Mahendra.
________
Honda Dualnote
Last edited by mahendrar on Fri Feb 04, 2011 9:11 am, edited 1 time in total.
-
- Posts: 5111
- Joined: Wed Jun 08, 2005 8:07 pm
- Location: Midlands UK
WAR [Approaching buffer overrun, consider increasing ring buffer size]
have you tried increasing the ring buffer size above 40 to say 60
have you tried increasing the ring buffer size above 40 to say 60
James Wilson
Disclaimer: The above is pure theory and may work on a good day with the wind behind it. etc etc.
http://www.securitywarehouse.co.uk
Disclaimer: The above is pure theory and may work on a good day with the wind behind it. etc etc.
http://www.securitywarehouse.co.uk
- zoneminder
- Site Admin
- Posts: 5215
- Joined: Wed Jul 09, 2003 2:07 pm
- Location: Bristol, UK
- Contact:
Thanks phil for ur reply,
But i want to know the exact reason why this problem is occuring.Is there any memory leak in one of the Components of ZM.
________
roll blunts
But i want to know the exact reason why this problem is occuring.Is there any memory leak in one of the Components of ZM.
________
roll blunts
Last edited by mahendrar on Fri Feb 04, 2011 9:11 am, edited 1 time in total.
-
- Posts: 5111
- Joined: Wed Jun 08, 2005 8:07 pm
- Location: Midlands UK
A buffer overrun usually means that your system cannot handle the framerate you are asking of it. you can either drop the frame reate or increase the buffers. Because its overuning its having to restart so this would cause your frames to be out of sync. Fix the overrun issue and your frames should be correct
James Wilson
Disclaimer: The above is pure theory and may work on a good day with the wind behind it. etc etc.
http://www.securitywarehouse.co.uk
Disclaimer: The above is pure theory and may work on a good day with the wind behind it. etc etc.
http://www.securitywarehouse.co.uk
Thanks for your reply,
I am capturing at 10 fps and zma is processing at the speed of 55.
Can you please tell me where can i configure the fps for zma(processing)
Thanks in advance,
________
vaporgenie vaporizer
I am capturing at 10 fps and zma is processing at the speed of 55.
Can you please tell me where can i configure the fps for zma(processing)
Thanks in advance,
________
vaporgenie vaporizer
Last edited by mahendrar on Fri Feb 04, 2011 9:11 am, edited 1 time in total.
- zoneminder
- Site Admin
- Posts: 5215
- Joined: Wed Jul 09, 2003 2:07 pm
- Location: Bristol, UK
- Contact:
Hello phil,
These are some lines from /var/log/messages:
Nov 8 03:04:09 nfs zmc_m1[26606]: INF [New: 111000 - Capturing at 12.82 fps]
Nov 8 03:04:09 nfs zma_m1[26727]: WAR [Approaching buffer overrun, consider increasing ring buffer size]
Nov 8 03:04:09 nfs zmc_d0[26719]: WAR [Buffer overrun at index 30 ]
Nov 8 03:04:09 nfs zma_m1[26727]: WAR [Approaching buffer overrun, consider increasing ring buffer size]
Nov 8 03:04:10 nfs zmc_d0[26719]: WAR [Buffer overrun at index 0 ]
Nov 8 03:04:11 nfs zma_m1[26727]: INF [New: 19600 - Processing at 57.14 fps]
I have set the maximum fps as 10.00 in my monitor's configuration.
Thanks in advance.
________
Plymouth Deluxe
These are some lines from /var/log/messages:
Nov 8 03:04:09 nfs zmc_m1[26606]: INF [New: 111000 - Capturing at 12.82 fps]
Nov 8 03:04:09 nfs zma_m1[26727]: WAR [Approaching buffer overrun, consider increasing ring buffer size]
Nov 8 03:04:09 nfs zmc_d0[26719]: WAR [Buffer overrun at index 30 ]
Nov 8 03:04:09 nfs zma_m1[26727]: WAR [Approaching buffer overrun, consider increasing ring buffer size]
Nov 8 03:04:10 nfs zmc_d0[26719]: WAR [Buffer overrun at index 0 ]
Nov 8 03:04:11 nfs zma_m1[26727]: INF [New: 19600 - Processing at 57.14 fps]
I have set the maximum fps as 10.00 in my monitor's configuration.
Thanks in advance.
________
Plymouth Deluxe
Last edited by mahendrar on Fri Feb 04, 2011 9:11 am, edited 1 time in total.
- zoneminder
- Site Admin
- Posts: 5215
- Joined: Wed Jul 09, 2003 2:07 pm
- Location: Bristol, UK
- Contact:
Hi Phil,
I did not change the ring buffer size(Image Buffer Count).
Thanks
________
vaporizer reviews
I did not change the ring buffer size(Image Buffer Count).
Thanks
________
vaporizer reviews
Last edited by mahendrar on Fri Feb 04, 2011 9:11 am, edited 1 time in total.
- zoneminder
- Site Admin
- Posts: 5215
- Joined: Wed Jul 09, 2003 2:07 pm
- Location: Bristol, UK
- Contact:
Thanks Phil,
But i have restarted my server and i have entered the maximum fps as 10.00 in my monitor.
Please tell me how can i ask my machine to process at the slower fps.
Thnaks and regards,
Mahendra
________
Ferrari F2008 history
But i have restarted my server and i have entered the maximum fps as 10.00 in my monitor.
Please tell me how can i ask my machine to process at the slower fps.
Thnaks and regards,
Mahendra
________
Ferrari F2008 history
Last edited by mahendrar on Fri Feb 04, 2011 9:11 am, edited 1 time in total.
-
- Posts: 5111
- Joined: Wed Jun 08, 2005 8:07 pm
- Location: Midlands UK
put something lower than 10 in the fps in your monitor for example 2
James Wilson
Disclaimer: The above is pure theory and may work on a good day with the wind behind it. etc etc.
http://www.securitywarehouse.co.uk
Disclaimer: The above is pure theory and may work on a good day with the wind behind it. etc etc.
http://www.securitywarehouse.co.uk