Cosmostreamer for DJI Goggles2/Integra

From Cosmostreamer Wiki
Jump to navigation Jump to search

Product page

Video review

Video review from Joshua Bardwell

Supported Goggles

  • DJI Goggles2 (max output resolution 1080@60p)
  • DJI Integra (max output resolution 1080@60p)

Supported Air Units and drones

If goggles can be paired with a drone or air unit and shows video - the same video will be available in Cosmostreamer.

  • DJI O3 air unit
  • DJI air unit (old)
  • Caddx Vista (all models)
  • DJI FPV drone
  • DJI Avata
  • DJI Mini 3 Pro
  • DJI Air 3
  • DJI Mini 4 Pro


Cosmostreamer for DJI Goggles2/Integra can work on these boards:

Raspberry Pi 4B

Any RAM size. 1Gb, 2Gb, 4Gb, 8Gb.

  • Two micro-HDMI outs
  • Analog video out (CVBS, TV-out) in 3.5 mini-jack
  • DSI display may be used. If DSI display connected - only HDMI-0 may be used.
  • Wi-Fi 2.4/5 GHz
  • Ethernet 10/100/1000 Mbit/s
  • 2 USB 2.0 ports + 2 USB 3.0 ports
  • 1 USB-C port (used for DJI Goggles2/Integra connection)

Raspberry Pi Zero/ZeroW

  • Mini-HDMI port
  • Can be powered from the Goggles2/Integra
  • Limited functionality due slow CPU (HDMI output only)

Raspberry Pi Zero2W

  • Mini-HDMI port
  • Wi-Fi 2.4GHz/5GHz

Raspberry Pi 3B/3B+

Not supported due USB incompatibility

Installing the Cosmostreamer firmware

  1. Get a blank microSD card of 8GB or larger. Insert the microSD card into the card reader
  2. Download ZIP-archive with firmware content
  3. Extract .img file from downloaded ZIP archive
  4. Use Win32DiskImager on Windows or Balena Etcher on Mac and write .img file on microSD card
  5. Insert the microSD card into the Raspberry Pi
  6. If you have a monitor or a TV with HDMI input - plug it to the Raspberry Pi 4B HDMI-0 port (nearest to USB-C port)
  7. Plug a standard USB power supply or powerbank to the Raspberry Pi (go to chapter Power for Raspberry Pi). Raspberry Pi must start booting. A couple of reboots may be during the first boot process.

Power for Raspberry Pi

For using with DJI Goggles2/Integra Raspberry Pi 4 must be powered ONLY from GPIO or from PoE or via USB-C port with custom cable.

Power with GPIO (pins)

Use any USB cable, need to cut it and connect to the RPI only 2 wires - Red (5V) and Black (Gnd). Then you can use it with any standard USB power supply or powerbank.

Power with USB-C port

USB-C port on Raspberry Pi 4 is busy by Goggles2/Integra connection, so need to made a custom USB cable with additional part for power.

Power with PoE

Only for Raspberry Pi 4B and 3B+. Need to use PoE Hat.

Network connection


Only for Raspberry Pi versions with Ethernet port. Connect Ethernet cable to the Raspberry Pi Ethernet port at one side and home router or PC/Mac Ethernet port on another side


Connect your PC/Mac or smartphone to Wi-Fi network cosmostreamer, password 1234512345

Settings and controls


Also you could open Cosmostreamer web admin page in browser

"Device settings" in menu shown by click on Menu icon in right bottom corner.

Windows application

Download, install and run CosmoViewerNG application.

Mac application

Download, install and run CosmoViewerNG application.

Firmware update

  1. Run CosmoViewerNG for Win or for Mac or open web page and then open device settings, chapter "System"
  2. Download the Latest firmware update file
  3. Choose downloaded update file (with .csuf extension) in "Firmware update" field and press "Upload file" button
  4. Raspberry Pi must goes to reboot automatically after update installed

Changing camera type

In Cosmostreamer system terminology, a camera is any device that Cosmostreamer can work with. DJI Pocket, DJI Osmo, Goggles - this all a "camera".
MicroSD image with Cosmostreamer configured for "DJI Goggles2/Integra" by default, so not needed to change a "camera type". But if camera type was changed and need to change again - do next step:

  1. Open device settings in CosmoViewerNG application or in web interface
  2. Go to chapter "Info"
  3. Choose camera type "DJI Goggles2/Integra"
  4. Disable option "Allow auto detection" if enabled
  5. Don't forget to click "Save" button.

