How to convert video into frames?

回答(1 个)

Look at the help for VideoReader and especially VideoReader/read, that contains an example of how to extract frames from a video-file. Typically something like this:
readerobj = VideoReader('your-video.avi');
VIDEO_FRAME = read(readerobj, frame_nr); % for a single frame
HTH

Community Treasure Hunt

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

Start Hunting!

Translated by