MATLAB: Is it possible to write an 8-bit depth single channel Uncompressed AVI file using VideoWriter in MATLAB 7.12 (R2011a)

8avibitMATLABuncompressedvideowriter

I am interested only in grayscale frames for my video. Hence, I would like to be able to write an 8-bit depth Uncompressed AVI file using VideoWriter instead of a 24-bit depth file. How can I do this?

Best Answer

This functionality is available as of Release 2013a (R2013a). For previous product releases, read below for any possible workarounds:
Currently the Uncompressed AVI option only writes 24-bit depth frames to an AVI file using VideoWriter.
There are no workarounds.