Any ideas to implement this on the Windows based Processing
It is based on Georg Haiders GLVideo Lib for processing.
I played a little bit to decode the video stream from Tello by myself.
Aim is to have it on a Windows based PC, but I still struggling with that.
Just a few changes using Georg’s GO Pro example and it works like a charm.
But I have no idea how to use the default video lib to view the udp stream from a Tello.
/**
* This will display live video from a Tello camera connected via WiFi.
* Code & detective work by Gal Nissim & Andres Colubri.
*
* More about GStreamer pipelines:
* https://gstreamer.freedesktop.org/data/doc/gstreamer/head/manual/html/
*
*/
import gohai.glvideo.*;
import java.io.*;
import java.net.*;
GLVideo video;
void setup() {
size(320, 240, P2D);
// we connect to Tello via this custom GStreamer pipeline
video = new GLVideo(this, "udpsrc port=11111 ! decodebin", GLVideo.NO_SYNC);
video.play();
}
void draw() {
background(0);
if (video.available()) {
video.read();
}
image(video, 0, 0, width, height);
}
To whom it may concern, Tello is a fancy little quadrocopter from DJI comming with a simple SDK. There a implementations based on Phython, C#, GO, but it looks like that I’m the only one Worldwide which a looking from a Processing perspective.
Which is, just kidding, a unique selling point for myself ;->