OpenHD
GitHubTelegramDonate
2.0
2.0
  • Introduction
  • General
    • Features
    • Getting Started
    • FAQ
    • Contributing
  • Hardware
    • Wiring
    • WiFi Adapters
    • Supported SBC's
    • Cameras
    • Displays
    • Antennas
    • Audio
  • Software Setup
    • Telemetry and OSD
    • SmartSync
  • RC Control
    • General
    • RC over MAVLink
    • RC over Serial
  • Advanced Setup
    • Bidirectional Telemetry
    • USB Tethering
    • WiFi Hotspot
    • Ethernet Hotspot
    • Ground Recording
    • Using only a USB Camera
    • Using only an IP Camera
    • Using an IP or USB Camera as second camera
    • Bandwidth switching
    • LTE Connection
    • Ground Power Monitoring
  • Ground Station Software
    • QOpen.HD (recommended)
    • Mission Planner
    • QGroundControl
    • Tower
    • FPV_VR
    • GStreamer
    • FishingFanCam
    • RaspberryPi Camera Viewer
  • Developer Corner
    • The Open.HD Ecosystem
    • Making a Release
    • Update packages on a Pi
    • Change packet source on a Pi
    • Building an Image
    • Essentials
    • QOpenhd Tips
Powered by GitBook
On this page

Was this helpful?

Export as PDF
  1. Advanced Setup

Using only a USB Camera

Open.HD currently detects whether it is an Air or Ground unit by looking for an CSI camera. If one is found, the system assumes the role of the Air unit. When you use a USB camera as the main camera, the system will not find a CSI connected camera and will assume the role of Ground unit.

To prevent this, place a file called air.txt on the boot partition of the SD Card you use in the Air SBC. This forces the Open.HD system into Air unit mode.

Inside openhd-settings-1.txt change these settings:

SecondaryCamera=No
IsCamera1Enabled=0

To

SecondaryCamera=USB
IsCamera1Enabled=1

Now enable the band switcher:

IsBandSwicherEnabled=1

And remove the comment before this line

#USBCamera="gst-launch-1.0 videotestsrc... 

to

USBCamera="gst-launch-1.0 videotestsrc... 

Now turn on the Air and Ground unit. If all is working as intended you will see a test video stream. Now that you know the basics are working we can send the actual video by changing the USBCamera setting to an appropriate pipeline for your USB camera.

Since this depends heavily on the camera used there is no single solution. We are working on adding predefined pipelines for known cameras. Several examples are included in the config file for now, use these as a starting point.

PreviousGround RecordingNextUsing only an IP Camera

Last updated 2 years ago

Was this helpful?