how to have stream video from my ipcam to matlab
3 次查看(过去 30 天)
显示 更早的评论
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 个评论
回答(3 个)
Walter Roberson
2015-9-24
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 个评论
Walter Roberson
2015-10-8
编辑:Walter Roberson
2015-10-8
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
2015-10-7
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:
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/178624/image.png)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 MATLAB Support Package for IP Cameras 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!