how to convert frames into video?

13 visualizaciones (últimos 30 días)
jayesh jivarani
jayesh jivarani el 20 de Mzo. de 2013
Comentada: Walter Roberson el 4 de En. de 2016
clc
close all
clear all
i1=imread('cameraman.tif');
for i=1:1000
imshow(i1)
vid1(i)=getframe;
end
movie2avi(vid1,'vid1.avi')
%when i have used this code it works properly in matlab. but when i am opening %video outside the matlab, it is tilted.
%how to solve this problem?
  4 comentarios
Walter Roberson
Walter Roberson el 20 de Mzo. de 2013
Rotated? Or shear?
Does it become a rotated rectangle, or does it become a parallelogram?
jayesh jivarani
jayesh jivarani el 20 de Mzo. de 2013
yes. it becomes parallelogram

Iniciar sesión para comentar.

Respuestas (1)

project9 batch
project9 batch el 2 de En. de 2016
then how to convert video into frames
  1 comentario
Walter Roberson
Walter Roberson el 4 de En. de 2016
VideoReader class, read one frame at a time, either save the frames in a variable or else imwrite() them to disk.

Iniciar sesión para comentar.

Community Treasure Hunt

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

Start Hunting!

Translated by