Hello!
My Anafi has the Version 1.7.7, Olympe 7.1 (newest) and i just want to test the standard streaming.py File from the parrot user guide. Although i cant get to run the script.
Output [ERROR] look like this:
2022-04-26 11:44:02,796 [ERROR] | ulog - pomp - idle entry cb=0x7f58f5c78880 userdata=0x7f58dc001000 still in the loop |
---|---|
2022-04-26 11:44:02,796 [ERROR] | ulog - pomp - fd=40, cb=0x7f58f5d96b50 still in loop |
2022-04-26 11:44:02,796 [ERROR] | ulog - pomp - fd=46, cb=0x7f58f5c53250 still in loop |
2022-04-26 11:44:02,796 [ERROR] | ulog - pomp - fd=44, cb=0x7f58f5d96b50 still in loop |
2022-04-26 11:44:02,796 [ERROR] | ulog - pomp - fd=43, cb=0x7f58f5d96b50 still in loop |
2022-04-26 11:44:02,797 [ERROR] | ulog - pomp - fd=41, cb=0x7f58f5d96b50 still in loop |
2022-04-26 11:44:02,797 [ERROR] | ulog - pomp - fd=45, cb=0x7f58f5c53030 still in loop |
2022-04-26 11:44:02,797 [ERROR] | olympe.pdraw.ANAFI-H091061 - _destroy_pomp_loop - Error while destroying pomp loop: -16 |
In this function:
def yuv_frame_processing(self):
while self.running:
try:
yuv_frame = self.frame_queue.get(timeout=0.1)
self.show_yuv_frame("test", yuv_frame, "")
#print("not empty")
except queue.Empty:
#print("empty")
continue
# You should process your frames here and release (unref) them when you're done.
# Don't hold a reference on your frames for too long to avoid memory leaks and/or memory
# pool exhaustion.
yuv_frame.unref()
the except queue.Empty: always counts as there is no frame in the queue.
When i go to the rstp://192.168.42.1/live the stream works, but when i want to access it from the script, it does not work.
Does anybody already had the same issue and could help me how to fix this please?