Invalid data found

Forum for questions and support relating to the 1.34.x releases only.
Post Reply
hareti
Posts: 3
Joined: Tue Apr 14, 2020 5:08 pm

Invalid data found

Post by hareti »

Hi, I recently upgraded to Zoneminder 1.34.9 running on Ubuntu server 18.04.4 and with two IP cameras, both Lorex models LNB3143RB. Before the upgrade, the system worked perfectly but I'm having some problems now.

On the console, the camera text regularly changes to red and the frame rate drops, sometimes going to zero, when the function status switches to "Not Capturing".
The recorded events are very short. Both cameras are in mocord mode with a section length of 600 seconds. Before the upgrade, each event was always 600 seconds long, as expected.

The log is filled with hundreds of errors :
ERR-zm_ffmpeg_camera.cpp/241 [Unable to read packet from stream 0: error -1094995529 "Invalid data found when processing input".]
interspersed with :
2020-04-13 20:50:13.116390 zmdc[802].WAR-zmdc.pl [Can't find process with command of 'zmc -m 2']
2020-04-13 20:50:12.810690 zmwatch[859].ERR-zmwatch.pl [Memory map file '/dev/shm/zm.mmap.2' should have been 1160 but was instead 0]
2020-04-13 20:50:12.108770 zmdc[802].ERR-zmdc.pl ['zma -m 2' exited abnormally, exit status 255]
I've tried playing around with the camera settings, they are currently set to mjpeg encode mode (other options are H.264, plain, B and H) and 10 frames per second. I've tried reducing the frame rate and resolutions (matching in the camera settings and Zoneminder source config) with no improvement.

In Zoneminder the cameras are configured as Ffmpeg source types with the Method set to TCP.

Any suggestions as to where I might start to troubleshoot this ?
User avatar
iconnor
Posts: 3362
Joined: Fri Oct 29, 2010 1:43 am
Location: Toronto
Contact:

Re: Invalid data found

Post by iconnor »

Do you have a MaxFPS or alarm Max FPS set in the monitor? If so, get rid of it.
hareti
Posts: 3
Joined: Tue Apr 14, 2020 5:08 pm

Re: Invalid data found

Post by hareti »

No, both are blank.
User avatar
iconnor
Posts: 3362
Joined: Fri Oct 29, 2010 1:43 am
Location: Toronto
Contact:

Re: Invalid data found

Post by iconnor »

going to need debug logs. Level 3. Go to Options->Logging. Check LOG_DEBUG and LOG_FFMPEG

Did you upgrade anything else in addition to zoneminder? HOw is your cpu load? I've seen that error when there isn't enough cpu to go around.
hareti
Posts: 3
Joined: Tue Apr 14, 2020 5:08 pm

Re: Invalid data found

Post by hareti »

It was a fresh install of Ubuntu server, no other hardware has changed. Load in zoneminder shows 1.1 and top shows 0.97 1.10 1.11

I've tried disabling one of the cameras. The load drops to about 0.6 but the remaining camera still drops out and there's still the "Invalid data found when processing input" regularly.
Post Reply