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

Extract frames from a video at custom start, step, and stop times.
916 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 (2024). 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!
Version Published Release Notes
1.1.0.0

Fix a bug for output directory

1.0.0.0