Conversion of video to images

6 ビュー (過去 30 日間)
NITHIN BHARADWAJ
NITHIN BHARADWAJ 2012 年 3 月 21 日
I would like to know the procedure to convert a video(preferably mp4 or avi format) to images(frames) of any standard format in matlab

回答 (4 件)

Bjorn Gustavsson
Bjorn Gustavsson 2012 年 3 月 21 日
You could give aviread a try. Otherwise look in the file exchange, there are tools for dealing with files in many video-formats there. But why not do the conversion with mencoder outside of matlab and then read the images as per usual? Mencoder is a general tool designed for this and only this type of task.

Nick Haddad
Nick Haddad 2012 年 3 月 21 日
Take a look at the Convert Between Image Sequences and Video Demo, which show you how to do this using VideoReader and imwrite.

Image Analyst
Image Analyst 2012 年 3 月 21 日

NITHIN BHARADWAJ
NITHIN BHARADWAJ 2012 年 3 月 23 日
Thank you very much all of you

Community Treasure Hunt

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

Start Hunting!

Translated by