zm_videostore.cpp warning on 1.36.18, was also present on 1.36.17

Discussions related to the 1.36.x series of ZoneMinder
User avatar
Andyrh
Posts: 247
Joined: Sat Oct 28, 2017 3:55 am

Re: zm_videostore.cpp warning on 1.36.18, was also present on 1.36.17

Post by Andyrh »

Ok, I will experiment for a while with camera and ZM settings and see if hit the magic fix. With a cycle time of about an hour it will take a while.
Andy
o||||o

Ubuntu 22.04
ZM 1.36.33
E5-1650-v4 Xeon
16 GB RAM
6 cameras -> 54 FPS modect
User avatar
Andyrh
Posts: 247
Joined: Sat Oct 28, 2017 3:55 am

Re: zm_videostore.cpp warning on 1.36.18, was also present on 1.36.17

Post by Andyrh »

Update:
I changed reorder_queue_size to 400 and now the events are about 25 hours apart.
I have moved on to changing things on the camera.
Andy
o||||o

Ubuntu 22.04
ZM 1.36.33
E5-1650-v4 Xeon
16 GB RAM
6 cameras -> 54 FPS modect
User avatar
iconnor
Posts: 2904
Joined: Fri Oct 29, 2010 1:43 am
Location: Toronto
Contact:

Re: zm_videostore.cpp warning on 1.36.18, was also present on 1.36.17

Post by iconnor »

Yeah I havn't found a setting that fixes it. I also have identical cameras with identical firmware settings etc and one does it and the other doesn't.

I think I'm going to have to figure out how to best deal with it in zm...

Isaac
User avatar
Andyrh
Posts: 247
Joined: Sat Oct 28, 2017 3:55 am

Re: zm_videostore.cpp warning on 1.36.18, was also present on 1.36.17

Post by Andyrh »

I have so far made the error go away. On the camera I disabled the audio portion of the stream. There is no mic on this camera.
With audio on and reorder_queue_size=400 the errors occur about ever 25 hours. Without setting reorder_queue_size the errors occur every 30 - 60 minutes.
With audio off at the source and reorder_queue_size not set the errors have not repeated in 36 hours. I tested by enabling the audio on the camera and the errors returned to the 30-60 minute schedule.

One oddity, when I make a change to the camera settings a set of 6 of the errors occur, but they have not repeated. Monitor setting changes do not produce the errors.
 
This particular camera is a IP4M-1028EW running software version 2.420.AC01.3.R, Build Date: 2018-02-06. That is the newest version.
The hires feed did not have audio enable and has not generated the errors.

I hope the details help someone.
Andy
o||||o

Ubuntu 22.04
ZM 1.36.33
E5-1650-v4 Xeon
16 GB RAM
6 cameras -> 54 FPS modect
User avatar
iconnor
Posts: 2904
Joined: Fri Oct 29, 2010 1:43 am
Location: Toronto
Contact:

Re: zm_videostore.cpp warning on 1.36.18, was also present on 1.36.17

Post by iconnor »

Darn... the cameras I have that do this do not have audio turned on.
User avatar
Andyrh
Posts: 247
Joined: Sat Oct 28, 2017 3:55 am

Re: zm_videostore.cpp warning on 1.36.18, was also present on 1.36.17

Post by Andyrh »

Now that most of the noise is cleared, I have 3 cameras that are generating the messages. They all did it at the weekly restart.

If I run across anything new, I will post it.

Code: Select all

