Realtime Webcam AVI Video Recorder

Record AVI Video in Realtime from Webcam
1.3K Downloads
Updated 15 Jun 2016

View License

This function uses the Image Acquisition Toolbox to record a realtime Video from the Webcam and saves it in the working folder. It also uses the new "VideoWriter" class introduced in R2010b (the old function "avifile" is was removed with R2014b). This function is Windows only, if you want to run it on another OS check the doc for "videoinput".
This function adjusts the frame rate of the output video according to the frame rate of the acquired frames in MATLAB. This makes sure that the captured video is in real time independent from the frame rate of the imaq device.

Cite As

Matthias Seibold (2024). Realtime Webcam AVI Video Recorder (https://www.mathworks.com/matlabcentral/fileexchange/57236-realtime-webcam-avi-video-recorder), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2016a
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.0.0.0

This script is Windows only, if you want to run it on mac check the doc for "videoinput".

updated description
Changed title
description changed