Effacer les filtres
Effacer les filtres

Controlling the frame rate in a MATLAB video

1 vue (au cours des 30 derniers jours)
Lc Lb
Lc Lb le 16 Juil 2012
Commenté : Thomas Dixon le 6 Juil 2021
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

Réponses (1)

Doug Hull
Doug Hull le 16 Juil 2012
  1 commentaire
Thomas Dixon
Thomas Dixon le 6 Juil 2021
this has lost its usefulness as it now diverts to here: https://uk.mathworks.com/help/doc-archives.html

Connectez-vous pour commenter.

Catégories

En savoir plus sur Electrical Block Libraries dans Help Center et File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by