I'm using the djitellopy module (running on Win10/Python3.6) to connect to my Ryze TELLO-drone. That module uses cv2, the drone provides the current the videostream in h264 codec. While running my script (based on the docs), not all pictures are getting transmitted e. g. because my wlan connection is too weak. That's not the actual problem, as I don't need all 60fps. But it's quite annoying, that every time I miss a frame, I get errors like
[h264 @ 0000019ab6699b40] non-existing PPS 0 referenced
[h264 @ 0000019ab6699b40] decode_slice_header error
[h264 @ 0000019ab6699b40] no frame!
[h264 @ 0000019ab8394b00] non-existing PPS 0 referenced
[h264 @ 0000019ab66ab040] non-existing PPS 0 referenced
[h264 @ 0000019ab8394b00] decode_slice_header error
[h264 @ 0000019ab8394b00] no frame!
[h264 @ 0000019ab8394b00] error while decoding MB 31 40, bytestream -10
and so on. Is there any neat way to turn off/suppress these errors in cv2? The script itself is running on without problems.
Thanks in advance!