This is a straightforward port of the dji fpv videooutscript (from here) to golang
The intersting thing is that it seems to start working in low power mode as well
Also this script should support unplugging and replugging USB, disconnecting / reconnecting the drone and should not care if it is started while the goggles are off
I usually run this like so:
go run . | ffplay -i - -fast -flags2 fast -fflags nobuffer -flags low_delay -strict experimental -vf "setpts=N/60/TB" -framedrop -sync ext -probesize 32 -analyzeduration 0
Crosscompilation does not work in an easy way due to the dependency on libusb
If you find any new intersting things about this let me know on the discordserver @s00500 or here in the issue section
For now I tested this with macOS bigsur, no additional drivers installd, although I might have a few on my computer anyway
Used Caddx Vista and GooglesV2
Next thing todo is testing this on a Raspberry Pi
- https://github.com/fpv-wtf/voc-poc
- https://gist.github.com/fichek/c69326dba7e5a9dfb6ecc2c9e4e93224
- https://github.com/district-michael/fpv_live
Greetings, Lukas
My Website: lbsfilm.at