-
Notifications
You must be signed in to change notification settings - Fork 289
Description
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.