Record only records nothing

Previous development branch now released as 1.36
Locked
davorin
Posts: 18
Joined: Thu Dec 10, 2020 7:43 am

Record only records nothing

Post by davorin »

Good evening

Installed ZM 1.35.16 on Ubuntu 20.04 now and added a monitor for a Reolink camera as record only with h264 pass through writer...

But I see nothing is recorded at all.
5409E5D1-E788-43E4-950F-9CDBEE09750D.jpeg
5409E5D1-E788-43E4-950F-9CDBEE09750D.jpeg (384.81 KiB) Viewed 2761 times
Any hints?

thanx in advance
richard
dougmccrary
Posts: 1322
Joined: Sat Aug 31, 2019 7:35 am
Location: San Diego

Re: Record only records nothing

Post by dougmccrary »

Does www-data have write permissions on the drive path?
davorin
Posts: 18
Joined: Thu Dec 10, 2020 7:43 am

Re: Record only records nothing

Post by davorin »

Yes it does:

Code: Select all

total 16
drwxr-xr-x 2 www-data www-data 4096 Dez 16 20:48 cache
drwxr-xr-x 3 www-data www-data 4096 Dez 16 15:17 events
drwxr-xr-x 2 www-data www-data 4096 Dez 15 15:35 images
drwxr-xr-x 2 www-data www-data 4096 Dez 15 15:35 temp
klingler@zm:~$ ls -l /var/cache/zoneminder/events/
total 4
drwxr-xr-x 2 www-data www-data 4096 Dez 16 15:17 4
lrwxrwxrwx 1 www-data www-data    1 Dez 16 15:17 Hobby -> 4
User avatar
iconnor
Posts: 3197
Joined: Fri Oct 29, 2010 1:43 am
Location: Toronto
Contact:

Re: Record only records nothing

Post by iconnor »

So I just spun up a clean test environment with Dec 15's snapshot. Setup went smooth and my recording monitor is recording fine. Events are being created.

So I was hoping there was a typo in the db creation script or something but it seems that is not the case.

So I'm stumped. Turn on debug logging and lets what's happening.

Please note that permissions problems would not stop db entries from being created.
davorin
Posts: 18
Joined: Thu Dec 10, 2020 7:43 am

Re: Record only records nothing

Post by davorin »

Hmm...okidoki...

BTW: what does the orange dot means in the monitor?


cheers
richard
davorin
Posts: 18
Joined: Thu Dec 10, 2020 7:43 am

Re: Record only records nothing

Post by davorin »

Did now a complete fresh install with Ubuntu server 20.04.1 and added the zoneminder-master repository...
This time had no database errors during install...might be it comes back when doing an upgrade...anyway...

Added a 640x480 @15fps sub stream...in record only mode...but still no recording done...


And again I don't know what the orange bullet means in the monitor overview...

Log shows nothing suspicious:

Code: Select all

2020-12-22 14:08:08	zma_m7		74838	INF	Garten: 1600 - Analysing at 7.14 fps	zm_monitor.cpp	1350
2020-12-22 14:08:00	zmc_m7		74775	INF	Garten: images:2300 - Capturing at 10.00 fps, capturing bandwidth 53145bytes/sec	zm_monitor.cpp	2633
2020-12-22 14:07:54	zma_m7		74838	INF	Garten: 1500 - Analysing at 7.14 fps	zm_monitor.cpp	1350
2020-12-22 14:07:50	zmc_m7		74775	INF	Garten: images:2200 - Capturing at 10.00 fps, capturing bandwidth 55097bytes/sec	zm_monitor.cpp	2633
Giving up now on zomeminder....
User avatar
iconnor
Posts: 3197
Joined: Fri Oct 29, 2010 1:43 am
Location: Toronto
Contact:

Re: Record only records nothing

Post by iconnor »

Step 1 when trying out zoneminder: Don't start with bleeding edge development builds
Step 2 when something doesn't work right: turn on debug mode Options->Logging->LOG_DEBUG

You are obviously trying out the brand new no decoding option... but that SHOULDN'T be a problem. I've tested this mode. Works for ME!

Maybe post screen shots of your monitor settings.
davorin
Posts: 18
Joined: Thu Dec 10, 2020 7:43 am

Re: Record only records nothing

Post by davorin »

Hmm...debugging was already on...though see only informational logs....

Here the screenshots of my monitor settings:
monitor_1.png
monitor_1.png (69.22 KiB) Viewed 2647 times
monitor_2.png
monitor_2.png (44.07 KiB) Viewed 2647 times
monitor_3.png
monitor_3.png (36.64 KiB) Viewed 2647 times

Well seems I have to reinstall Ubuntu server and then install 1.34 (o;
dougmccrary
Posts: 1322
Joined: Sat Aug 31, 2019 7:35 am
Location: San Diego

Re: Record only records nothing

Post by dougmccrary »

RTMP?
Have you tried rtsp?
User avatar
iconnor
Posts: 3197
Joined: Fri Oct 29, 2010 1:43 am
Location: Toronto
Contact:

Re: Record only records nothing

Post by iconnor »

I think the issue is that analysis has to be enabled. It's confusing. I thought I did a good job of explaining it in this text but I failed.

The analysis process is what says "Ok now we have an event". So it needs to be running.

So check the ANalysis checkbox and all your problems will be solved. Except for the other problems.
davorin
Posts: 18
Joined: Thu Dec 10, 2020 7:43 am

Re: Record only records nothing

Post by davorin »

Ah okay..that was it.....it is recording now..and zmc uses around 4 - 6%...

Starts recording at 20fps but then drops to around 2 - 3fps as it is now analyzing..and in the video nothing is recognizable...
I assume just recording 2560x1920 @20fps is way too much....

Code: Select all

2020-12-23 10:36:20	zma_m1		36469	INF	Garten: 700 - Analysing at 2.78 fps
2020-12-23 10:36:20	zmc_m1		36465	INF	Garten: images:700 - Capturing at 2.78 fps, capturing bandwidth 94424bytes/sec
2020-12-23 10:35:44	zma_m1		36469	INF	Garten: 600 - Analysing at 3.57 fps
2020-12-23 10:35:44	zmc_m1		36465	INF	Garten: images:600 - Capturing at 3.57 fps, capturing bandwidth 117452bytes/sec
2020-12-23 10:35:16	zma_m1		36469	INF	Garten: 500 - Analysing at 3.23 fps
2020-12-23 10:35:16	zmc_m1		36465	INF	Garten: images:500 - Capturing at 3.23 fps, capturing bandwidth 163664bytes/sec
And what bugs me is that it always asks me to increase buffer size:

Code: Select all

ImageBufferCount 20 is too small. Needs to be at least 41
Then I set it to 50, but then again:

Code: Select all

ImageBufferCount 50 is too small. Needs to be at least 161

thanks in advance
richard
dougmccrary
Posts: 1322
Joined: Sat Aug 31, 2019 7:35 am
Location: San Diego

Re: Record only records nothing

Post by dougmccrary »

"And what bugs me is that it always asks me to increase buffer size:"

Yeah, it usually stops after two or three rounds...and once it stops asking, sometimes you can trim it a bit. Especially with multiple cameras.
Locked