Hi, I’m trying to do some real-time image processing to guide an ANAFI Drone.
To do that I use the StreamingExample class and instead of showing the cv2frame I put it in a variable self.frame and with another class I call its getter to process the frame. I know that the question was already asked but it wasn’t answered. I got the error
...
2021-07-30 13:23:38,394 [INFO] olympe.drone.ANAFI-L124860 - _recv_cmd_cb - wifi.rssi_changed(rssi=-36)
timer 0x1d30ac0: missed 1 events
2021-07-30 13:23:40,394 [INFO] olympe.drone.ANAFI-L124860 - _recv_cmd_cb - wifi.rssi_changed(rssi=-36)
vdec_ffmpeg_buffer_pop_all:546: failed to get an output buffer (frame dropped): 11(Resource temporarily unavailable)
vdec_ffmpeg_decoder_thread:687: vdec_ffmpeg_buffer_pop_all err=11(Resource temporarily unavailable)
timer 0x1d30ac0: missed 8 events
2021-07-30 13:23:42,395 [INFO] olympe.drone.ANAFI-L124860 - _recv_cmd_cb - wifi.rssi_changed(rssi=-35)
failed to get an input buffer (-11)
2021-07-30 13:23:53,465 [INFO] olympe.pdraw.ANAFI-L124860 - _video_sink_flush - vbuf_queue_flush() returned 0
I know it has something to do with the buffer, but only the cv2frame is kept, the yuv_frame is unref at the same time as in StreamingExample.