Ethernet Video Stream
I. HARDWARE SETUP
Zio payload and Ethernet Remote running QGroundcontrol (QGC)
Connect the Zio to Remote through an Ethernet Switch
Connection Diagram
II. CONFIGURATION
1.Overview. ·To stream video over Ethernet, the Zio payload needs to be set up in the same network layer (IP) as the Remote running QGC.
·The default Zio payload is set to static IP address 192.168.50.100, which will stream video to IP 192.168.50.101, at port 5000.
·There are 2 ways for Remote to receive video from Zio:
-Keep Zio's default setup (ip 192.168.50.100), Remote's IP setting at 192.168.50.101
-Change Zio's IP according to the network configuration of the running Remote system. 2.Set Zio’s IP via SD card.
-Take out the micro SD card from Zio.
-Connect and open the SD folder.
-Create file stream_ip.txt in the SD card folder.
-File name: stream_ip.txt
File content: [Zio IP] [Remote IP] [video stream port]
On the above example
+ Zio IP: 192.168.50.250
+ Zio stream video to Remote IP: 192.168.50.156 ở port 5000
-Insert the SD card containing the file stream_ip.txt into Zio and reboot.
-Zio will set up according to the information in the file automatically.
Note: when Zio starts up without detecting the file steam_ip.txt in the memory card, Zio will automatically reset to the default IP.
3.Zio Ethernet Video Stream Protocol
On the firmware v1.0.1 or higher, Zio stream video via RTP protocol, h264 encoder.
III. Qgroundcontrol Configuration
• General/Video setup as following
IV. Video stream with Gstreamer
In the case of using an embedded computer with the Gstreamer library, the video can be received via the command:
gst-launch-1.0 rtpbin name=rtpbin udpsrc caps='application/x-rtp, media=(string)video, clock-rate=(int)90000, encoding-name=(string)H264' port=5000 ! rtpbin.recv_rtp_sink_0 rtpbin. ! rtph264depay ! decodebin ! videoconvert ! autovideosink
Last updated