Page 1 of 1

FIXED!!!! ZoneMinder No video

Posted: Mon Feb 05, 2018 6:53 pm
by rbthompsonv
Hey guys... So.. Im tearing my hair out here...

I have an HIKVision DVR and Im trying to pull the video stream from it into a zone minder build.

I can stream to VLC via rtsp (rtsp://NAME:PASSWORD@IPADDRESS/Streaming/Channels/101/picture) but only from my MacBook or a windows machine... From Ubuntu, I can not pick up the stream on VLC or through zone minder... my guess is something to do with my ffmpeg build in ubuntu? but, im not entirely positive why.

VLC displays perfectly fine, with no lag in OSX/Windows... but I get connection errors from any linux box I attempt to connect with (be it a VM machine or an actual built box).

Im not a linux noob, but im also not a linux pro... Any help would be appreciated... and im happy to try anything advised...

Re: ZoneMinder No video

Posted: Mon Feb 05, 2018 7:52 pm
by rbthompsonv
OK... so, Ive tracked it down a little... I can get the stream to show in VLC with a fresh Ubuntu install and using 16.04 without installing anything except VLC... BUT, still no joy in zone minder...

Re: ZoneMinder No video

Posted: Mon Feb 05, 2018 11:40 pm
by bbunge
Are you using Ubuntu desktop? Did you install LAMP from tasksel?

See: https://wiki.zoneminder.com/Ubuntu_Serv ... e_easy_way

Re: ZoneMinder No video

Posted: Tue Feb 06, 2018 12:37 am
by rbthompsonv
I did indeed...

Ive tried Ubuntu Server and Ubuntu Desktop... currently working with Desktop.
I do a clean install of Ubuntu... then install VLC, then follow the wiki install instructions for zone minder (including installing LAMP-server)...

The video displays correctly now via VLC (I was trying to install ffmpeg-3 before and I think that that was causing an issue)...Anyway, now I can see the video stream through VLC, but nothing I do gets anything displayed via zone minder...

Re: ZoneMinder No video

Posted: Tue Feb 06, 2018 1:22 am
by rbthompsonv
OK... SO!!!!
Apparently it IS recording... it's just not displaying.
If I let it run for a bit, it will capture events and I can go back and watch the stills... I just can't see live video and can't playback as video...

Any ideas? (im googling now)

Re: ZoneMinder No video

Posted: Tue Feb 06, 2018 1:28 am
by rbthompsonv
setting path from "/cgi-bin/nph-zms" to "/zm/cgi-bin/nph-zms" fixed it... now to dial it in!!!

Re: FIXED!!!! ZoneMinder No video

Posted: Wed Feb 07, 2018 3:27 pm
by knight-of-ni
When installing ZoneMinder it is extremely important to follow the instructions verbatim.
Setting PATH_ZMS is one of the steps documented in the easy-way instructions bbunge linked earlier.
And no, you aren't the first person to do this. We average about a person a week who does this, and that's really why I'm taking the time to post this response.... hopefully the next guy to skip the all important PATH_ZMS step will see this post and thus solve the problem a little quicker.