how to convert frames into video?
Show older comments
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 Comments
Walter Roberson
on 20 Mar 2013
Titled -- rotated? or sheared like it had lost synchronization?
There were some reports about 3-ish weeks ago about problems with shearing in created videos.
jayesh jivarani
on 20 Mar 2013
Walter Roberson
on 20 Mar 2013
Rotated? Or shear?
Does it become a rotated rectangle, or does it become a parallelogram?
jayesh jivarani
on 20 Mar 2013
Answers (1)
project9 batch
on 2 Jan 2016
0 votes
then how to convert video into frames
1 Comment
Walter Roberson
on 4 Jan 2016
VideoReader class, read one frame at a time, either save the frames in a variable or else imwrite() them to disk.
Categories
Find more on Video Formats and Interfaces in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!