how can I open the movie player window beforehand?

2 次查看(过去 30 天)
Fan Yang
Fan Yang2021-10-8
回答: Tanmay Das ,2021-10-13
Hey guys,
I need to display a video made out of a sequence of images. I used implay function, but it have a problem. It tool a little while to open up the movie player windows after I execute the code. So I wanted to initialize the 'empty' movie player winow before the display of the movie and then just load the video into the movie player that was already opened.And I have to have the movie player window maximized. Any idea hwo I can do that programmatically?
implay('stm.avi',100) % display the video at 100 frame-rate
If you guys know how to display the sequence of image at a user spicified rate other than making a video out of it, Id LOVE to hear abour it.
Best,
FY
  1 个评论
Fan Yang
Fan Yang 2021-10-8
By the way, I am using R2021b. somehow I cannot specify the version of lease before posting it.

请先登录,再进行评论。

采纳的回答

Tanmay Das
Tanmay Das 2021-10-13
Hi,
You can load the image sequence in your MATLAB workspace and directly play it using implay function. One possible example could be as follows:
load cellsequence
implay(cellsequence,10)
You can go through View Image Sequences in Video Viewer App and Video Viewer documentations for further information.

更多回答(0 个)

Community Treasure Hunt

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

Start Hunting!

Translated by