[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-113162":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":10,"language":11,"languages":10,"totalLinesOfCode":10,"stars":12,"forks":13,"watchers":14,"openIssues":15,"contributorsCount":16,"subscribersCount":16,"size":16,"stars1d":16,"stars7d":17,"stars30d":18,"stars90d":16,"forks30d":16,"starsTrendScore":19,"compositeScore":20,"rankGlobal":10,"rankLanguage":10,"license":21,"archived":22,"fork":22,"defaultBranch":23,"hasWiki":22,"hasPages":22,"topics":24,"createdAt":10,"pushedAt":29,"updatedAt":30,"readmeContent":31,"aiSummary":32,"trendingCount":16,"starSnapshotCount":16,"syncStatus":33,"lastSyncTime":34,"discoverSource":35},113162,"goggles-bridge","Ammaar-Alam\u002Fgoggles-bridge","Ammaar-Alam","USB display bridge for stock DJI Goggles 2 and Goggles Integra; supported on both Windows and macOS","",null,"Python",92,11,1,3,0,9,13,5,49.04,"GNU General Public License v3.0",false,"main",[25,26,27,28],"dji","drone","fpv","goggles","2026-11-17 18:08:03","2026-11-22 02:22:26","\u003Cp align=\"center\">\n  \u003Cimg src=\"goggles_bridge\u002Fapp\u002Fui\u002Ficon.svg\" width=\"96\" alt=\"\">\n\u003C\u002Fp>\n\n\u003Ch1 align=\"center\">Goggles Bridge\u003C\u002Fh1>\n\n\u003Cp align=\"center\">Your screen, in your DJI goggles.\u003C\u002Fp>\n\n\u003Cp align=\"center\">\n  \u003Ca href=\"https:\u002F\u002Fgithub.com\u002FAmmaar-Alam\u002Fgoggles-bridge\u002Freleases\u002Flatest\">Download\u003C\u002Fa> ·\n  \u003Ca href=\"docs\u002FLATENCY.md\">Latency\u003C\u002Fa> ·\n  \u003Ca href=\"CONTRIBUTING.md\">Contributing\u003C\u002Fa>\n\u003C\u002Fp>\n\nhttps:\u002F\u002Fgithub.com\u002Fuser-attachments\u002Fassets\u002F273c06b9-3275-4446-9f38-1e03a633cfc1\n\nGoggles 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.\n\nThe desktop app for Windows and Mac includes a setup guide and installs updates from its window.\n\nAt 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](docs\u002FLATENCY.md).\n\n## Supported goggles\n\nThe bridge detects the model when it connects:\n\n| Goggles | Identity | Tested firmware |\n| --- | --- | --- |\n| DJI Goggles 2 | `E3T ZV900` | 01.11.00.00, 01.12.00.00, 01.14.00.00 (latest) |\n| DJI Goggles Integra | `E3T ZV901` | 01.09.00.00 |\n\n## Requirements\n\nOn Windows, you need the following hardware and software:\n\n- 64-bit Windows and Python 3.10 or later.\n- An NVIDIA GPU with NVENC support.\n- FFmpeg with `gfxcapture` and `h264_nvenc`. To install it, run `winget install Gyan.FFmpeg`.\n- [DJI Assistant 2 (Consumer Drones Series)](https:\u002F\u002Fwww.dji.com\u002Fdownloads\u002Fsoftwares\u002Fdji-assistant-2-consumer-drones-series), which installs the DJI USB driver 5.0.0.7. See [USB and driver requirements](docs\u002FPROTOCOL.md#usb-and-session).\n\nTests used FFmpeg build `2026-11-05-git-0893feba65` and NVIDIA driver 610.74.\n\nOn macOS, you need the following:\n\n- macOS and Python 3.10 or later.\n- Apple's command-line developer tools, which build the screen capture helper on the first run.\n- [Homebrew](https:\u002F\u002Fbrew.sh), for libusb. Before macOS 12.3, the bridge also needs FFmpeg.\n- 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.\n\nThe 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.\n\n## Use the desktop app\n\nTo stream from Windows without installing Python or FFmpeg, use the Goggles Bridge app:\n\n1. Install [DJI Assistant 2 (Consumer Drones Series)](https:\u002F\u002Fwww.dji.com\u002Fdownloads\u002Fsoftwares\u002Fdji-assistant-2-consumer-drones-series) for its USB driver.\n2. Download `GogglesBridge-VERSION-Setup.exe` from [Releases](https:\u002F\u002Fgithub.com\u002FAmmaar-Alam\u002Fgoggles-bridge\u002Freleases), and then run it. The installer isn't signed, so Windows might show a SmartScreen warning.\n3. Open Goggles Bridge, and then follow the setup guide.\n\nThe app requires 64-bit Windows 10 or 11, an NVIDIA GPU, and the Microsoft Edge WebView2 Runtime, which Windows 11 includes.\n\nOn a Mac with Apple silicon and macOS 12.3 or later, download `GogglesBridge-VERSION.dmg` from [Releases](https:\u002F\u002Fgithub.com\u002FAmmaar-Alam\u002Fgoggles-bridge\u002Freleases), 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.\n\n![The Goggles Bridge window on a Mac, asking for screen recording permission. The numbers are simulated.](docs\u002Fimages\u002Fapp-window-mac.png)\n\nTo update the app, select **Update to VERSION** at the bottom of the window.\n\n![The Goggles Bridge window while streaming. A drawing shows a computer connected to goggles, next to the stream settings. The numbers are simulated.](docs\u002Fimages\u002Fapp-window.png)\n\nTo run the app from the repository, install its dependencies and start it:\n\n```powershell\npython -m pip install -r requirements-app.txt\npython scripts\u002Fgoggles_bridge_app.py\n```\n\nTo build the installer or the Mac app, see the [packaging notes](packaging\u002FREADME.md).\n\n## Start streaming from the command line\n\n1. 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**.\n2. From the repository root, install the Python dependencies.\n\n   On Windows, run:\n\n   ```powershell\n   python -m pip install -r requirements.txt\n   ```\n\n   On macOS, run:\n\n   ```bash\n   python3 -m venv .venv\n   .venv\u002Fbin\u002Fpython -m pip install -r requirements.txt\n   ```\n\n3. Start the stream.\n\n   On Windows, run:\n\n   ```powershell\n   python scripts\u002Fstream_desktop.py\n   ```\n\n   On macOS, run:\n\n   ```bash\n   .venv\u002Fbin\u002Fpython scripts\u002Fstream_desktop.py\n   ```\n\n   On Windows, the script finds the DJI driver and FFmpeg automatically. If either is installed somewhere else, pass `--dll` or `--ffmpeg` with the file path.\n\n   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.\n\nThe 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\u002Flogs\u002F`.\n\nUse these options to adjust the stream:\n\n| Option | Values |\n| --- | --- |\n| `--fps` | `60`, `75`, `90`, `100` |\n| `--bitrate-mbps` | `8`, `10`, `12`, `16`, `20`, `24`. On Windows, also `30`, `32`, and `40` |\n| `--display` | Monitor index, starting at `0` |\n| `--hide-cursor` | Hide the mouse pointer |\n| `--capture` | Windows: `gfxcapture` or `ddagrab`. macOS: `screencapturekit` or `avfoundation` |\n\nRun `python scripts\u002Fstream_desktop.py --help` for all options.\n\nFor example, use `python scripts\u002Fstream_desktop.py --fps 90` to target 90 fps.\nThese values set the stream rate, not the goggles' panel refresh rate. Lower\nrates provide more bits per frame at the same bitrate, but increase the time\nbetween frames. The 100 fps target has the shortest frame interval.\n\nWindows encoding uses gradual refresh to reduce periodic compression blur. It\nalso sends a keyframe every three seconds, and more often in the first three,\nso the goggles can start decoding at any point. To change the interval, use\n`--keyframe-seconds`.\nFor details, see the [quality measurements and reproduction steps](docs\u002Fresearch\u002FWINDOWS_QUALITY.md).\n\nFFmpeg 9.0 and earlier capture a frame only when the screen changes. On a still\ndesktop, the bridge then reports only a few frames per second. Motion restores\nthe full rate.\n\n## Run tests\n\nRun the tests from the repository root:\n\n```powershell\npython -m unittest discover -s tests -v\n```\n\nSee the [video-delay measurement guide](docs\u002FLATENCY.md), [PC protocol](docs\u002FPROTOCOL.md), and [reverse-engineering data and tools](docs\u002Fresearch\u002FREADME.md).\n\n## Contributing\n\nSee the [contribution guide](CONTRIBUTING.md) to report bugs, submit changes, or share protocol research.\n\n## License\n\nCopyright (C) 2026 Goggles Bridge contributors.\n\nThe original code and documentation are licensed under the [GNU General Public License v3.0 only](LICENSE) (`GPL-3.0-only`). Third-party materials retain their own licenses.\n","Goggles Bridge 是一款将 Windows 或 macOS 桌面屏幕实时流式传输至原厂固件的 DJI Goggles 2 和 Goggles Integra 的 USB 显示桥接工具。它利用系统原生屏幕捕获（Windows 上基于 NVENC 编码，macOS 上基于 AVFoundation）与 USB 协议直连，无需刷机或修改固件，即可在 goggles 的 Virtual Flight 模式下低延迟显示桌面内容；实测端到端延迟约 10–12 ms。适用于 FPV 飞行模拟器、无人机操控训练等需将 PC 端仿真画面实时投射至第一视角眼镜的场景。",2,"2026-11-24 04:45:00","CREATED_QUERY"]