How can MATLAB connect to a camera via the network in order to view its stream?(not a simple USB plugin webcam on local machine)

조회 수: 3 (최근 30일)
Is there a way that MATLAB can "recognize" and connect to a camera(not plugged in directly to my local machine) that's on the same network as my local machine and view that particular camera's stream? Any response would be very helpful as I have been stuck on this for a few days.

채택된 답변

Walter Roberson
Walter Roberson 2012년 1월 17일
The Image Acquisition Toolbox should be able to connect to networked cameras, once it is told what the address of the camera is.
If you were hoping that the camera would be located automatically, then that might not be practical; it would depend in part on whether the camera sends out broadcast packets or multicast packets announcing its presence.
  댓글 수: 2
James Turnage
James Turnage 2012년 1월 17일
Thank you for a quick response.
I was thinking that I could give MATLAB address of the camera also, however my next dilemma is how do I tell it where it is. I haven't found any specific command or place to do that within MATLAB. Would you happen to know? If so, I believe that would solve the issue I am having.
Thanks :)
Walter Roberson
Walter Roberson 2012년 1월 17일
http://www.mathworks.com/company/events/webinars/wbnr51282.html?id=51282&p1=869883352&p2=869883370

댓글을 달려면 로그인하십시오.

추가 답변 (2개)

Mark Jones
Mark Jones 2012년 1월 17일
Does the camera driver have a Direct Show interface and does it work with AMCAP?
  댓글 수: 5
Walter Roberson
Walter Roberson 2012년 2월 2일
It appears that R2011b and later can read and write MPEG-4 files, but I do not yet find any indication of direct support for streaming such files. The mechanism might still be to have an MS Windows program that decodes the stream and read the frames from that.
sky nku
sky nku 2014년 4월 28일
Do you know how to connect to a network camera using Instrument Control Toolbox? Thanks!! For example, the ip addresss of my camera is 192.168.3.253,and my PC connects to the camera with a simple net cable( UTP=UNSHIELDED TWISTED PAIR )

댓글을 달려면 로그인하십시오.


amit pathania
amit pathania 2012년 3월 23일
I too want to read video stream from Media server on my local LAN.How can i read the stream giving IP address in MATLAB.
  댓글 수: 2
James Turnage
James Turnage 2012년 3월 23일
I haven't had any luck with this issue. We just decided to not use MATLAB at all and are using other means.

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile 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!

Translated by