MATLAB Answers

How to interface canon IP camera (VB-H41/B) with MATLAB.

9 views (last 30 days)
Sajid Ur-Rehman
Sajid Ur-Rehman on 15 Dec 2015
Edited: Walter Roberson on 22 Nov 2018
How to interface canon IP camera (VB-H41/B) with MATLAB. I know it's IP address, ID and password but I am unable to find its exact command. I have tried all the commands which are given for other IP cameras like Dlink, SONY etc but none of them is working. For example I am using cam= ipcam('http://192.168.1.30/video1.mjpg,'root','camera') but it's giving me error i-e "Cannot connect to the IP Camera Stream URL. Make sure the URL is correct and authentication is provided if needed."
If anyone of you know how to solve this issue or which video file designation to use, kindly let me know. Thank you!!

  0 Comments

Sign in to comment.

Answers (2)

Madhura Suresh
Madhura Suresh on 25 Mar 2016
Can you access the feed with this exact link from Firefox or Chrome?

  3 Comments

harshan shyam
harshan shyam on 12 Sep 2016
yes I have the same problem with Dlink ip camera...I cant use this function but I can view the url from chrome or firefox..pls help
Chethana Dukkipati
Chethana Dukkipati on 8 May 2018
Hey, even I am having the same problem with HikVision Camera... I am unable to use the function to read the video using MATLAB. I am using my URL as follows:'http://10.0.0.18:8000/video.mjpeg'. Is the URL I am using is correct. If so why I am getting the error like this "Cannot connect to the IP Camera Stream URL. Make sure the URL is correct and authentication is provided if needed". Please anyone of you help me to fix this issue..
Jafari Ndembo
Jafari Ndembo on 22 Nov 2018
Hello have you get a solution on this question
Hey, even I am having the same problem with HikVision Camera... I am unable to use the function to read the video using MATLAB. I am using my URL as follows:'http://10.0.0.18:8000/video.mjpeg'. Is the URL I am using is correct. If so why I am getting the error like this "Cannot connect to the IP Camera Stream URL. Make sure the URL is correct and authentication is provided if needed". Please anyone of you help me to fix this issue..

Sign in to comment.


Walter Roberson
Walter Roberson on 8 May 2018
You need to access -wvhttp-01-/video.cgi according to http://www.ispyconnect.com/man.aspx?n=canon

  5 Comments

Show 2 older comments
Chethana Dukkipati
Chethana Dukkipati on 10 May 2018
Thanks for the information.After using the URL in the mentioned link, I am still getting the same error. when I opened the URL in chrome, I am able to login with my credentials but unable to view the video over there. How can I resolve both of these issues in order to get live video in matlab using my hikvision camera.
Walter Roberson
Walter Roberson on 10 May 2018
The page I linked to, iSpy, appears to be open source software. I suggest you experiment with using it to connect to the device. Once you have it working then the URL could be transferred to MATLAB.

Sign in to comment.

Sign in to answer this question.