Your screen, in your DJI goggles.
Download · Latency · Contributing
brag.mp4
Goggles Bridge streams a Windows or Mac display to DJI Goggles 2 or DJI Goggles Integra over a USB cable. The goggles keep their stock firmware and show the stream in Virtual Flight mode. Your simulator and controller run on the computer.
The desktop app for Windows and Mac includes a setup guide and installs updates from its window.
At 1080p100, the median monitor-to-lens delay is about 12 ms on Windows and about 10 ms on macOS. For more information, see Measure video delay.
The bridge detects the model when it connects:
| Goggles | Identity | Tested firmware |
|---|---|---|
| DJI Goggles 2 | E3T ZV900 |
01.11.00.00, 01.12.00.00, 01.14.00.00 (latest) |
| DJI Goggles Integra | E3T ZV901 |
01.09.00.00 |
On Windows, you need the following hardware and software:
- 64-bit Windows and Python 3.10 or later.
- An NVIDIA GPU with NVENC support, or an AMD GPU with AMF support.
- FFmpeg with
gfxcaptureandh264_nvenc, orddagrabandh264_amffor AMD. To install it, runwinget install Gyan.FFmpeg. - DJI Assistant 2 (Consumer Drones Series), which installs the DJI USB driver 5.0.0.7. See USB and driver requirements.
Tests used FFmpeg build 2026-11-05-git-0893feba65, NVIDIA driver 610.74, and AMD driver 32.0.21045.16010 on a Radeon RX 6700 XT.
If only the AMD driver is installed, the bridge uses AMF with Desktop Duplication (ddagrab). Otherwise, it uses NVENC with Graphics Capture (gfxcapture). To choose a different encoder or capture method, pass --encoder or --capture.
On macOS, you need the following:
- macOS and Python 3.10 or later.
- Apple's command-line developer tools, which build the screen capture helper on the first run.
- Homebrew, for libusb. Before macOS 12.3, the bridge also needs FFmpeg.
- A USB-A-to-USB-C cable. If the Mac has only USB-C ports, add a USB-C-to-USB-A adapter. Over a USB-C-to-USB-C cable, the goggles take the USB host role and the Mac can't detect them.
The stream script offers to install whatever is missing. Tests used an M2 Pro MacBook Pro with macOS 27.0, Swift 6.4.2, and Homebrew FFmpeg 8.1.1.
To stream from Windows without installing Python or FFmpeg, use the Goggles Bridge app:
- Install DJI Assistant 2 (Consumer Drones Series) for its USB driver.
- Download
GogglesBridge-VERSION-Setup.exefrom Releases, and then run it. The installer isn't signed, so Windows might show a SmartScreen warning. - Open Goggles Bridge, and then follow the setup guide.
The app requires 64-bit Windows 10 or 11, an NVIDIA or AMD GPU, and the Microsoft Edge WebView2 Runtime, which Windows 11 includes.
On a Mac with Apple silicon and macOS 12.3 or later, download GogglesBridge-VERSION.dmg from Releases, and then drag Goggles Bridge to Applications. The setup guide asks for screen recording permission. Connect the goggles with a USB-A-to-USB-C cable.
To update the app, select Update to VERSION at the bottom of the window.
To run the app from the repository, install its dependencies and start it:
python -m pip install -r requirements-app.txt
python scripts/goggles_bridge_app.pyTo build the installer or the Mac app, see the packaging notes.
-
Power on the goggles, connect a USB data cable, and open More > DJI Virtual Flight. On a Mac, when macOS asks whether the accessory can connect, select Allow.
-
From the repository root, install the Python dependencies.
On Windows, run:
python -m pip install -r requirements.txt
On macOS, run:
python3 -m venv .venv .venv/bin/python -m pip install -r requirements.txt
-
Start the stream.
On Windows, run:
python scripts/stream_desktop.pyOn macOS, run:
.venv/bin/python scripts/stream_desktop.py
On Windows, the script finds the DJI driver and FFmpeg automatically. If either is installed somewhere else, pass
--dllor--ffmpegwith the file path.On a Mac, the script offers to install anything that's missing, and it builds the screen capture helper on the first run. If the screen can't be captured, go to System Settings > Privacy & Security and allow screen recording for your terminal.
The default output is 1920x1080 at a 100 fps encoder target. Windows uses 32 Mbps, or automatically selects 24 Mbps at 60 fps and 30 Mbps at 75 fps. macOS uses 20 Mbps. To stop streaming, press Ctrl+C. The bridge writes logs to work/logs/.
Use these options to adjust the stream:
| Option | Values |
|---|---|
--fps |
60, 75, 90, 100 |
--bitrate-mbps |
8, 10, 12, 16, 20, 24. On Windows, also 30, 32, and 40 |
--display |
Monitor index, starting at 0 |
--hide-cursor |
Hide the mouse pointer |
--capture |
Windows: gfxcapture or ddagrab. macOS: screencapturekit or avfoundation |
--encoder |
Windows: nvenc or amf. The default depends on the installed GPU driver |
Run python scripts/stream_desktop.py --help for all options.
For example, use python scripts/stream_desktop.py --fps 90 to target 90 fps.
These values set the stream rate, not the goggles' panel refresh rate. Lower
rates provide more bits per frame at the same bitrate, but increase the time
between frames. The 100 fps target has the shortest frame interval.
Windows encoding uses gradual refresh to reduce periodic compression blur. It
also sends a keyframe every three seconds, and more often in the first three,
so the goggles can start decoding at any point. To change the interval, use
--keyframe-seconds.
For details, see the quality measurements and reproduction steps.
FFmpeg 9.0 and earlier capture a frame only when the screen changes. On a still desktop, the bridge then reports only a few frames per second. Motion restores the full rate.
Run the tests from the repository root:
python -m unittest discover -s tests -vSee the video-delay measurement guide, PC protocol, and reverse-engineering data and tools.
See the contribution guide to report bugs, submit changes, or share protocol research.
Copyright (C) 2026 Goggles Bridge contributors.
The original code and documentation are licensed under the GNU General Public License v3.0 only (GPL-3.0-only). Third-party materials retain their own licenses.

