Skip to content
This repository has been archived by the owner on Feb 25, 2021. It is now read-only.

no picture showed #16

Open
WangsunLiu opened this issue Aug 1, 2019 · 5 comments
Open

no picture showed #16

WangsunLiu opened this issue Aug 1, 2019 · 5 comments

Comments

@WangsunLiu
Copy link

WangsunLiu commented Aug 1, 2019

I tested the program by code:

`from tello import Tello

tello = Tello()
tello.command()
tello.streamon()
tello.wait(10)
tello.streamoff()
`

and here's what I got:
image

And there is no window show up to let me see the video as it supposed to be. When I want make it fly it excuted very well. What's the problem?

Is it because of decoder?Do I need a extra decoder to make it work?

I'm using windows 8.1, with python3.7.

Thank you so much.

@ezrafielding
Copy link
Owner

easyTello uses OpenCV-Python to display video. When 'streamon' is called an OpenCV window should be opened to view the video stream. I haven't been able to test easyTello on Windows 8.1 so I'm not sure if it's an issue with the OS or if your environment doesn't like the way I'm calling OpenCV. What's weird is that there are no errors showing up which makes it difficult to diagnose. Maybe check if Windows (or something else on your system) is blocking OpenCV from opening. Hope this helps. Let me know if anything else comes up

@WangsunLiu
Copy link
Author

WangsunLiu commented Sep 3, 2019 via email

@CrashxZ
Copy link

CrashxZ commented Feb 18, 2020

Hi, I am getting the same behaviour, I have all the dependencies sorted out.
I am using Ubuntu 18.04.
And I figured it was not a firewall issue, I think its an open cv issue,

"IMPORTANT NOTE MacOS and Linux wheels have currently some limitations:

video related functionality is not supported (not compiled with FFmpeg)
for example cv2.imshow() will not work (not compiled with GTK+ 2.x or Carbon support)"

Do you have a fix ? or can you tell me how you installed opencv?

@CrashxZ
Copy link

CrashxZ commented Feb 18, 2020

Also just in case can you tell me which port does it use to listen to the video? is it 9617?

@WangsunLiu
Copy link
Author

WangsunLiu commented Mar 6, 2020 via email

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

No branches or pull requests

3 participants