implay speed needs to be faster

1 次查看(过去 30 天)
Hello,
Does anyone know how to speed up animation when playing it using implay? Any way to speed up the framerates? Thanks!
  2 个评论
Walter Roberson
Walter Roberson 2018-4-1
You might want to try video_fig from the file exchange
Prince Chowdhury
Prince Chowdhury 2018-4-1
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!

请先登录,再进行评论。

回答(1 个)

Walter Roberson
Walter Roberson 2018-4-1
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.

类别

Help CenterFile Exchange 中查找有关 Animation 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by