How to write video to disk in background
Show older comments
I have a MATLAB GUI that includes a live preview from a camera. I am grabbing and displaying frames at ~24 fps. I would like to be able to record the incoming frames to a video file on the disk. I currently have a working implementation which uses VideoWriter to save each frame to an avi file. Unfortunately, when writing to disk, the GUI can become very unresponsive as the hard disk is quite slow. I would, therefore, like to save to disk in the background. I am using a 32bit Windows 7 pc where MATLAB has only ~2GB of RAM memory available but ample processing power. Is there an effective MATLAB function I could use to achieve this or a way to spawn a thread which can handle the disk save operation?
Accepted Answer
More Answers (0)
Categories
Find more on Video Formats and Interfaces in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!