Closed axeljerabek closed 2 months ago
Well yes, the timeout. Clear. But the netcams always need a while until motion picks up the stream from the nginx RTMP module. Mostly, all 4 cams show up after something like 20-30 seconds, sometimes even more.
The timeout is currently hard coded as 20 for the open processes. It then goes to 10 seconds for reading an image.
From the log, it looks like it isn't making it past the opening phase so you can revise that 20 and see if that works. (I'll make this a user configuration parameter soon)
Thanks for those two! I use 120 and 180 now, still motionplus exits in under 10 seconds it seems. Any other hardcode I could edit here?
Also had to set the watchdog parts, now it works sometimes after a few restarts. Still a bit away from stable somehow. Is there a chance that the 0.2.1 release gets an update for the new libav and ffmpeg components? That one was working in production and was pretty stable.
Did you read the guide?
Yes
What is the base version number of MotionPlus being used?
0.5.x
What was the install method?
Built from source code
What is base architecture?
x86/x64
What is the distro being used?
Ubuntu
Disto version number
24.04
Camera/Sound type(s) being used?
Network camera with RTSP
Describe the issue/problem and steps to reproduce
The master branch compiles, installs, starts but dies after a few seconds. Log file attached :)
Do I oversee something? I cannot find the reason.
Relevant MotionPlus log output (at log_level 8)