Drone Software Development
  • Introduction
  • Introduction
    • Drone Software Development
  • Software Development Environment
    • Software Development Environment
      • Docker
      • Manual
        • OpenCV
        • PX4
        • JMAVSim
        • MAVLink
        • Ardupilot
        • SITL Simulator
        • DroneKit
        • DroneCore
        • QGroundControl
        • APM Planner
        • GStreamer
  • Drone Solution Architect
    • Drone Solution Architect
    • Unmanned Aerial Vehicle
    • History
    • Flight Controller Hardware
    • Flight Code
    • Communication
    • Ground Control Station
    • Simulation
    • Developer API
    • Drone Software Developer
    • Unmanned Aerial Systems
    • Market Ecosystem
  • Dronecode Project
    • Dronecode Project
  • Virtual Drone Solution
    • Virtual Drone Solution
    • Flight Controller Operating System
      • NuttX
    • Flight Code
      • PX4
        • Architecture
        • DriverFramework
        • Shell
      • Ardupilot
      • Software In The Loop
        • DroneKit SITL
          • API
        • jMAVSim
        • Ardupilot SITL
          • X-Plane
      • Hardware In The Loop
    • Communication
      • MAVLink
        • PyMAVLink
    • Ground Control Station
      • QGroundControl
      • APM Planner 2
      • MAVProxy
    • Developer API
      • DroneKit
      • DroneCore
    • Features
      • Video Streaming
      • Joystick
      • Global Positioning System
    • Uses Cases
      • Xunán Kab
      • Maax
      • Tasks
      • Services
        • Telemetry
        • Image
      • Applications
  • Computer Vision
    • Computer Vision
    • OpenCV
      • Object Detection
      • Face Detection
  • Hybrid Drone Solution
    • Hybrid Drone Solution
    • Flight Controller Hardware
      • Pixhawk
    • Flight Code
      • Ardupilot
      • PX4
    • Companion Computer
      • Raspberry Pi
      • Intel Aero Platform
    • Ground Control Station
      • QGroundControl
    • Developer API
      • DroneKit
    • Computer Vision
  • Autonomous Drone Solution
    • Autonomous Drone Solution
    • FlyTbase
    • Paparazzi UAV
Powered by GitBook
On this page
  • Video Streaming
  • Video Streaming :: Camera
  • Video Streaming :: GStreamer
  • Video Streaming :: GStreamer :: Localhost Video Test Source
  • Video Streaming :: GStreamer :: Localhost Video Test Source Ball
  • Video Streaming :: GStreamer :: QGroundControl Video Test Source
  • Video Streaming :: GStreamer :: QGroundControl Video Test Source Ball
  • Video Streaming :: GStreamer :: QGroundControl V4L2 Source
  1. Virtual Drone Solution
  2. Features

Video Streaming

PreviousFeaturesNextJoystick

Last updated 7 years ago

Video Streaming

Streaming media is multimedia that is constantly received by and presented to an end-user while being delivered by a provider.

Video Streaming :: Camera

Logitech HD PRO WEBCAM C920 Full 1080p high definition, H.264 video compression.

Video Streaming :: GStreamer

GStreamer is a library for constructing graphs of media-handling components. The applications it supports range from simple Ogg/Vorbis playback, audio/video streaming to complex audio (mixing) and video (non-linear editing) processing. Applications can take advantage of advances in codec and filter technology transparently. Developers can add new codecs and filters by writing a simple plugin with a clean, generic interface

Video Streaming :: GStreamer :: Localhost Video Test Source

Video Receiver

user@workstation:~$ gst-launch-1.0 udpsrc port=5600 caps='application/x-rtp, media=(string)video, clock-rate=(int)90000, encoding-name=(string)H264' ! rtph264depay ! avdec_h264 ! autovideosink fps-update-interval=1000 sync=false

Test with Video Test Source

user@workstation:~$ gst-launch-1.0 videotestsrc ! video/x-raw,width=640,height=480 ! videoconvert ! x264enc ! rtph264pay ! udpsink host=127.0.0.1 port=5600

Video Streaming :: GStreamer :: Localhost Video Test Source Ball

Test with Video Test Source Ball

user@workstation:~$ gst-launch-1.0 videotestsrc pattern=ball ! x264enc ! rtph264pay ! udpsink host=127.0.0.1 port=5600

Video Streaming :: GStreamer :: QGroundControl Video Test Source

  1. QGroundControl Settings

  2. QGroundControl Settings -> General

  3. QGroundControl Settings -> General -> Video

Video Source: UDP Video Stream
UDP Port: 5600
Aspect Ratio: 1.77777
Grid Lines: Hide

Stream Video Test Source

user@workstation:~$ gst-launch-1.0 videotestsrc ! video/x-raw,width=640,height=480 ! videoconvert ! x264enc ! rtph264pay ! udpsink host=127.0.0.1 port=5600

Video Streaming :: GStreamer :: QGroundControl Video Test Source Ball

Stream Video Test Source Ball

user@workstation:~$ gst-launch-1.0 videotestsrc pattern=ball ! x264enc ! rtph264pay ! udpsink host=127.0.0.1 port=5600

Video Streaming :: GStreamer :: QGroundControl V4L2 Source

QGroundControl Setup

  1. QGroundControl Settings

  2. QGroundControl Settings -> General

  3. QGroundControl Settings -> General -> Video

Video Source: UDP Video Stream
UDP Port: 5600
Aspect Ratio: 1.77777
Grid Lines: Hide

Stream Camera V4L2 Driver Input

user@workstation:~$ gst-launch-1.0 v4l2src ! video/x-raw,width=640,height=480 ! x264enc ! rtph264pay ! udpsink host=127.0.0.1 port=5600

Video4Linux V4L for short, is a collection of device drivers and an API for supporting realtime video capture on Linux systems.[1] It supports many USB webcams, TV tuners, and related devices, standardizing their output, so programmers can easily add video support to their applications. MythTV, tvtime and TVHeadend are typical applications that use the V4L framework.

Wikipedia
Homepage
Homepage
Gstreamer: An Overview
UVC H264 Encoding Cameras Support in GStreamer
https://stackoverflow.com/questions/46219454/how-to-open-a-gstreamer-pipeline-from-opencv-with-videowriter
Wikipedia