How to receive and record a video stream form port?

조회 수: 5 (최근 30일)
Johannes Schultz
Johannes Schultz 2016년 4월 28일
댓글: Johannes Schultz 2016년 5월 9일
Hi is there a solution in Matlab to receive and record a video stream form port e.g. 8080 (UDP) alongside with the current time. I belief with the Image Acquisition Toolbox this is not possible even though UDP is supported because in my case no camera is used. It is just a simple mpeg 4 video on port 8080 Does somebody knows, how to do it? Thanks Johannes

답변 (1개)

Madhura Suresh
Madhura Suresh 2016년 5월 4일
Hi Johannes,
Does your stream have an IP address? If yes, you can use ipcam in MATLAB.
You could use UDP communication in MATLAB to get images, but that is more involved.
Once you get the raw data, you will have to post-process that to get images in MATLAB.
  댓글 수: 1
Johannes Schultz
Johannes Schultz 2016년 5월 9일
Hi thanks for your answer No the stream is coming from an other PC via UDP so there is no IP camera connected. In the VLC player it is easy to play the stream you just can open a network stream. Is there no easy solution in Matlab for this, which avoids to reassemble the raw data to an image.

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

카테고리

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