implay speed needs to be faster

1 visualizzazione (ultimi 30 giorni)
Prince Chowdhury
Prince Chowdhury il 1 Apr 2018
Risposto: Walter Roberson il 1 Apr 2018
Hello,
Does anyone know how to speed up animation when playing it using implay? Any way to speed up the framerates? Thanks!
  2 Commenti
Walter Roberson
Walter Roberson il 1 Apr 2018
You might want to try video_fig from the file exchange
Prince Chowdhury
Prince Chowdhury il 1 Apr 2018
I had a look at it but didn't understand what to do with it. Is there any way to play the animation directly using implay? Currently, the animation is first drawn on another figure window and once the animation has finished then only the movie player opens up. This could be a reason for slow movie speed. Thanks!

Accedi per commentare.

Risposte (1)

Walter Roberson
Walter Roberson il 1 Apr 2018
You could use vision.VideoPlayer https://www.mathworks.com/help/vision/ref/vision.videoplayer.step.html to display a video of an array as soon as it is ready.
However, it sounds as if you are computing each frame in a figure and capturing the image using getframe() . If so then that step is very likely the limiting speed, rather than the display of the frames.

Categorie

Scopri di più su Animation in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by