Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

non-existing PPS 0 referenced no frame error #217

Open
semikernel opened this issue Mar 20, 2024 · 2 comments
Open

non-existing PPS 0 referenced no frame error #217

semikernel opened this issue Mar 20, 2024 · 2 comments

Comments

@semikernel
Copy link

My code is simple as followings:

from djitellopy import tello
import cv2
import time

me = tello.Tello()
me.connect()
me.streamon()

print(me.get_battery())
time.sleep(5)

while True:

    img = me.get_frame_read().frame
    img = cv2.resize(img,(360,240))
    cv2.imshow("Image",img)
    cv2.waitKey(100)

However, I didn't get a video stream from tello drone in my computer, and the terminal output log is :

INFO] tello.py - 130 - Tello instance was initialized. Host: '192.168.10.1'. Port: '8889'.
[INFO] tello.py - 439 - Send command: 'command'
[INFO] tello.py - 463 - Response command: 'ok'
[INFO] tello.py - 439 - Send command: 'streamon'
[INFO] tello.py - 463 - Response streamon: 'ok'
68
non-existing PPS 0 referenced
non-existing PPS 0 referenced
decode_slice_header error
no frame!

I tried a lot of time but still not woked. So how could I fix that problem?

@yam1917
Copy link

yam1917 commented Mar 23, 2024

same issue

@CastleChen339
Copy link

Wait for a while, it will take some time for the camera to turn on

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants