Skip to content

Custom video stream

Fredia Huya-Kouadio edited this page May 16, 2016 · 2 revisions

Starting with Tower v3.2.1, you can pipe a custom video stream to the Tower video widget.

Notes:

This feature has been successfully tested with gstreamer running on an Ubuntu machine, and providing a h264 encoded video stream. The gstreamer pipeline used is:

gst-launch videotestsrc ! 'video/x-raw, width=1280, height=720, framerate=(fraction)24/1' ! x264enc ! rtph264pay ! udpsink port=<device_port> host=<device_ip>

Where <device_ip> corresponds to your device's IP address, and <device_port> the UDP port from which to receive the video stream.

Tower Guide

  • Navigate to Settings -> User Interface settings_user_interface

  • Click on Widgets Preferences widgets_preference

  • Enable the Video widget and click on the gear icon widgets_list_screen

  • In the video widget preference screen, select Custom video stream, and enter the UDP Port the video is being streamed at. custom_video_stream_preferences

  • Go back to the flight screen, and connect to your vehicle. If configured correctly, the video widget will start displaying the custom video stream! video_stream_example