no camera streaming on Zoneminder

Discussions related to the 1.36.x series of ZoneMinder
Post Reply
Colibri
Posts: 4
Joined: Fri Oct 14, 2022 2:50 pm

no camera streaming on Zoneminder

Post 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.
Attachments
system Paths Configuration.png
system Paths Configuration.png (78.17 KiB) Viewed 1535 times
console zoneminder.png
console zoneminder.png (62 KiB) Viewed 1535 times
User avatar
Andyrh
Posts: 281
Joined: Sat Oct 28, 2017 3:55 am

Re: no camera streaming on Zoneminder

Post by Andyrh »

h.264 or h.265?
My browser will not stream h.265.
Andy
o||||o

Ubuntu 22.04
ZM 1.36.33
E5-1650-v4 Xeon
16 GB RAM
6 cameras -> 54 FPS modect
Colibri
Posts: 4
Joined: Fri Oct 14, 2022 2:50 pm

Re: no camera streaming on Zoneminder

Post 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.
User avatar
iconnor
Posts: 3197
Joined: Fri Oct 29, 2010 1:43 am
Location: Toronto
Contact:

Re: no camera streaming on Zoneminder

Post 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
Colibri
Posts: 4
Joined: Fri Oct 14, 2022 2:50 pm

Re: no camera streaming on Zoneminder

Post 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.
Colibri
Posts: 4
Joined: Fri Oct 14, 2022 2:50 pm

Re: no camera streaming on Zoneminder

Post 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.
User avatar
mr.graf
Posts: 16
Joined: Wed Oct 28, 2015 3:39 pm
Location: Russia

Re: no camera streaming on Zoneminder

Post 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. :)
Post Reply