Controlling the frame rate in a MATLAB video
조회 수: 3 (최근 30일)
이전 댓글 표시
HI, I am creating a avi video with matlab, the problem is that the video is too fast, how can i do slower?
aviobj = avifile('example');
fig=figure(20);
for i=1:14
for k=1:8
im(:,:,:)=a(i,:,:,:);
imshow(im);
axis off
F = getframe(fig);
aviobj = addframe(aviobj,F);
end
end
close(fig);
aviobj = close(aviobj);
thank you very much
댓글 수: 0
답변 (1개)
Doug Hull
2012년 7월 16일
Use the frame rate option.
댓글 수: 1
Thomas Dixon
2021년 7월 6일
this has lost its usefulness as it now diverts to here: https://uk.mathworks.com/help/doc-archives.html
참고 항목
카테고리
Help Center 및 File Exchange에서 Audio and Video Data에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!