Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I’d like to plug my project, APStreamline for just this use case (https://github.com/shortstheory/APStreamline). It supports network adaptive streaming which adjusts the resolution and bitrate of the H264 video streamed from the Pi camera depending on the quality of your network connection. You can then use an RTSP player such as VLC to view the video stream. It works great with other types of cameras too!


Took a look at your GitHub link, looks like you put in quite a lot of work.

Looks very interesting.

When you say "works great with other types of cameras", could you explain? You've tested with other cameras and could you tell us which?


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.


Will do thank you


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.


Can this stream h264 directly from a Logitech C920 rather than decoding then encoding?


Yes! This uses the H264 stream encoded by the C920 so you will be able to get an HD stream even on low powered devices such as the Raspberry Pi.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: