Hy! I am working on a project for school using a HD-eyewear Wifi Camera that uses H.264 compressed format. I have read a lot of documentation about how to get the frames from the camera, but I shouldn't manage my problem. My code looks like this:
import cv2
while True:
cap = cv2.VideoCapture('http://admin:@192.168.10.1/videostream.asf?user=admin&pwd=')
ret, frame = cap.read()
print(frame)
I only want to see that it gets correctly the frames, but it drops errors like this:
[h264 @ 0x1e0a100] non-existing PPS 0 referenced
[h264 @ 0x1e0a100] non-existing PPS 0 referenced
[h264 @ 0x1e0a100] decode_slice_header error
[h264 @ 0x1e0a100] no frame!
I really apreciate the help! Thanks! :D