11/21/23, 12:18:21 AM CST	zmc_m7		3761445	WAR	pkt.dts(0) must be <= pkt.pts(-18000).Decompression must happen before presentation.	zm_videostore.cpp	1409
11/21/23, 12:18:21 AM CST	zmc_m7		3761445	WAR	non increasing dts, fixing. our dts -18000 stream 0 last_dts 0. reorder_queue_size=0	zm_videostore.cpp	1398
11/21/23, 12:18:21 AM CST	zmc_m7		3761445	WAR	pkt.dts(0) must be <= pkt.pts(-36000).Decompression must happen before presentation.	zm_videostore.cpp	1409
11/21/23, 12:18:21 AM CST	zmc_m7		3761445	WAR	non increasing dts, fixing. our dts -36000 stream 0 last_dts 0. reorder_queue_size=0	zm_videostore.cpp	1398
11/21/23, 12:18:21 AM CST	zmc_m7		3761445	WAR	pkt.dts(0) must be <= pkt.pts(-54000).Decompression must happen before presentation.	zm_videostore.cpp	1409
11/21/23, 12:18:21 AM CST	zmc_m7		3761445	WAR	non increasing dts, fixing. our dts -54000 stream 0 last_dts 0. reorder_queue_size=0	zm_videostore.cpp	1398
11/21/23, 12:18:21 AM CST	zmc_m7		3761445	WAR	pkt.dts(0) must be <= pkt.pts(-72000).Decompression must happen before presentation.	zm_videostore.cpp	1409
11/21/23, 12:18:21 AM CST	zmc_m7		3761445	WAR	non increasing dts, fixing. our dts -72000 stream 0 last_dts 0. reorder_queue_size=0	zm_videostore.cpp	1398
11/21/23, 12:18:21 AM CST	zmc_m7		3761445	WAR	pkt.dts(0) must be <= pkt.pts(-90000).Decompression must happen before presentation.	zm_videostore.cpp	1409
11/21/23, 12:18:21 AM CST	zmc_m7		3761445	WAR	non increasing dts, fixing. our dts -90000 stream 0 last_dts 0. reorder_queue_size=0	zm_videostore.cpp	1398
11/21/23, 12:18:21 AM CST	zmc_m8		3761444	WAR	pkt.dts(0) must be <= pkt.pts(-18000).Decompression must happen before presentation.	zm_videostore.cpp	1409
11/21/23, 12:18:21 AM CST	zmc_m8		3761444	WAR	non increasing dts, fixing. our dts -18000 stream 0 last_dts 0. reorder_queue_size=0	zm_videostore.cpp	1398
11/21/23, 12:18:21 AM CST	zmc_m8		3761444	WAR	pkt.dts(0) must be <= pkt.pts(-36000).Decompression must happen before presentation.	zm_videostore.cpp	1409
11/21/23, 12:18:21 AM CST	zmc_m8		3761444	WAR	non increasing dts, fixing. our dts -36000 stream 0 last_dts 0. reorder_queue_size=0	zm_videostore.cpp	1398
11/21/23, 12:18:21 AM CST	zmc_m8		3761444	WAR	pkt.dts(0) must be <= pkt.pts(-54000).Decompression must happen before presentation.	zm_videostore.cpp	1409
11/21/23, 12:18:21 AM CST	zmc_m8		3761444	WAR	non increasing dts, fixing. our dts -54000 stream 0 last_dts 0. reorder_queue_size=0	zm_videostore.cpp	1398
11/21/23, 12:18:21 AM CST	zmc_m8		3761444	WAR	pkt.dts(0) must be <= pkt.pts(-72000).Decompression must happen before presentation.	zm_videostore.cpp	1409
11/21/23, 12:18:21 AM CST	zmc_m8		3761444	WAR	non increasing dts, fixing. our dts -72000 stream 0 last_dts 0. reorder_queue_size=0	zm_videostore.cpp	1398
11/21/23, 12:18:21 AM CST	zmc_m8		3761444	WAR	pkt.dts(0) must be <= pkt.pts(-90000).Decompression must happen before presentation.	zm_videostore.cpp	1409
11/21/23, 12:18:21 AM CST	zmc_m8		3761444	WAR	non increasing dts, fixing. our dts -90000 stream 0 last_dts 0. reorder_queue_size=0	zm_videostore.cpp	1398
11/21/23, 12:18:21 AM CST	zmc_m9		3761439	WAR	pkt.dts(0) must be <= pkt.pts(-18000).Decompression must happen before presentation.	zm_videostore.cpp	1409
11/21/23, 12:18:21 AM CST	zmc_m9		3761439	WAR	non increasing dts, fixing. our dts -18000 stream 0 last_dts 0. reorder_queue_size=0	zm_videostore.cpp	1398
11/21/23, 12:18:21 AM CST	zmc_m9		3761439	WAR	pkt.dts(0) must be <= pkt.pts(-36000).Decompression must happen before presentation.	zm_videostore.cpp	1409
11/21/23, 12:18:21 AM CST	zmc_m9		3761439	WAR	non increasing dts, fixing. our dts -36000 stream 0 last_dts 0. reorder_queue_size=0	zm_videostore.cpp	1398
11/21/23, 12:18:21 AM CST	zmc_m9		3761439	WAR	pkt.dts(0) must be <= pkt.pts(-54000).Decompression must happen before presentation.	zm_videostore.cpp	1409
11/21/23, 12:18:21 AM CST	zmc_m9		3761439	WAR	non increasing dts, fixing. our dts -54000 stream 0 last_dts 0. reorder_queue_size=0	zm_videostore.cpp	1398
11/21/23, 12:18:21 AM CST	zmc_m9		3761439	WAR	pkt.dts(0) must be <= pkt.pts(-72000).Decompression must happen before presentation.	zm_videostore.cpp	1409
11/21/23, 12:18:21 AM CST	zmc_m9		3761439	WAR	non increasing dts, fixing. our dts -72000 stream 0 last_dts 0. reorder_queue_size=0	zm_videostore.cpp	1398
11/21/23, 12:18:21 AM CST	zmc_m9		3761439	WAR	pkt.dts(0) must be <= pkt.pts(-90000).Decompression must happen before presentation.	zm_videostore.cpp	1409
11/21/23, 12:18:21 AM CST	zmc_m9		3761439	WAR	non increasing dts, fixing. our dts -90000 stream 0 last_dts 0. reorder_queue_size=0	zm_videostore.cpp	1398
Andy
o||||o

