You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello,
I don't know if this is the right place to ask my question but it's not an actual issue so I'll ask it here.
How do I create a redirect stream from a rtsp IP camera stream?
I created a gstreamer pipline to receive it and it's working fine, but how do I create a >MAVLINK stream from it? the device in the UI for redirect source is a fixed text, where do >I specify my rtsp link an create a redirect out of it?
Hi @aihamshikhomicro, thanks for reaching out, we indeed lack documentation, but it is doable:
How to create a Mavlink camera from an RTSP IP camera stream?
Let's say we want to receive an RTSP stream from an IP camera on QGC.
For this example, we are going to consider that the QGC is running on a computer at the user's computer (localhost), where its local network IP is 192.168.0.10, and both Mavlink server and MCM are running on a second computer, the 192.68.0.87, and the camera is also on the same local network, at 192.168.0.201.
For that, we'd need:
A Mavlink UDP server to connect to QGC (QGroundControl), say, 192.168.0.10:14550
A Mavlink TCP server to connect to MCM (Mavlink Camera Manager), 127.0.0.1:5777
The RTSP address from your IP camera, rtsp://192.168.0.201:554/video/0
A reliable network connection between all these parts.
Now, the setup should be quite straightforward:
Run mavlink-camera-manager passing the Mavlink TCP server endpoint:
From the MCM developer interface (192.168.0.87:6020), create a Redirect stream using the RTSP address from the camera, let's say, rtsp://192.168.0.201:554/video/0. Make sure to leave Disable Mavlinkunchecked:
Finally, open QGC, it should be able to receive the IP stream.
If anything different happens, check on the console, and upload the logs here on this issue.
In case your network or setup is different, let us know how it is so I can adapt the guide if you need it,
Originally posted by @aihamshikhomicro in #213 (comment)
The text was updated successfully, but these errors were encountered: