Hello Tello Pilot!
Join our DJI Tello community & remove this banner.
Sign up

Tello Video Web Streaming

Joined
Nov 22, 2018
Messages
5
Likes
2
#21
On my Mac works great !
Great to hear that it is possible. I would very much like to find out what is needed to make my Mac work with ffmpeg. I can show the video on my Mac using Python libraries pygame and cv2, but with ffmpeg I've had no succes so far.
My Mac IOS is Mojave (MacBook Pro 2018 model) and for ffmpeg I downloaded a static ffmpeg build from ffmpeg.org. Could it be permissions? (I used chmod +x ffmpeg) Any other suggestions?
 
Joined
Nov 22, 2018
Messages
5
Likes
2
#23
On my Mac works great !
That made me try again and I found the problem: libsdl was missing from my ffmpeg build

I solved the problem with:

brew reinstall sdl2 ffmpeg

Then, aften 'command' and 'streamon' in af Python script, it worked on my Mac with:

FFmpeg -i udp://192.168.10.1:11111 -f sdl "VideoWindow"
 

paulesp

New member
Joined
Feb 5, 2019
Messages
1
Likes
0
#24
A simple way to display video would be ffplay, which is included in ffmpeg.
I got it to work like this.
  1. Send "command" and "streamon" to udp port of the tello 8889. I use the Python Script provided by Ryze to do this, but feel free to use a different program.
  2. The tello will now be sending an h264 stream over udp on port 11111.
  3. Use the following command to display the stream: ffplay -probesize 32 -i udp://@:11111 -framerate 30
("-probesize 32" makes the delay of the stream minimal.)

I cant send streamon with python script, shows Unkown Command!
 

New Threads

Members online

Forum statistics

Threads
2,473
Messages
19,081
Members
5,838
Latest member
briancrisbravo