필터 지우기
필터 지우기

Is it possible that the output of the From Multimedia File block be the input of the Entity Generator Block?

조회 수: 1 (최근 30일)
I am trying to build a video streaming model using simevents. I need the video frames or segments to phyiscally located on entities and be transported to a video viewer. Is it possible to connect the From Multimedia File block to be connected to the Entity Generator block. Can entities be physical frames?
I tried connecting the block together but I got this error.
Invalid connection between message and signal ports. 'Output Port 1' of 'videostreaming/Entity Server' is not compatible with 'Input Port 1' of 'videostreaming/Video Viewer'.

답변 (1개)

Abdolkarim Mohammadi
Abdolkarim Mohammadi 2022년 12월 9일
I am not familiar with video streaming at all, but I think you need to know that entities carry information via attributes. You can send the output of the multimedia block to a Simulink Function block, and read it from the Generate event action and assign the frame information to an attribute. In case your frame rate is higher than the package intergeneration time, you need to buffer frames with an appropriate technique, get the whole buffer when the entity is generated, and clean the buffer as soon as its information is read.

카테고리

Help CenterFile Exchange에서 Messages에 대해 자세히 알아보기

태그

제품


릴리스

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by