how to convert frames into video?
显示 更早的评论
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 个评论
Walter Roberson
2013-3-20
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
2013-3-20
Walter Roberson
2013-3-20
Rotated? Or shear?
Does it become a rotated rectangle, or does it become a parallelogram?
jayesh jivarani
2013-3-20
回答(1 个)
project9 batch
2016-1-2
0 个投票
then how to convert video into frames
1 个评论
Walter Roberson
2016-1-4
VideoReader class, read one frame at a time, either save the frames in a variable or else imwrite() them to disk.
类别
在 帮助中心 和 File Exchange 中查找有关 Video Formats and Interfaces 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!