Hi, just wondering if anybody has a success running a Escam QF002 on ZoneMinder 1.30.4 using Docker OMV? I'm just not getting any luck. No video coming out. Tried an android app and ZoneMinder seems to work on that.
Beiträge von widewings
-
-
Found what I did wrong ... followed the procedure below and everything works.... thanks a lot everybody....
I was also intrested in the Docker solution and got it working. Here is how I made it.
I'm new to Docker, so I'm sure there are improvements to this guide.Presetup:
- You need the Docker-GUI plugin up and running
The docker image stores files into a config path, which is used for the image captures too.
- Create a shared folder (not sure which priviliges are need to be set, but I gave this folder all read/write)
is used /media/mystorageID/zoneminderInstructions to run docker image:
- Go into Docker Gui and Pull Image (https://github.com/aptalca/docker-zoneminder)
->Parameters: aptalca/docker-zoneminder
- If sucessfully pulled run that image:
-> Restart on system reboot, Run container in privileged mode, sync time with host all on
-> Bridge (no host name)
-> Portforwarding
-> 0.0.0.0 Host Port 90 Exposedport 80 (80 is not working so choose some other port for the web-gui, click the plus or its not saved)
-> 0.0.0.0 Host Port 8080 Exposedport 8080 (this is used for forwarding the broadcast of the webcams, click the plus or its not saved)
-> Environment (default paths are fine)
-> Extra Args
-> -v /media/mystorageID/zoneminder:/config:rw (maybe this could be also done with the Volume and Bind mounts)Now look into the log if the docker image is started.
Open "YOURNASADRESS:90/zm" in the Browser.
Basic Zoneminder setup as described in the docker image- In the WebUI, click on Options in the top right corner and go to the Display Tap and change Skin to Flat (much better)
- The container includes avconv (ffmpeg variant) and cambozola but they need to be enabled in the settings
- Go to the Images tab
- Click on the box next to OPT_Cambozola to enable
- Click on the box next OPT_FFMPEG to enable ffmpeg
- Enter the following for ffmpeg path: /usr/bin/avconv
- Enter the following for ffmpeg "output" options: -r 30 -vcodec libx264 -threads 2 -b 2000k -minrate 800k -maxrate 5000k (you can change these options to your liking)
- Next to ffmpeg_formats, add mp4 (you can also add a star after mp4 and remove the star after avi to make mp4 the default format)
- Hit saveFor testing:
As described in the following link you can use ur smartphone as ip webcam
https://plus.google.com/111475…5047208/posts/arJPF7adB2Y- Download the application IP Webcam from Pas from the Android Market. Use the default settings for this pass, and go right to Start server.
- You will see a URL with IP number at the bottom of the screen. This live video is available at the URL irrespective of whether zoneminder is integrated.
- Login to zoneminder and add a camera. Use these settings:
Source Type == remote
Maximum FPS == see Video Setup in your smartphone APP
Remote Protocol == HTTP
Remote Host == (the ip number in the camera URL, it changes every session)
Remote Host Port == 8080
Remote Host Path == /video
Capture Width == see Video Setup in your smartphone APP
Capture Height ==see Video Setup in your smartphone APPAt the end you should be able to see your smartphone camera over your NAS in the browser.
Pitfalls for testing: Setup the same resolution in the smartphone and in your smartphone as well as the same max fps.
Improvements welcome
-
-
I think my system is all mess up now from all the trial and error installing zoneminder from different proceduce. I will start from scratch again since Patrick was able to make it work just following the above procedure. Hope it works
Thanks again no_Legend you are a legend for answering my queries...
-
Sorry to be a pain but don't know what to do next ...
Tried opening on my internet explorer http://omv_ip:8080 but not working.... tried restarting several times as well didn't help.
-
Hi Robert, yup followed your instruction and activated Docker under omv services.... may I know what is the next step.... Thanks....
-
As of the moment I'm trying Robert suggestion as most post here recommend Docker which I don't have an idea ... until someone replied with more information.... for somebody else looking follow instruction below.... cheers....
If your system works with docker, try docker.It is the easiest and fastes way to get zoneminder running.
Fast steps for zoneminder and docker:
Install omv-extra repo
Aktivate docker repo.
Install docker plugin
Activate docker in services
Pull Image in docker
Start Image
ZM is runningCheers Robert
-
hi, sorry for the ignorance. I search for the step by step instruction that most of the people in this tread is mentioning but I can't seem to find it. could someone please point me to that instruction. I've search from 1 to 7 of this thread but all I see is pieces of this so called step by step instructions. Thanks in advance.
-
Hi, is there anybody have success installing ZoneMinder in OMV 3.x. I tried following jhmiller installation but couldn't get it to work. I followed the instruction also in the Zoneminder website in installing in Debian 8 but as usual no luck as well. I already spend hours on this and running out of ideas to try.
Any suggestion would be much appreciated. Thanks.