how can I open the movie player window beforehand?

2 views (last 30 days)
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 Comment
Fan Yang
Fan Yang on 8 Oct 2021
By the way, I am using R2021b. somehow I cannot specify the version of lease before posting it.

Sign in to comment.

Accepted Answer

Tanmay Das
Tanmay Das on 13 Oct 2021
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.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!