how can I open the movie player window beforehand?

3 vues (au cours des 30 derniers jours)
Fan Yang
Fan Yang le 8 Oct 2021
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 commentaire
Fan Yang
Fan Yang le 8 Oct 2021
By the way, I am using R2021b. somehow I cannot specify the version of lease before posting it.

Connectez-vous pour commenter.

Réponse acceptée

Tanmay Das
Tanmay Das le 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.

Plus de réponses (0)

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by