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

The example 'streaming.py' didn't return image after updated to 7.6.0 #47

Open
WeiHandi opened this issue May 8, 2023 · 0 comments
Open

Comments

@WeiHandi
Copy link

WeiHandi commented May 8, 2023

Hello,

When I tested the streaming.py in the example after updated to olympe 7.6.0 version, I found that the example didn't return the vmeta from the drone. The callback function 'self.yuv_frame_cb' didn't add any data to the queue 'self.frame_queue'. I simply modify the IP address of the script, and the connection to the drone was all right.

The information when I run the script is like:
2023-05-08 16:26:42,532 [WARNING] olympe.drone.ANAFI-A127145 - _recv_cmd_cb - Unknown message id 0xa2000005
2023-05-08 16:26:42,532 [WARNING] olympe.drone.ANAFI-A127145 - _recv_cmd_cb - Unknown message id 0xa2000004
Takeoff if necessary...
2023-05-08 16:26:43,100 [ERROR] ulog - pdraw_sink - VideoDecoder#2: coded video media format H264/AVCC not supported

If I deleted the function of fly 'streaming_example.fly()' in 'test_streaming()', the information turned to:
2023-05-08 16:05:37,642 [WARNING] olympe.drone.ANAFI-A127145 - _recv_cmd_cb - Unknown message id 0xa2000005
2023-05-08 16:05:37,642 [WARNING] olympe.drone.ANAFI-A127145 - _recv_cmd_cb - Unknown message id 0xa2000004
2023-05-08 16:05:38,572 [ERROR] olympe.video.renderer - _cleanup - Deferred cleanup action are still pending after 3.0s
2023-05-08 16:05:38,572 [WARNING] olympe.video.renderer - _cleanup - Futures still running: 1

How to fix the problem? Thanks~

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

1 participant