implay speed needs to be faster

2 views (last 30 days)
Prince Chowdhury
Prince Chowdhury on 1 Apr 2018
Answered: Walter Roberson on 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 Comments
Walter Roberson
Walter Roberson on 1 Apr 2018
You might want to try video_fig from the file exchange
Prince Chowdhury
Prince Chowdhury on 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!

Sign in to comment.

Answers (1)

Walter Roberson
Walter Roberson on 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.

Categories

Find more on Animation in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!