implay speed needs to be faster

조회 수: 3 (최근 30일)
Prince Chowdhury
Prince Chowdhury 2018년 4월 1일
답변: Walter Roberson 2018년 4월 1일
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