-
|
I've been seaching around and i'm not able to figure out the limitations in use of webcams. So for now I have one USB cam connected and one rtsp stream. So asking kindly about a bit more information regarding webcam use. Eventually I want to have two(or more) live rtsp cameras in my setup. Thanks |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
|
Hi @Mkorneli it is a bit hard to explain easy :(. But yes, the still image webcams will update every 30 seconds. Depending on the resource, the images has to be tiled and scaled to different sizes in order to get the zoom-able map view. And that takes a lot of time. The RPI cam needs about 10 - 13 seconds of time for every update. So going faster, is almost impossible. When you add another full HD usb webcam to it, it will take at least another 10 seconds for the USB webcam. And than it can get difficult to update every 30 seconds. The webcams are processed in parallel, but still, the python code can only use 1 CPU :(. So more webcams will just take more time. For live streaming, we are depending on the RPI GPU. As live video transcoding is not possible with the CPU. That will overload the PI. You can set the amount of GPU memory which should allow more live video transcoding on the GPU. But I have not tested that. As it is getting expensive buying Full HD camera's. So I do not know if it is possible to have 2 or more live streaming webcams. So I am not sure if it will work with 2 or more RTSP live webcams. That has not been tested. It could work if you set more memory to the GPU with raspi-config tool. But again, I cannot guarantee that it will work. |
Beta Was this translation helpful? Give feedback.
-
|
Any updates? Does the above explanation help? |
Beta Was this translation helpful? Give feedback.
Hi @Mkorneli
it is a bit hard to explain easy :(. But yes, the still image webcams will update every 30 seconds. Depending on the resource, the images has to be tiled and scaled to different sizes in order to get the zoom-able map view. And that takes a lot of time.
The RPI cam needs about 10 - 13 seconds of time for every update. So going faster, is almost impossible. When you add another full HD usb webcam to it, it will take at least another 10 seconds for the USB webcam. And than it can get difficult to update every 30 seconds. The webcams are processed in parallel, but still, the python code can only use 1 CPU :(. So more webcams will just take more time.
For live streaming, we are d…