how can make video from images.......
Show older comments
hello........suppose i have my 50 image......how i can play these image as video..........
Answers (4)
Shashank Prasanna
on 30 Jan 2013
Edited: John Kelly
on 26 Feb 2015
4 votes
What you are looking for is here:
Image Analyst
on 30 Jan 2013
3 votes
7 Comments
Image Analyst
on 3 Jul 2013
There's a new FAQ entry I added a few weeks ago: http://matlab.wikia.com/wiki/FAQ?&cb=6123#How_do_I_build_a_movie_from_individual_frames.3F. It has a full demo with all the source code.
Meenakshi kollati
on 16 Jan 2017
A Video is created with just as movie not as avi or mp4
Image Analyst
on 16 Jan 2017
Correct. That wasn't asked. If you want to create a movie from a collection of still images and create a video file on disk, then see the attached code.
Chimsom Isidore
on 20 Mar 2017
How do we cite you sir...after using the MakeMovie GUI...
Image Analyst
on 20 Mar 2017
Just say "Using code provided by Image Analyst on the Answers forum on the MATLAB Central web site........"
Craig Ulrich
on 19 Nov 2018
@ImageAnalyst
Have you added to a newer version of your GUI a way to add the time stamp from each photo and a title too? =)
Image Analyst
on 24 Jul 2021
@Craig Ulrich, I believe my new code on my File Exchange time stamps the frame as an option.
Youssef Khmou
on 31 Jan 2013
Edited: Youssef Khmou
on 31 Jan 2013
HI, take a look at the links they sent you . As an alternative answer here is how :
Your fifty images must be labeled in order, per example in the database coil-100 , an object starts from obj1__0 until obj1__355 with step 5 .
Suppose your images are like : image1.jpg, image2.jpg,....., image50.jpg then :
Manifold=zeros(n,p,3,50); % (n,p) height and width of the image, all with same.
for x=1:50
filename=strcat('image',num2str(x),'.jpg');
Manifold(:,:,:,x)=imread(filename);
end
Next wether you create Gif file (imwrite),avifile or any other way, just follow the steps that you can find in the MAT doc .
i Hope this helps .
2 Comments
Vishesh Breja
on 13 Jan 2018
i am trying to use this approach , but i am getting error in the line ' Manifold=zeros(n,p,3,50);' . i dont know what the error is and how can i resolve it
Image Analyst
on 13 Jan 2018
We don't know what it is either because you forgot to paste the actual error message here.
However, you can use my code, which works.
Clay Jensen
on 24 Jul 2021
0 votes
To do this, you need a lot of images and a high-quality video editor. Personally, I would recommend movavi's video editor https://www.movavi.com/videoeditor/ . Just drop all the images and glue them. That's all.
Categories
Find more on Matrix Indexing in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!