Page 1 of 1

New install RPi - `'zmc -m 1' exits abnormally when camera defined

Posted: Tue Jul 13, 2021 9:11 am
by scheen
Hi All

I'm new the ZM...

Installed for the first time ZM 1.36 on RPi 4b 8GB with 480GB SSD according to the latest Debian guide https://wiki.zoneminder.com/Debian_10_B ... om_ZM_Repo
Install worked fine.

I have one camera (TP-Link Tapo TC70). I can stream with ffmpeg on the CMDL with `ffmpeg -i "rtsp://user:pass@192.168.xxx.xxx:554/stream1" out.mp4` without problems.

However, in ZM, when I add the camera in the Console as an FFMPEG device, leaving everything empty expect for the Source path to `rtsp://user:pass@192.168.xxx.xxx:554/stream1` and setting resolution to 1920x1080, then

I get an error in the logs `'zmc -m 1' exited abnormally, exit status 255`. ZM is also not able to stream from the camera.

How can I debug this further, to understand what is going on? Or maybe someone has the cure to this right away?

Many thanks
S

Re: New install RPi - `'zmc -m 1' exits abnormally when camera defined

Posted: Tue Jul 13, 2021 3:12 pm
by burger
RPI may not be able to do 1920x1080. Try lowering the resolution / framerate.

It's not just recording a video, it's also trying to do motion detection (mathematical analysis of the stream) which
requires a powerful CPU.

See this page:
https://wiki.zoneminder.com/Single_Board_Computers

Re: New install RPi - `'zmc -m 1' exits abnormally when camera defined

Posted: Tue Jul 13, 2021 4:00 pm
by scheen
Thank you for the suggestion.

I changed it to 640x360 and monitor only.

Sadly, that still fails - however with a different error message:
'zmc -m 2' exited abnormally, exit status 255

What else can I do to get more useful error output?

Re: New install RPi - `'zmc -m 1' exits abnormally when camera defined

Posted: Wed Jul 14, 2021 2:47 am
by iconnor
Turn on debug logs. Options->Logging->ZM_DEBUG.