Page 1 of 1

newbie asks for help setting up zm

Posted: Sat Jan 21, 2017 3:24 pm
by carverknut
Hello,
I am new to ZM and am trying to set up ZM on my system. Having fiddled with the setup for quite some time and having spent hours of reading forum postings, having watched youtube installation videos and wiki entries, I am still not succeeding to set it up right. So, any help is most welcome.

My system is a openSUSE Leap 42.1 (x86_64). I have managed to install ZM through the rpms available.

Then, I followed these procedures:
https://wiki.zoneminder.com/Installing_ ... s_for_SuSE

What information do you need to check if I did it right?

The 2 cameras I have connected with my local network are these:
https://wiki.zoneminder.com/Revotech_I6032W_P

Now, if I start up ZM, I can access ZM in my browser window, set up cameras, but never succeeded yet (!) in a video stream.

Here is what my log file reads:

2017-01-21 15:13:33.993250 zmdc 2892 ERR 'zmc -m 6' exited abnormally, exit status 255 zmdc.pl
2017-01-21 15:13:33.931833 zmc_m6 7653 FAT You must have ffmpeg libraries installed to use ffmpeg cameras for monitor 6 zm_monitor.cpp 2893
2017-01-21 15:13:33.893520 zmdc 7653 INF 'zmc -m 6' started at 17/01/21 16:13:33 zmdc.pl
2017-01-21 15:13:33.893520 zmdc 2892 INF 'zmc -m 6' starting at 17/01/21 16:13:33, pid = 7653 zmdc.pl
2017-01-21 15:13:33.794190 zmdc 2892 ERR 'zmc -m 4' exited abnormally, exit status 255 zmdc.pl
2017-01-21 15:13:33.760320 zmwatch 2973 INF Restarting capture daemon for Cam2, shared data not valid zmwatch.pl
2017-01-21 15:13:33.731408 zmc_m4 7645 FAT You must have ffmpeg libraries installed to use ffmpeg cameras for monitor 4 zm_monitor.cpp 2893
2017-01-21 15:13:33.727180 zmwatch 2973 ERR Memory map file '/dev/shm/zm.mmap.6' does not exist. zmc might not be running. zmwatch.pl
2017-01-21 15:13:33.653810 zmdc 2892 INF 'zmc -m 4' starting at 17/01/21 16:13:33, pid = 7645 zmdc.pl
2017-01-21 15:13:33.653810 zmdc 7645 INF 'zmc -m 4' started at 17/01/21 16:13:33 zmdc.pl
2017-01-21 15:13:33.556490 zmwatch 2973 INF Restarting capture daemon for Cam1, shared data not valid zmwatch.pl


I have checked: ffmpeg is installed.

I have to admit that the cameras are working on a windows machine, which I use to set up the camera settings as given in the wiki above.

Any help would be great.
Many thanks,
Knut

Re: newbie asks for help setting up zm

Posted: Sat Jan 21, 2017 3:50 pm
by SteveGilvarry
FFmpeg libraries can be separate packages, so libavformat, libavcodec etc. Surprised that it didn't automatically get them, not sure who looks after that repo, or if something just went wrong for you. Bbunge maintains very good install process in wiki for ubuntu and zmrepo for centos/fedora is maintained by one of the devs. So if you are not wedded to a distro, you could try one of them.

Re: newbie asks for help setting up zm

Posted: Sat Jan 21, 2017 4:13 pm
by carverknut
Thanks for your reply, but I would like to stay with my distro. Regards, Knut

Re: newbie asks for help setting up zm

Posted: Sat Jan 21, 2017 6:01 pm
by carverknut
VLC will access the camera through
rtsp://login:password@192.168.1.10/11

Re: newbie asks for help setting up zm

Posted: Sat Jan 21, 2017 8:31 pm
by rockedge
maybe grab a copy of a static version of FFMPEG for Linux, install it and see if it works. Does your version use avconv instead of FFMPEG?
if so try a symlink to avconv called ffmpeg

Re: newbie asks for help setting up zm

Posted: Sun Jan 29, 2017 12:59 pm
by carverknut
After a few more unsuccessful tries with openSuse, I have finally decided to have Fedora installed to start over from scratch. I'll keep you posted on my progress.

Re: newbie asks for help setting up zm

Posted: Sun Jan 29, 2017 2:10 pm
by knight-of-ni

Code: Select all

2017-01-21 15:13:33.731408 zmc_m4 7645 FAT You must have ffmpeg libraries installed to use ffmpeg cameras for monitor 4 zm_monitor.cpp 2893
This means the zoneminder rpm you are using was built w/o ffmpeg support. The only way you can fix this is to the download the srpm and rebuild the package w/ ffmpeg libraries installed during the build using rpm tools such as rpmbuild or mock. Installing ffmpeg after the fact doesn't work because zoneminder makes ffmpeg API calls (it doesn't use the ffmpeg binary for streaming) and must link against the libraries during build time.

openSuse rpms are managed by Monex. His contact email is in the rpm changelog. We don't know if he built this intentionally w/o ffmpeg support or if this was by accident. He does pop in the user forum and answer questions from time to time.

Re: newbie asks for help setting up zm

Posted: Thu Feb 16, 2017 12:04 pm
by carverknut
Fedora is now working with ZM; nevertheless I would be interested in getting ZM up and running (ffmpeg) with SuSE Leap 42

Re: newbie asks for help setting up zm

Posted: Thu Feb 16, 2017 1:05 pm
by knight-of-ni
I'm not sure if your statement is an offer to help or a request for help with OpenSuse Leap 42.
Recall that Monex is the maintainer of the OpenSuse packages. You will need to coordinate directly with him.
I don't know of anyone else familiar with running zoneminder on opensuse.

Re: newbie asks for help setting up zm

Posted: Thu Feb 16, 2017 2:30 pm
by carverknut
Thanks for your message. Yes, further help is needed (unfortunately). I shall contact Monex directly.
Best,
Knut