Error using camera (line 1) Cannot connect to the IP Camera Stream URL. Make sure the URL is correct and authentication is provided if needed.
Show older comments
cam = ipcam('http://192.168.11.14/mjpeg','admin','at2rDt07')
2 Comments
Manishkumar Bante
on 10 May 2019
try to use with port number :
cam = ipcam('http://ip address:port number/video','username','pass','Timeout',20)
it did work for me
SHUDHENDU PAL
on 16 Dec 2020
I facing same problem ...but when i reduce the video resolution...it work correctly
Answers (5)
Ruqiang
on 9 May 2018
0 votes
I have encountered the same situation as you, which is a headache for me. Have you solved this problem?
zeeshan gilani
on 17 Oct 2018
0 votes
I am facing a similar problem. It will be really helpful if someone can solve this issue!
David Murray
on 30 Jan 2019
0 votes
I am as well. I am using IP cam with iPhone.
url: http://192.168.1.134:8020/videoView.mjpeg
Cannot connect to the IP Camera Stream URL. Make sure the URL is correct and authentication is provided if needed.
4 Comments
Walter Roberson
on 9 Mar 2019
What happens if you put that address into a web browser? In particular, does it say that it is unreachable?
Nguyen Van Trong
on 1 May 2019
On web viewer, it works but when we put the same IP address to Matlab, it shows that message.
Manishkumar Bante
on 10 May 2019
try to use with port number :
cam = ipcam('http://ip address:port number/video','username','pass','Timeout',20)
it did work for me
VAVILAPALLI TARUN
on 21 Apr 2022
Sir,is it possible to connect mutliple ip cameras
dell limba
on 9 Mar 2019
0 votes
6 month ago, my code was working well but i am trying it again and it's failing.
Cannot connect to the IP Camera Stream URL. Make sure the URL is correct and authentication is provided if needed.
Nguyen Van Trong
on 1 May 2019
0 votes
Hello,
Is there anybody getting the solution for this problem? I am facing the same thing but seems there isn't any source discussing about this.
Thank you,
Categories
Find more on MATLAB Support Package for IP Cameras in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!