image thumbnail

getVideoFrames(vid, startt, endt, step, savetodir)

version 1.1.0.0 (5.44 KB) by Dongxi Zheng
Extract frames from a video at custom start, step, and stop times.

906 Downloads

Updated 11 Dec 2014

View License

This function allows users to extract and save frames from a video. Frames are saved as jpg images. Users can specify at what time point the extraction starts or stops. Also, users can specify the time interval between two extracted frames.

Cite As

Dongxi Zheng (2022). getVideoFrames(vid, startt, endt, step, savetodir) (https://www.mathworks.com/matlabcentral/fileexchange/46615-getvideoframes-vid-startt-endt-step-savetodir), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2013a
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!