Page 1 of 1

no camera streaming on Zoneminder

Posted: Fri Oct 14, 2022 5:35 pm
by Colibri
Hi Everyone,

I'm using Zoneminder v 1.36.12 and Ubuntu 22.04 LTS on Odroid C4
I've bought a an Amcrest Cam IP2M-841B
I've look at the configuration on the wiki :
https://wiki.zoneminder.com/Amcrest
My Cam is now working but i can't see the display of this cam on the zoneminder console as you can see on the attachment.
I've already looking for a solution on this forum on this topic :

Code: Select all

https://forums.zoneminder.com/viewtopic.php?p=119109
this one :

Code: Select all

https://forums.zoneminder.com/viewtopic.php?t=15775
and this one :

Code: Select all

https://forums.zoneminder.com/viewtopic.php?t=30024
but i didn't find a solution.
I've tried to change the PATH_ZMS and set /zm/cgi-bin/nph-zms as you can see in the attachment to.
I've tried many things to change the source, the mode, resolution.... but i can't fix it anyway.
I can see the streaming in rtsp and http with my navigator but i can't see it in zoneminder directly
Could you please help me because i don't know what can i do more, i spent lot of time to try a lot of differents things without succed.
Thank you for helping.

Re: no camera streaming on Zoneminder

Posted: Fri Oct 14, 2022 6:41 pm
by Andyrh
h.264 or h.265?
My browser will not stream h.265.

Re: no camera streaming on Zoneminder

Posted: Mon Oct 17, 2022 10:16 am
by Colibri
Thank you for answering andyrh, i have already tried with H.264 and H.265, same thin, no display, i will tried tomorrow with another browser, i'm using firefox, and i will try with chromium.

Re: no camera streaming on Zoneminder

Posted: Mon Oct 17, 2022 2:13 pm
by iconnor
The problem is with your apache config.. The default apache config uses /usr/lib/cgi-bin but ZoneMinder's zms is in /usr/lib/zoneminder/cgi-bin.

ZoneMinder's default config for apache has a ScriptAlias line too, but they conflict.

Maybe try
sudo a2dissite 000-default
sudo systemctl reload apache2

Re: no camera streaming on Zoneminder

Posted: Wed Oct 19, 2022 3:42 pm
by Colibri
iconnor wrote: Mon Oct 17, 2022 2:13 pm The problem is with your apache config.. The default apache config uses /usr/lib/cgi-bin but ZoneMinder's zms is in /usr/lib/zoneminder/cgi-bin.

ZoneMinder's default config for apache has a ScriptAlias line too, but they conflict.

Maybe try
sudo a2dissite 000-default
sudo systemctl reload apache2
Thank you Mr Connor, i will try.

Re: no camera streaming on Zoneminder

Posted: Fri Nov 18, 2022 4:52 pm
by Colibri
Hell Everyone,

Sorry i was very busy, so I have just tried your solution Mr Connor but problem still the same, no display.
Do you have another solution?
Thank you have a nice day.

Re: no camera streaming on Zoneminder

Posted: Fri Nov 18, 2022 7:31 pm
by mr.graf
Hello!
Unfortunately, I do not know what operating system you have. For example on Slackware Linux I build Zoneminder from the source code. When building, I specify where the files should be located. In the file with VirtualHost:

Code: Select all

 DocumentRoot /var/www/htdocs/zm
...
...
    ScriptAlias /cgi-bin /var/www/cgi-bin
    <Directory /var/www/cgi-bin>
...
...
In the zm.conf file

Code: Select all

# Path to ZoneMinder cgi files
ZM_PATH_CGI=/var/www/cgi-bin
and in the Zoneminder interface (Options-Servers-Path to ZMS) be sure to write the correct path to nph-zms (this is actually a link to zms). In my case it is /cgi-bin/nph-zms i.e. where ScriptAlias points.
It may be enough on zms, I have not tried, I have it since the earliest versions. :)