Hi all, I just started learning Tello programming using djitellopy. Most things work but I'm having problems with the streamon command. When I issue the command I get:
I had been looking at this problem for a while and I thought I had found the cause. Some people were experiencing problems with their firewall software. I am using WIndows 10 and am using the Windows Defender firewall. So I created a rule allowing UDP port 11111 to be allowed. Unfortunately, I am stilll getting the problem.
My code is very short and simple:
Any ideas on a solution?
Looks like a lot of people here are having the same problem:
Here
I'm running on windows and using Python 3.9.1. Some say to use an older version of Python.
[INFO] tello.py - 106 - Tello instance was initialized. Host: '192.168.10.1'. Port: '8889'.
[INFO] tello.py - 421 - Send command: 'command'
[INFO] tello.py - 445 - Response command: 'ok'
68
[INFO] tello.py - 421 - Send command: 'streamon'
[INFO] tello.py - 445 - Response streamon: 'ok'
[h264 @ 00000210761cb800] non-existing PPS 0 referenced
[h264 @ 00000210761cb800] non-existing PPS 0 referenced
[h264 @ 00000210761cb800] decode_slice_header error
[h264 @ 00000210761cb800] no frame!
[h264 @ 00000210761cb800] non-existing PPS 0 referenced
[h264 @ 00000210761cb800] non-existing PPS 0 referenced
[h264 @ 00000210761cb800] decode_slice_header error
[h264 @ 00000210761cb800] no frame!
I had been looking at this problem for a while and I thought I had found the cause. Some people were experiencing problems with their firewall software. I am using WIndows 10 and am using the Windows Defender firewall. So I created a rule allowing UDP port 11111 to be allowed. Unfortunately, I am stilll getting the problem.
My code is very short and simple:
# view video
from djitellopy import tello
import cv2
me = tello.Tello()
me.connect()
print(me.get_battery())
me.streamon()
while True:
img = me.get_frame_read().frame
img = cv2.resize(img, (360, 240))
cv2.imshow("Window View")
cv2.waitKey()
Any ideas on a solution?
Looks like a lot of people here are having the same problem:
Here
I'm running on windows and using Python 3.9.1. Some say to use an older version of Python.
Last edited: