Connect IP-Camera to Matlab

2 visualizzazioni (ultimi 30 giorni)
Kosai
Kosai il 27 Apr 2012
I am trying to access a Live Video Stream from an IP-Camera using Matlab 7.8.0(R2009), my IP-Camera is (Dinion IP - NWC-0495 from Bosch).
1- How can I get the Connection in case that Matlab supports this functionality?
2- Are there any API-Functions or Interfaces to get the Connection?
thanks in advance, Kosai

Risposta accettata

Walter Roberson
Walter Roberson il 27 Apr 2012
Unfortunately that camera uses MPEG-4 streaming video, which MATLAB is not able to decode (new MATLAB versions support MPEG-4 encoded files but not streaming video.) You would have to have the data received by an MPEG-4 decoder and then access that decoded data.
The documentation hints that the MS Windows MPEG4 decoder that Bosch provides might be accessible via Active-X.
Instrument Control Toolbox provides the TCP/IP support, or you can use the MATLAB File Exchange contribution "tcpudpip".
Trawling through the piles of documentation in my mind, I seem to recall that the MATLAB version you are using is too old to have any direct IP Camera support, but that you should still be able to use tcp objects to send it commands.
  1 Commento
Kosai
Kosai il 27 Apr 2012
Actually i have used the Instrument-Control-Toolbox to get a Connection but unfortuantly the time-cost of Data Flow is rather high because i am trying to make Motion Detection throgh this IP-Cam so i need the vid Object with all its attributes in a way like (image-acquisition-toolboxs's way "pick the vid and make Processing") ...
The Idea with Active-X could be a Solution as you suggested, i will try it !!. thank you for replay

Accedi per commentare.

Più risposte (0)

Categorie

Scopri di più su MATLAB Support Package for IP Cameras in Help Center e File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by