10-15-2021 02:10 AM
Good day. How can I capture an RTSP stream from 20 IP cameras and then display it on 20 Image Display? I have cameras made by Beward.
10-16-2021 01:34 PM
@lama5 wrote:
Good day. How can I capture an RTSP stream from 20 IP cameras and then display it on 20 Image Display? I have cameras made by Beward.
I'm reasonably certain that LabVIEW does not support communication over the RTSP Protocol, I have successfully acquired image data from multiple IP cameras communicating over TCP/IP (which LabVIEW does support).
Bob Schor
10-18-2021 12:03 AM
Can you help with a sample code to solve this problem?
I managed to get an RTSP stream, but only from one camera.
10-18-2021 01:42 AM
The only way I have managed to do this in the past is to start an instance of ffMPEG in the background using system exec which acquires the RTSP stream and creates a new MJPEG stream. You can then read from this MJPEG stream and extract the JPEG files for each frame.
Converting the JPEG files to something you can display is another challenge but there are few posts floating around discussing how to do that.
I have not dealt with RTSP in the past, but I warn you depending upon your frame rate handling 20 streams will not be gentle on your CPU and network. Definitely doable you just have to be careful.
How have you managed to get an RTSP stream in LabVIEW at the moment
10-18-2021 01:59 AM
Yes, I have this problem. What other way can I use? I don't have a strict requirement to use only RTSP stream. I am a novice user, and this is the only way that I was prompted. Currently, a solution using Callback functions is being used. The libraries are written in C++.
10-18-2021 01:44 PM
@lama5 wrote:
Can you help with a sample code to solve this problem?
I managed to get an RTSP stream, but only from one camera.
A single video stream only supports a single camera. So what you need to do is the following:
None of this is particularly easy. I had at least 5 years experience with LabVIEW before a colleague asked me to help him with a multi-camera multi-video "problem", and it took several months of hard work to get it started. But if you've worked with Asynchronous Clones before, and have several years of LabVIEW Vision experience, you should be alright.
Bob Schor
10-24-2021 10:40 PM
I don't have that much experience. Just starting to use LabVIEW. But the task exists. No need to save to a file. Only display on the indicator. We managed to capture the stream using ActiveX, but even one stream loads the computer heavily.
I will look for another solution.
09-03-2023 11:38 PM
Hi lama5,
Can you help me , how to stream in RTSP ?