-
Notifications
You must be signed in to change notification settings - Fork 291
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
Error: video recv: timeout #29 #77
Comments
@hanyazou . I am having same issue too |
@hanyazou , same here on windows 10 @ python 3.8 Tello: 23:09:15.264: Info: start video thread |
I had the same issues, comments here worked for a few of us Windows users: #78 (comment) |
Same issue on Ubuntu 18.04 and Python 3.8 |
I had the same issue for months, no solutions so far.... |
I think I found a solution for this.
Alternatively, you can add the call to |
@samlaf are you sure that your solution works? I also tried this in the keyboard_and_video.py example but it did not work. What do you mean by "Alternatively, you can add the call to wait_for_connection directly inside connect"? you mean like
... because this also does not work. Completely black window, even the status is not shown anymore on the upper left. |
Yes that is what I meant, as you can see from looking at the pull request.
I dont quite remember the details though... its been a while, sorry.
…On Thu, Aug 19, 2021 at 5:47 PM Helge543 ***@***.***> wrote:
@samlaf <https://github.com/samlaf> are you sure that your solution
works? I also tried this in the keyboard_and_video.py example but it did
not work. What do you mean by "Alternatively, you can add the call to
wait_for_connection directly inside connect"? you mean like this ...
drone.connect(drone.wait_for_connection(10.0)) ... because this does not
work.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#77 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ACHI4PAIYY7W3B3ZPMI62X3T5V3VTANCNFSM4KXKY5NA>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&utm_campaign=notification-email>
.
|
Hi, I am trying to get the video from tello, and I am still getting this error ( Error: video recv: timeout)
Its the same from issue #29
Here is the log:
mainak@mainak:~$ python -m tellopy.examples.video_effect
Tello: 02:13:07.741: Info: send connection request (cmd="conn_req:9617")
Tello: 02:13:07.742: Info: state transit State::disconnected -> State::connecting
Tello: 02:13:07.742: Info: start video thread
Tello: 02:13:07.742: Info: video receive buffer size = 425984
Tello: 02:13:07.771: Info: connected. (port=9617)
Tello: 02:13:07.771: Info: send_time (cmd=0x46 seq=0x01e4)
Tello: 02:13:07.772: Info: state transit State::connecting -> State::connected
Tello: 02:13:07.775: Info: get video stream
Tello: 02:13:07.775: Info: start video (cmd=0x25 seq=0x01e4)
Tello: 02:13:07.821: Info: recv: ack: cmd=0x34 seq=0x0000 cc 60 00 27 90 34 00 00 00 00 72 a5
Tello: 02:13:07.821: Info: recv: ack: cmd=0x20 seq=0x0000 cc 60 00 27 b0 20 00 00 00 00 42 b9
Tello: 02:13:07.822: Info: recv: ack: cmd=0x34 seq=0x0000 cc 60 00 27 90 34 00 00 00 00 72 a5
Tello: 02:13:07.823: Info: recv: ack: cmd=0x20 seq=0x0000 cc 60 00 27 b0 20 00 00 00 00 42 b9
Tello: 02:13:13.745: Error: video recv: timeout
Tello: 02:13:18.750: Error: video recv: timeout
Tello: 02:13:23.756: Error: video recv: timeout
Tello: 02:13:28.769: Error: video recv: timeout
Tello: 02:13:33.769: Error: video recv: timeout
Traceback (most recent call last):
File "/home/mainak/.local/lib/python2.7/site-packages/tellopy/examples/video_effect.py", line 17, in main
container = av.open(drone.get_video_stream())
File "av/container/core.pyx", line 274, in av.container.core.open
File "av/container/core.pyx", line 226, in av.container.core.Container.cinit
File "av/container/core.pyx", line 123, in av.container.core.ContainerProxy.init
File "av/container/core.pyx", line 194, in av.container.core.ContainerProxy.err_check
File "av/utils.pyx", line 105, in av.utils.err_check
AVError: [Errno 1094995529] Invalid data found when processing input: ''
[Errno 1094995529] Invalid data found when processing input: ''
Tello: 02:13:37.790: Info: quit
Tello: 02:13:37.790: Info: state transit State::connected -> State::quit
<class 'tellopy._internal.video_stream.VideoStream'>.handle_event(DISCONNECTED)
Tello: 02:13:37.843: Info: exit from the recv thread.
Tello: 02:13:38.771: Error: video recv: timeout
Tello: 02:13:38.771: Info: exit from the video thread.
The text was updated successfully, but these errors were encountered: