how to have stream video from my ipcam to matlab
5 views (last 30 days)
Show older comments
this function it's for stream image. please I would like to have for video stream function. Thank you, best regard
url = 'http://192.168.0.3:8080/shot.jpg';
ss=imread(url);
fh = imshow(ss, 'Parent', handles.axes1);
while(1)
ss=imread(url);
set(fh,'CData',ss);
drawnow;
end
0 Comments
Answers (3)
Walter Roberson
on 24 Sep 2015
Note: not all cameras support the streaming frame mode needed for ipcam . You need a different URL than what you show in order to get it to work when the device supports it at all. When devices only support taking jpeg snapshots then ipcam() is not appropriate.
14 Comments
Walter Roberson
on 8 Oct 2015
Edited: Walter Roberson
on 8 Oct 2015
Then you can use the dyndns application I linked to above, and you can use the ip webcam program listed in previous discussions.
Image Analyst
on 7 Oct 2015
Perhaps install the IP camera hardware support package first from the Add-Ons drop down button in the Environment section of the "Home" tab/ribbon. See the instructions here: http://www.mathworks.com/videos/webcam-support-101624.html. Make sure you select ipcam on the listbox that appears:
See Also
Categories
Find more on MATLAB Support Package for IP Cameras in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!