there should be a function where you can view all cameras a certain point in time
aquarat
I have lots of armhf boards
bhuddah
ah
aquarat
and they're relatively low power, both in processing abilities but also in absolute power usage
they're sufficiently capable to handle 8 H.264 IP cameras operating at 5 fps in 720p
at a bitrate of 1024kbps
but that's a bit low... so I figured distributing the feeds over three machines would work
CREATE VIEW Monitors AS zm.Monitors WHERE MOD(id, 3) = 0
etc.
but naturally a solution built by the developers would be better :P
bhuddah
you can always contribute. you're welcome to, if you're able :)
aquarat
I doubt I'd have the skills necessary to contribute
I couldn't even get it to compile
...on armhf
knnniggett
aquarat: that's exactly what my first project is going to be once the mutli-server functionality is merged.... Run zoneminder on multiple Raspberry Pi's, that all talk to each other, without using a traditional, centralized server.
bhuddah
even without central storage?
knnniggett
correct
just store it locally
or in the cloud <- future
bhuddah
cluster file system?
knnniggett
no need
bhuddah
depends how you access it from the web
knnniggett
traditionally commercial products have a software, gateway device that allows video access from the Internet. I have not looked to see if the mutli-server feature does something like that, but we can add it later.
A simple way to implement this would be to enable reverse-proxy on each zoneminder camera, but we can figure that out when we come to that.
bhuddah
i'd opt for a cluster fs like xtreemfs or ceph. that way you can transparently access all media files on all hosts via webserver (either on all or on one dedicated)
knnniggett
The beauty of the multi-server feature is that you will be free to use an entirely "serverless" design, or you could keep a centralized server, or you could do both ....I've certainly not seen every commerical product out there, but I've not seen any other product able to do both.
bhuddah
k. that would be something i can finally be useful for. i can do things like that :)
aquarat
knnniggett: I use ODROID machines
they're quite a bit beefier than Raspberry Pis
I have a ton of Pis too... but they're used for lower-level tasks like controlling pumps, measuring power usage, etc.
knnniggett
Those would work even better
aquarat
the main machine I'm using for Zoneminder at present is the ODROID-XU which is an 8-core BIG.little machine with 2GBs of RAM
although only 4 of the cores can be active at any time
I'm using the 15.04 Ubuntu repo zoneminder with a custom compiled ffmpeg binary
Hardkernel makes the XU4 now which allows all 8 cores to run simultaneously :P
substantial saving in power usage... I think my XU uses about 6 watts when processing multiple cameras
bhuddah
that's impressive.
barjac joined the channel
zamba
can zm handle PTZ cameras?
^0300912
Hi Everybody. hope you're well. I'd like to take the opportunity of that conversation to ask you for something. I'd like to run 80 cameras (basically cheap 10-15$ each) on zoneminder for some project. For the moment I plan to use 5 PCI capture cards with 16 channels each. What kind of machine could handle that load ? (Resolution should be min: 640x480 more is better). I really have no idea.
Do you think multiple servers should be used in that case ?
zamba: yes
zamba
^0300912: do you get PTZ controls through it as well?
knnniggett
It depends. If you can get the drivers for those capture cards to work in a modern machine then the cpu load won't be anywhere near if you were using ip cameras
The problem with capture cards, however, is getting the drivers to work
^0300912
I also found a chinese made model on Ebay, but they don't give any information about linux support for the capture cards...
knnniggett
Many capture cards use V4L version 1 drivers, which is no longer maintained in the kernel. I'm not saying you won't be able to get it work, but I have seen others struggle with this.
^0300912
:'(
So if I can ensure that Capture card is using v4l2, It should be ok, ... assuming I have a machine powerful enough (because load is heavier than with IP cameras)
Am I right resuming that way ?
aquarat
IP Cameras are the future... and probably also the present
knnniggett
The cpu load would be less. much less.
The capture card does all the work, freeing up the cpu
^0300912
ah ok, so ip cameras are more load for cpu? I understood wrong
knnniggett
In hindsight, I could have worded that better
^0300912
Great. That's a ggod news, so multiple machine won't be necessary...
*good
knnniggett
Maybe. It depends if the cards you use will work with five of them all in the same machine.
You said five capture cards, right?
^0300912
yes with 16 channels each
I suppose I will have to ensure that the motherboard can handle enough voltage for each of the five slots...
knnniggett
I don't know if the driver in the linux kernel supports 5 cards. it might. You'll have to test it and find out.
aquarat
it's the equivalent of processing a 25MP video stream