implay speed needs to be faster

Hello,
Does anyone know how to speed up animation when playing it using implay? Any way to speed up the framerates? Thanks!

2 Kommentare

Walter Roberson
Walter Roberson am 1 Apr. 2018
You might want to try video_fig from the file exchange
Prince Chowdhury
Prince Chowdhury am 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!

Melden Sie sich an, um zu kommentieren.

Antworten (1)

Walter Roberson
Walter Roberson am 1 Apr. 2018

0 Stimmen

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.

Kategorien

Gefragt:

am 1 Apr. 2018

Beantwortet:

am 1 Apr. 2018

Community Treasure Hunt

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

Start Hunting!

Translated by