No recording, Mode Record, Analysis/Decoding disabled

Previous development branch now released as 1.36
Locked
trumee
Posts: 69
Joined: Tue Mar 08, 2011 3:33 pm

No recording, Mode Record, Analysis/Decoding disabled

Post by trumee »

Hello,

I want to record 24x7 a 1080p camera with Decoding disabled to save CPU. I have disabled Analysis and Decoding in the camera settings. Unfortunately, the camera does not record at all. There is no event appearing in the webui. The log file seem to indicate that it is recording, however there are recording in the events folder.


Code: Select all

# tail -5  /var/log/zm/zmc_m2.log
01/23/21 14:10:14.940009 zmc_m2[25070].INF-zm_monitor.cpp/2640 [MainGateHD-1: images:317300 - Capturing at 20.00 fps, capturing bandwidth 357605bytes/sec]
01/23/21 14:10:19.939809 zmc_m2[25070].INF-zm_monitor.cpp/2640 [MainGateHD-1: images:317400 - Capturing at 20.00 fps, capturing bandwidth 439793bytes/sec]
01/23/21 14:10:24.938798 zmc_m2[25070].INF-zm_monitor.cpp/2640 [MainGateHD-1: images:317500 - Capturing at 20.00 fps, capturing bandwidth 262148bytes/sec]
01/23/21 14:10:29.940063 zmc_m2[25070].INF-zm_monitor.cpp/2640 [MainGateHD-1: images:317600 - Capturing at 20.00 fps, capturing bandwidth 399289bytes/sec]

Code: Select all

# tail -5  /var/log/zm/zma_m2.log
01/23/21 14:10:45.690234 zma_m2[25074].INF-zm_monitor.cpp/1356 [MainGateHD-1: 317900 - Analysing at 20.00 fps]
01/23/21 14:10:50.692336 zma_m2[25074].INF-zm_monitor.cpp/1356 [MainGateHD-1: 318000 - Analysing at 20.00 fps]
01/23/21 14:10:55.694244 zma_m2[25074].INF-zm_monitor.cpp/1356 [MainGateHD-1: 318100 - Analysing at 20.00 fps]
01/23/21 14:11:00.696123 zma_m2[25074].INF-zm_monitor.cpp/1356 [MainGateHD-1: 318200 - Analysing at 20.00 fps]
If i change the camera to Modect then it works correctly. So i am guessing there is some issue in Record mode.
dougmccrary
Posts: 1214
Joined: Sat Aug 31, 2019 7:35 am
Location: San Diego

Re: No recording, Mode Record, Analysis/Decoding disabled

Post by dougmccrary »

Read the description.
MoDect is what to use, if I got what you want.
trumee
Posts: 69
Joined: Tue Mar 08, 2011 3:33 pm

Re: No recording, Mode Record, Analysis/Decoding disabled

Post by trumee »

With 1.34.x I used to use zmrecord script as described here.

@iconnor mentioned that the script is no longer required in 1.35.x. Thus i setup a camera in 'Record' mode and disabled decoding. I dont want to use Modect on this high resolution camera, and only want to record a stream 24x7 without analysis/decoding (akin to directly storing using ffmpeg).
trumee
Posts: 69
Joined: Tue Mar 08, 2011 3:33 pm

Re: No recording, Mode Record, Analysis/Decoding disabled

Post by trumee »

Nevermind, i had a filter which was deleting the events. Upgrading from 1.34.x to 1.35.x messed up my filter logic.

Also, I enabled 'Analysis' on the cameras. They seem to be behaving now.

One thing, I miss from the 'zmrecord' script is that you could directly download the mp4. In 1.35.x method, i have to first download a zip/tar and then extract it to get to the video.
Locked