Video Processing Tutorial

Tutorial to read, process, and create video files.
6.7K Downloads
Updated 2 Sep 2014

View License

Editor's Note: This file was selected as MATLAB Central Pick of the Week

Demo to extract frames and get frame means from a movie and (optionally) save individual frames to separate image files. Then rebuilds a new movie by recalling the saved images from disk. Also computes the mean gray value of the color channels and detects the difference between a frame and the previous frame. Illustrates the use of the VideoReader and VideoWriter classes.

Cite As

Image Analyst (2026). Video Processing Tutorial (https://au.mathworks.com/matlabcentral/fileexchange/47726-video-processing-tutorial), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2014a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Version Published Release Notes
1.0.0.0