Live data from Hacker News

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

github.com

81–86 of 86 posts

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

#81
post #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 mo…

Links? I’d love to just buy the modules and stick them on my own boards.

not really off-the-shelf, you have to find the module sellers but yes it is do-able.

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

#82

Earlier quoted context omitted.

Thank you! The list of cameras for which I have added special support are: * Logitech C920 * Raspberry Pi Camera * e-Con AR0521 * ZED2 Depth camera (in V4L2 mode) In case your camera is not one of the above, APStreamline falls back to requesting an MJPG stream from the camera and then encoding it to H264 that using the x264enc software encoder. The software encoder has good quality but it requires more CPU power.

Thanks for the in-depth reply. Is there some process you setup on Github for others if we test with our own cameras and let you know?

Yes, the way to test your own camera is to connect it to your computer and launch APStreamline. As the sibling comment suggested, feel free to add a GitHub issue if you want your camera to be supported. In case you want to DIY support for your camera, the steps here https://arnavdhamija.com/2020/10/29/apstreamline-v2/ have an outline of what to do.

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

#83

Earlier quoted context omitted.

Thanks for the in-depth reply. Is there some process you setup on Github for others if we test with our own cameras and let you know?

Yes, the way to test your own camera is to connect it to your computer and launch APStreamline. As the sibling comment suggested, feel free to add a GitHub issue if you want your camera to be supported. In case you want to DIY support for your camera, the steps here https://arnavdhamija.com/2020/10/29/apstreamline-v2/ have an outline of what to do.

Will do thank you

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

#84

Earlier quoted context omitted.

Thanks for the in-depth reply. Is there some process you setup on Github for others if we test with our own cameras and let you know?

A pull request?

Yeah wasn't sure if they had a process to it outside of pull requests. As in some other channel or method for hardware. But you're right, pull requests it is they said.

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

#85

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…

Gstreamer? I've used it in the past, both professionally and personally, to generate rtsp/rtp and it worked great.

I'd be love to hear more about how you did it! I found streaming (and restreaming) RTP fairly straightforward but annoying to setup with gst-launch (there seems to be no simple option to get an SDP file out, apparently you are meant to lovingly handcraft one from the debug log).

But I couldn't figure out how to stream RTSP, especially not in a way that would preserve NTP timestamp information when restreaming (for synchronization with other streams). There is gst-rtsp-server, but as far as I can tell the idea is that you use it as a library to build your own custom server code.

Is there a simple way I was missing?

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

#86

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…

There's a significant amount of parts to put together, software wise, but you can build a strong streaming solution with gstreamer or ffmpeg. I've done so and shipped hundreds of devices. It was not a trivial amount of work. We eventually transitioned to a purpose built dedicated camera solution however. If you're capturing sound, you will also have challenges as the BCM2xxx family has..... interesting audio hardware, especially if you want to reduce your BOM and integrate PDM microphones.
Post reply on HN