Ubuntu 22.04
ZM 1.36.33
E5-1650-v4 Xeon
16 GB RAM
6 cameras -> 54 FPS modect
breadjamez
Posts: 1
Joined: Fri Dec 01, 2023 4:30 pm

Re: zm_videostore.cpp warning on 1.36.18, was also present on 1.36.17

Post by breadjamez »

I'm pretty sure I started noticing these errors filling the web log in 1.36.16; because everything's ostensibly still working, I haven't bothered to troubleshoot it myself. indigocard activate
roblox exploit
Last edited by breadjamez on Wed Dec 20, 2023 10:52 am, edited 1 time in total.
User avatar
Andyrh
Posts: 247
Joined: Sat Oct 28, 2017 3:55 am

Re: zm_videostore.cpp warning on 1.36.18, was also present on 1.36.17

Post by Andyrh »

I have found a work around.
I went on the assumption that the frames may be arriving too fast or the camera is not keeping up and making a mess of the frames. I changed the network ports on the 3 affected camera to 10/half with reorder_queue_size=40. After making the changes to all three cameras I am now no longer able to reproduce the problem. I was able to reproduce the issue by changing a setting on the cameras.

I do not know if this will help find the issue or suggest a better fix.

For those worried about the lower speed being a problem check the math, 10Mb/s should be plenty for many cameras. My 8MP camera is sending 3 streams, 2 to ZM and 1 to the Amcrest app. (1 hi-res, 2 low-res) This totals about 950kB/s (numbers from ZM) or 7.6Mb/s leaving some head room.
Andy
o||||o

Ubuntu 22.04
ZM 1.36.33
E5-1650-v4 Xeon
16 GB RAM
6 cameras -> 54 FPS modect
User avatar
iconnor
Posts: 2904
Joined: Fri Oct 29, 2010 1:43 am
Location: Toronto
Contact:

Re: zm_videostore.cpp warning on 1.36.18, was also present on 1.36.17

Post by iconnor »

I may have found a fix. I was incorrectly determining keyframe interval using the audio stream if present. So it should guess the keyframe interval better now...
Post Reply