cannot using VideoCapture by IPCam but Webcam is fine

asked 2019-09-23 22:41:48 -0500

Mike Kao gravatar image

updated 2019-09-23 22:43:02 -0500

Hi, recently I bought a IP camera Acti E93. I can use rtsp://id:password@ip/stream1 in video player(such as PotPlayer). But when I use VideoCapture.open("rtsp://id:password@ip/stream1") it always returns false. What can I do?

I am using the opencv 3.2, and my code is fine for webcam.

thanks.

edit retag flag offensive close merge delete

Comments

You can't. The IP camera comes with IP ADDRESS. While webcam, used your local IP ADDRESS.

supra56 gravatar imagesupra56 ( 2019-09-25 07:20:58 -0500 )edit