how to have stream video from my ipcam to matlab

5 views (last 30 days)
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

Answers (3)

Walter Roberson
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
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.
Tiwa Romuald
Tiwa Romuald on 8 Oct 2015
i alredy installed Dyndns. please can you explain or give me an example of full function? because i don't know i process now. thank you. sorry Walter

Sign in to comment.


Image Analyst
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:
  1 Comment
Tiwa Romuald
Tiwa Romuald on 8 Oct 2015
Hi, please i'm use the android smarphone, i installed the ipcam app inside

Sign in to comment.


Jun ady
Jun ady on 14 Oct 2019
how to realtime ip camera get snapshot/

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!