image thumbnail

cutvideo(in_vobj, start_frame, end_frame, outfile)

version 1.0.0.0 (1.78 KB) by Dongxi Zheng
This function extracts a video clip out of a full video using the start and end frame numbers

88 Downloads

Updated 27 Mar 2015

View License

cutvideo() generates a short video clip out of a full video file based on the user specified starting frame and ending frame. It takes three required arguments: 1) a VideoReader object/handle to the full video, 2) the starting frame number, and 3) the ending frame number. Users can supply a fourth optional argument, which is the desired path of the generated video clip; otherwise, they will be prompt with file dialog to specify when the clip is ready to be written.

Cite As

Dongxi Zheng (2022). cutvideo(in_vobj, start_frame, end_frame, outfile) (https://www.mathworks.com/matlabcentral/fileexchange/50285-cutvideo-in_vobj-start_frame-end_frame-outfile), MATLAB Central File Exchange. Retrieved .

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

Community Treasure Hunt

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

Start Hunting!