The code given below is for accessing an Axis IP camera using OpenCV. On running the program it first displays \"Error in opening cap_ffmpeg_impl...\" and then it displays <
The following works for an Axis M1004-W connected to my computer via ethernet cable:
/mjpg/video.mjpg
, and I bet yours will be similar.The address you give to OpenCV should look like this:
http://:@/
This is what mine looks like:
http://uname:login@192.168.0.0/mjpg/video.mjpg
I entered my address into your code and can see the video stream from an OpenCV window.