Streaming image frames and video to HDMI

13 ビュー (過去 30 日間)
Anas Gasser
Anas Gasser 2019 年 11 月 6 日
コメント済み: Walter Roberson 2020 年 1 月 3 日
Hello,
I am working on a project in which I need to stream 480x854 frames to a projector. I would like to create those frames via Matlab. Simply, each frame has 1-bit per pixel. Do you think it is possibe to stream them directly from Matlab to the projector? The projector can support upto 2500Hz frame rate. Can Matlab also support such high frame rate? I am thinking of creating a video of these frames and stream it directly if possible.
Thanks in advance!
Anas
  1 件のコメント
Walter Roberson
Walter Roberson 2020 年 1 月 3 日
That is pretty close to 1 gigabyte per second, which would be difficult to sustain.
Just generating 2500 binary values 480 x 854 takes my system about 17 1/4 seconds if I use randi(), about 7 1/4 seconds if I use rand().

サインインしてコメントする。

回答 (1 件)

Swastik Sanjay Chaudhury
Swastik Sanjay Chaudhury 2020 年 1 月 3 日
Hello Anas,
As per ypur query whether is it possible to access projector using MATLAB, please refer to WindowAPI. Also the image frame processing using MATLAB can be done efficiently by using Video processing ToolBox.
As far as Video frame rate compatblity s concerned, you could try experimenting on the data base with the following commands and see if it provide desired results:
v = VideoWriter('test.avi'); %create new video output
v.FrameRate = 2500; %set to 2500 frames per second
Regards,
Swastik Sanjay Chaudhury
MathWorks Technical Support

Community Treasure Hunt

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

Start Hunting!

Translated by