Ask Slashdot: Are There Any Open and Affordable IPCams?
New submitter criticalmess writes: I'm about to give up on any decent hardware to be found to roll my own web-based camera setup around the house and office — and thought that the nerds and experts at /. would be my last resource I could pull out. Having bought multiple IPCamera (DLink, Abus, Axis, Foscam, TP-Link, ...) and always getting the 'requires DirectX' treatment, I'm wondering if there are any open and affordable IPCams out there? I've been looking at BlueCherry and their kickstarter campaign to create a complete opensource hardware solution, I've been looking at Zavio as they seem to offer the streams in an open enough format while not breaking the bank on the hardware. Anything else I should be looking at? I can't for the love of it understand why most of these hardware companies require you to run DirectX — anybody care to enlighten the crowd? Should be simple enough really: hardware captures images, a small embedded webserver transforms this into an RTSP stream or HTTP stream, maybe on h264 or similar — done.
"Build a Raspberry Pi Webcam Server in Minutes"
http://pimylifeup.com/raspberry-pi-webcam-server/
Hikvision.. Very cheap on alibaba.
No idea why an IP camera would require DirectX, but some of them do have web interfaces that require ActiveX, but you only need that if you actually want to use the web interface to view the video. Most IP cameras (certainly including Axis, I'm not familiar with the others on your list) also implement RTSP, and H.264 is pretty standard, so you can view the streams using e.g. VLC player.
While I can't speak for "most", the limited experience I have had with IP cameras is that the stream coming off many of them is a bone-standard MJPEG stream. That is simply a stream of JPEG images, and any app that can interpret them should be fine. Microsoft has actually published a very small demo program, based on dotNet 4, that displays the output from a webcam.
Rosewill's webcam, by the way, uses a Java applet normally to show what's coming off the camera. I don't believe they use DirectX, or ActiveX, as the image output shows up fine on Firefox.
Firstly I assume you mean ActiveX and that your gripe is the streaming system used by the cameras which requires plugins to use a browser. Have you dug into the operation of any of the cameras? Some of them may provide other interfaces not documented or immediately obvious from their default web interface. For example: My cheapo Chinese Foscam PTZ camera requires ActiveX on the web interface, but the video stream is available via http://w.x.y.z/videostream.cgi... and that spits out a rolling JPEG (I think, I can't remember) stream which does not require any browser plugins.
I came across this while setting up my next suggestion: Zoneminder.
If you have a server located somewhere then I suggest you centralise the security camera management via some program like Zoneminder. This will allow you to capture data from multiple cameras with multiple interfaces and multiple vendors into one common platform. This common platform can perform things like motion detection, recording, and can even control a wide range of model's PTZ functions.
Basically an opensource solution presenting a front end to your closed source cameras.
Raspberry Pi 2 model B does hardware based h.264 encoding when used w/ their camera (options exist with/without IR filter). This results in about 3% CPU utilization on a RPi 2 model B. This encoding can then be piped to VLC. Once in VLC, the options are pretty endless.
Here's a real-world command that pipes the camera to VLC which makes it available via HTTP:
raspivid -t 0 -w 1920 -h 1080 -fps 25 -b 2000000 --exposure night -o - | /usr/bin/cvlc -I dummy --live-caching=500 'stream:///dev/stdin' --sout '#standard{access=http{user=youruser,pwd=yourpass},mux=ts,dst=:8080/}' :demux=h264 --sout-keep &
A key advantage of a RPi is the flexibility, versatility, updatability afforded by both the open hardware and the linux operating system.
~$35 for a RPi 2 model B, ~$25 for a camera. MicroUSB power supply/cable ~$10. WiFi ~$10 (or use integrated ethernet).
I've used a couple of old android phones for this, some old ones from upgrades and old ones friends weren't using - have a look for the app IP Webcam, seems to do exactly what you're after.
Even older phones with ~2MP cameras on the back should be more than enough resolution for this task. The batteries also provide convenient UPS in the event of power cut too.
About 4 years ago I came into a business where the security cameras were all older coax models that wired up to capture cards and into a ZoneMinder install. It worked but was cumbersome and I figured it was time to start us getting on IP cameras. We had a new "store" location being built right around the time so I moved everything to IP cameras and ditched ZoneMinder for BlueCherry.
I've never regretted that. BlueCherry is really nice and I see it constantly improving. I don't think I've seen a single new feature introduced in the 4 years I've been using it. Instead they just keep making it better at what it really needs to do. They won't make it limit FPS from a camera. The camera can do that. A timestamp on the image? The camera should do that. Do you want to delete video? Nope. There's no reason for that. The system will eventually cycle it out when the disk is full. They don't work on fluff or things you THINK you need. They work on stability and resource consumption and things that you absolutely need in a video recording system before anything else. I like their approach.
As to cameras I'm not much help. I run about 26 Axis M-1011 or M-1011W (wireless version) cameras one ACTi E33 outdoor bullet camera, and two TRENDNet TV-IP252P dome cameras. I have tried a junk Foscam and HooToo model or two in the past but they were junk and you had to power cycle them randomly to get them back online. A $60 Foscam with PTZ that works MOST of the thing isn't worth anything to me. An Axis M-1011 with no PTZ and smple 640x480 resolution but runs nonstop 365 days a year? That's worth $175 to me. My ACTi E33 has also been reliable for a solid year now and I'm buying more. My TRENDNet TV-IP252P are annoying as hell. They just quit working at random. Their web interface is up, they respond to ICMP pings, but their RTSP feed goes down or borks up bad enough that BlueCherry can't decipher it anymore. I have to powercycle them when I see they're not reading right and I do not like them.
My Axis cameras do go offline sometimes but that's where we power cycle between the grid and generator. We only have a 2 second gap between the two and that seems to catch some cameras in a weird state. Thankfully with them when they go whacky they stop responding to ICMP and HTTP requests to my Nagios install picks up on them being off and I can fix that before it's an issue.
ONVIF is the standard for IP Camera security systems, it handles everything from pan/tilt, video streams, motion detection, removing fish-eye etc.
The trouble with many of these cheap Chinese cameras (Hikvision, Foscam, etc.) is they claim to support ONVIF but are not certified and DO NOT WORK with ONVIF recorders as a result. Sometimes its just one or two features, on mine its pan-tilt, on the first one I bought and binned, it was the HD stream wouldn't connect when the preview stream was running! Making it completelt useless.
So they work with their own (often crappy) interface but try to use them with a big autorecorder box like a Synology raid and they don't work properly.
IMHO, best one I have is a Samsung 95% wide angle PT camera shallow dome camera, waterproof, anti-fogging. The hardware is what makes it great, the software is just the ONVIF standard stuff.