License key

License key is a text string, unique for each Raspberry Pi. Each camera type needs different license keys. It's possible to install multiple amount of license keys on one device and use this device for some camera types, i.e. Pocket Osmo, Pocket 2, and others. Need to buy license for correct operation process.

  1. Buy license key on a product page
  2. Make a photo of HDMI display or screenshot of the app with a QR image and send it in email on [email protected] for making a license key
  3. When you got a license key - use web interface or CosmoViewerNG application, menu "device settings" -> "License" and insert license key into field. And click "Install license" button.

DJI Goggles2/Integra connection

Custom USB-C to USB-C cable

Most stable method. Standard cable can't be used, need to made a custom cable. Take any USB-C to USB-C cable and cut the red wire inside (5 Volts lane).

Custom USB-C to USB-C cable combined with power

Stable method. Look at picture.

Standard USB-C cable and USB-C OTG adapter

This connection need to unplug/plug again the cable if no video.

Collaboration with DJI Goggles V1/V2

Exclusive mode

In a case of using Raspberry Pi 4 it is possible to use both types, V1/V2 and Goggles2/Integra, without a manual changing a "camera type".

Both licenses, for "DJI FPV Goggles V1/V2" and for "DJI Goggles2/Integra" must be already installed!
  1. Open device settings in CosmoViewerNG application or in web interface
  2. Go to chapter "Info"
  3. Choose camera type "DJI Goggles2/Integra" or "DJI FPV Goggles V1/V2"
  4. Enable option "Allow auto detection"
  5. Don't forget to click "Save" button.

Now Cosmostreamer will cyclically run one and another apps and if one type of Goggles is plugged - it will be used for video capture. Another goggles will be ignored.

Cooperative mode

Both DJI Goggles2/Integra and DJI FPV Goggles V1/V2 can work at the same time.

Both licenses, for "DJI FPV Goggles V1/V2" and for "DJI Goggles2/Integra" must be already installed!
  1. Open web admin page or run CosmoViewerNG application
  2. Open device settings
  3. Go to chapter "Info"
  4. Disable option "Allow auto detection"
  5. Go to chapter "Secondary camera"
  6. Choose "Secondary camera type" "DJI Goggles V1/V2"
  7. Choose where to show video, on HDMI-0 port, on HDMI-1 port or on DSI display
  8. If you want to show video fullscreen - enable option "Show fullscreen"
  9. If you want to show video in window - enter window params in format X, Y, W, H where X - horizontal offset from the left display side, Y - vertical offset from the top display side, W - window width, H - window height. For example: 50,50,640,400
  10. Click "Save" button


HDMI modes

Since one of the main use cases of the Cosmostreamer is video output via HDMI, it is useful to be able to set the HDMI output to the desired mode.
When HDMI cable is plugged to the Raspberry Pi before power on, default HDMI mode will be choosed during initial handshake between Raspberry Pi and HDMI display. Usually it is the maximal HDMI display resolution and framerate. If no HDMI cable plugged when Raspberry Pi powered on - default resolution 640x480 will be enabled and does not changed if HDMI display will be plugged. This resolution can be overrided in Cosmostreamer settings.

For Raspberry Pi4: HDMI mode setting is available only for HDMI-0 port!
  1. Open Device settings
  2. Go to chater "Display"
  3. Open tab "Main display"
  4. Check video output is "HDMI"
  5. Set needed HDMI mode. This mode will be used even if no HDMI cable is plugged before Raspberry Pi powered on.




Which goggles version is supported?

DJI Goggles2 and DJI Integra

Does it works with DJI FPV Goggles V1/V2?

No, need to use another camera type "DJI FPV Goggles V1/V2" (product page) with another license key

Clean HDMI video without OSD?

Goggles menu, Setting -> Advanced Camera Settings -> Camera View Recording -> OFF

Can I just unplug the power cable from the box?

Yes, the file system on the microSD is in read-only mode, so you can unplug the power cable without any problem