MATLAB: How to convert captured frames from webcam into avi format with 20fps.

image acquisition toolimage processingImage Processing Toolboxvideo processing

I've tried a lot of things but got some error in anyway. Can you please guide me through?

Best Answer

Well you stated that you've tried a lot of things, but you didn't provide any code with it so that's not really helpfull. I suggest taking a look at how to acquire images from your webcam and after that it should not be that hard to create a video using VideoWriter. Hint: create a for-loop/while statement to continuously capture images from your webcam.