Open
Description
Hi all,
I just started playing with this.
I'm just trying to get some consistent images from time to time.
I'm using the streaming_video.py from examples folder but I'm getting a weird behaviour:
[h264 @ 0x2bb0580] error while decoding MB 42 54, bytestream -5
[h264 @ 0x2bdf480] error while decoding MB 103 80, bytestream -15
[h264 @ 0x2bb1780] error while decoding MB 87 36, bytestream -5
[h264 @ 0x2bdf480] error while decoding MB 8 32, bytestream -11
[h264 @ 0x2bb1780] error while decoding MB 31 18, bytestream -5
[h264 @ 0x2bb0580] error while decoding MB 41 75, bytestream -9
Also the image is rendered broken sometimes.
How can I solve this?
7 def non_blocking():
8 print("calling non-blocking")
9 def inner_callback(img):
10 now = int(datetime.datetime.now().timestamp())
11 cv2.imwrite(f"/path/{now}.png",
12 img)
13 cv2.destroyAllWindows()
Regards,
C.
Metadata
Metadata
Assignees
Labels
No labels