Controlling the frame rate in a MATLAB video
1 回表示 (過去 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 で Electrical Block Libraries についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!