Live data from Hacker News

Piipcam – 1080P IP Camera on a Raspberry Pi Zero W

github.com

21–30 of 86 posts

Re: Piipcam – 1080P IP Camera on a Raspberry Pi Zero W

#21
Does anyone know if any of these projects capture the h.264 stream encoded inside the webcam? I would be interested in setting up something like the nest paid subscription but on a local server (meaning record 100% of the video and build a nice interface to navigate it. No "detection of movement" kind of thing involved unless for tagging).

Re: Piipcam – 1080P IP Camera on a Raspberry Pi Zero W

#22
post #16

Is it possible to make an IP camera appear on the other end as /dev/videoX with near zero latency? Even with LAN ping times of 200ms of latency with IP cameras, sometimes as much as 1000ms, and can't figure out a good solution.

I think you could probably achieve that with v4l2loopback and ffmpeg. I've done something similar in the past and it works.

Re: Piipcam – 1080P IP Camera on a Raspberry Pi Zero W

#23
It amazes me, really, that for as popular as this use case seems to be there isn't a simple, well-packaged way to stream a camera off a pi.

I've been trying to get this working lately and nothing works "well". Motion is popular, but is limited to mjpeg rather than h.264. uv4l is closed source and not up to date with current OS versions. None of the various cvlc incantations to do better actually seem to work on my pi zero w, etc.

Re: Piipcam – 1080P IP Camera on a Raspberry Pi Zero W

#24
post #3

IP cameras need their Linksys moment. The hardware has advanced immensely but the software is terrible.

I highly reccomend Motion, check it out if you haven't. I've ripped out and replaced subpar proprietary vendor crap with it. (keep the cameras depending on model, ditch the included DVR systems) [1] https://motion-project.github.io/

I've used motion and it's fine as the DVR part with MJPEG cameras. Something else is needed for modern h264/h265/av1 stuff. I've started coding on it a few times but have never gotten it functional. But my point is about the software that runs in the cameras themselves.

Re: Piipcam – 1080P IP Camera on a Raspberry Pi Zero W

#25
post #3

IP cameras need their Linksys moment. The hardware has advanced immensely but the software is terrible.

I highly reccomend Motion, check it out if you haven't. I've ripped out and replaced subpar proprietary vendor crap with it. (keep the cameras depending on model, ditch the included DVR systems) [1] https://motion-project.github.io/

Motion is great, but most (all?) consumer IP cameras and DVRs/NVRs are Swiss cheese security wise, they routinely phone home or make connections with servers in China, some even contain hardcoded passwords etc. so that the only way to use them reliably would involve a firewall only accepting connections from trusted sources while preventing the cameras subnet to send anything to the outside world.

What we need is some alternative firmware just like OpenWRT, but aimed at IP cameras. That would be a real challenge, therefore it is probably better to build the IP camera from ground up with security and trust in mind. The PineCube from Pine64 seems a really good step in this direction. Just like their PinePhone, being so hard to liberate an existing phone, it's actually easier to design and produce from scratch one that is really free and open and therefore trustworthy.

Some interesting options also from Friendlyarm to make small Linux driven embedded boards with cameras. https://www.friendlyarm.com/index.php?route=product/product&...

Re: Piipcam – 1080P IP Camera on a Raspberry Pi Zero W

#26

It amazes me, really, that for as popular as this use case seems to be there isn't a simple, well-packaged way to stream a camera off a pi. I've been trying to get this working lately and nothing works "well". Motion is popular, but is limited to mjpeg rather than h.264. uv4l is closed source and not up to date with current OS versions. None of the various cvlc incantations to do better actually seem to work on my pi…

This is sadly 'just' homekit, but I was pretty impressed with the polish of the solution:

https://hochgatterer.me/hkcam/

I agree on the comment for rtsp though. Most solutions have multiple seconds of latency which is a bit suboptional.

Re: Piipcam – 1080P IP Camera on a Raspberry Pi Zero W

#27

I've been using https://elinux.org/RPi-Cam-Web-Interface . It has an interesting motion detection and record function.

It does have a lot more functionality, but it doesn't support USB cameras. It only works with the Raspberry PI camera.

I do distinctly remember someone changing some config files to make it work with a USB camera. Not exactly plug-and-play but it can be done.

Re: Piipcam – 1080P IP Camera on a Raspberry Pi Zero W

#28

It amazes me, really, that for as popular as this use case seems to be there isn't a simple, well-packaged way to stream a camera off a pi. I've been trying to get this working lately and nothing works "well". Motion is popular, but is limited to mjpeg rather than h.264. uv4l is closed source and not up to date with current OS versions. None of the various cvlc incantations to do better actually seem to work on my pi…

Can ffmpeg work? I've used it with IP cameras before with much success.

Re: Piipcam – 1080P IP Camera on a Raspberry Pi Zero W

#29

It amazes me, really, that for as popular as this use case seems to be there isn't a simple, well-packaged way to stream a camera off a pi. I've been trying to get this working lately and nothing works "well". Motion is popular, but is limited to mjpeg rather than h.264. uv4l is closed source and not up to date with current OS versions. None of the various cvlc incantations to do better actually seem to work on my pi…

https://github.com/BreeeZe/rpos

Re: Piipcam – 1080P IP Camera on a Raspberry Pi Zero W

#30
720p or 1080p wireless/wired/PoE IPCamera with FCC-certification has been on the market for a few years, at the price range of 30ish dollars, you can buy IPCamera modules for about $10 from vendors(mainly in China) and reprogram with your firmware as well.

RPI-based camera is great to learn stuff, but to make a product-like devices, there are too many to choose on the market already, cheap and easy and most likely more robust.

Isn't ip-camera a solved problem?

Post reply on HN