Can the From Multimedia File block output the current frame number and/or the dimensions of the video in the Video and Image Processing Blockset?
4 ビュー (過去 30 日間)
古いコメントを表示
The From Multimedia File block does not output the current frame number and/or the dimensions of the video.
採用された回答
MathWorks Support Team
2009 年 6 月 27 日
The ability for the From Multimedia File block to output the frame number and dimensions of a video stored in an AVI file is not available in the Video and Image Processing Blockset.
To work around this issue, you can do the following:
1. If the frame rate of the input AVI file is known a priori, you can use a Counter Limited block in the Simulink Sources library to simulate the frame number. You must set the sample time of the Counter Limited block to match the frame rate of the AVI file.
2. To obtain the dimensions of the input AVI file, you can use the Probe block to output the signal dimensions of the output from the From Multimedia File block.
0 件のコメント
その他の回答 (0 件)
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!