- Joined
- Dec 22, 2018
- Messages
- 2
- Reaction score
- 1
Hi everyone,
I'm new to Tello and the SDK. I've gotten to the point where I can control the drone via my Android app. Now I want to display the video stream. After issuing the "streamon" command I'm receiving data on port 11111.
From what I've read it's raw H.264. From the one Python script I've read that uses the "streamon" command it appends each packet until the packet size is not 1460 and then passes the appended data to a H.264 decoder to extract the frames.
I tried that and tested it with ffmpeg to extract the frames but it didn't find any (ffmpeg -i "frames.h264" -c:v copy -f mp4 "frames.mp4").
I don't want to use Ffmpeg/Mplayer/VLC or similar video streaming players, I want to do it myself.
So my question is, what is the format of the data I'm receiving?
I'm new to Tello and the SDK. I've gotten to the point where I can control the drone via my Android app. Now I want to display the video stream. After issuing the "streamon" command I'm receiving data on port 11111.
From what I've read it's raw H.264. From the one Python script I've read that uses the "streamon" command it appends each packet until the packet size is not 1460 and then passes the appended data to a H.264 decoder to extract the frames.
I tried that and tested it with ffmpeg to extract the frames but it didn't find any (ffmpeg -i "frames.h264" -c:v copy -f mp4 "frames.mp4").
I don't want to use Ffmpeg/Mplayer/VLC or similar video streaming players, I want to do it myself.
So my question is, what is the format of the data I'm receiving?