MATLAB Answers

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

10 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!!

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
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
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.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!