Hello everyone, I look forward to receiving your help.
I am using RTSP connection for my camera, but there is always an error during the process and I used cv2.CAP_FFMPEG, this makes my camera restart itself after 30s, this is a the times are quite long, I want to reduce them and tried to use cv2.CAP_PROP_OPEN_TIMEOUT_MSEC to set the time to 2s but this doesn’t seem to work. I use OpenCV by pip, how can I use cv2.CAP_PROP_OPEN_TIMEOUT_MSEC properly.
I appreciate any feedback from you. Looking forward to receiving help from everyone. Thanks a lot