FIXED!!!! ZoneMinder No video

Forum for questions and support relating to the 1.30.x releases only.
Locked
rbthompsonv
Posts: 7
Joined: Mon Feb 05, 2018 6:47 pm

FIXED!!!! ZoneMinder No video

Post 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...
Last edited by rbthompsonv on Tue Feb 06, 2018 1:29 am, edited 1 time in total.
rbthompsonv
Posts: 7
Joined: Mon Feb 05, 2018 6:47 pm

Re: ZoneMinder No video

Post 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...
bbunge
Posts: 2979
Joined: Mon Mar 26, 2012 11:40 am
Location: Pennsylvania

Re: ZoneMinder No video

Post by bbunge »

Are you using Ubuntu desktop? Did you install LAMP from tasksel?

See: https://wiki.zoneminder.com/Ubuntu_Serv ... e_easy_way
rbthompsonv
Posts: 7
Joined: Mon Feb 05, 2018 6:47 pm

Re: ZoneMinder No video

Post 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...
rbthompsonv
Posts: 7
Joined: Mon Feb 05, 2018 6:47 pm

Re: ZoneMinder No video

Post 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)
rbthompsonv
Posts: 7
Joined: Mon Feb 05, 2018 6:47 pm

Re: ZoneMinder No video

Post by rbthompsonv »

setting path from "/cgi-bin/nph-zms" to "/zm/cgi-bin/nph-zms" fixed it... now to dial it in!!!
User avatar
knight-of-ni
Posts: 2406
Joined: Thu Oct 18, 2007 1:55 pm
Location: Shiloh, IL

Re: FIXED!!!! ZoneMinder No video

Post 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.
Visit my blog for ZoneMinder related projects using the Raspberry Pi, Orange Pi, Odroid, and the ESP8266
All of these can be found at https://zoneminder.blogspot.com/
Locked