I am using OpenCV to read the video with specific frame
cap = cv2.VideoCapture(video_path)
cap.set(cv2.CAP_PROP_POS_FRAMES, frame_index)
ret, frame = cap.read()
I got the message
Missing reference picture, default is 0
decode_slice_header error
I believe the problem might be because of my video file. This result is not effect anything to my reading frame and face detection.
But the problem for me is, I just want to hide this log from my Jupyter to can present a clean paper to my client.
Can someone suggest me the best way to approach this?