Writing array to AVI using writeVideo
6 views (last 30 days)
Show older comments
I have double array I convert using I8bit = uint8(I); Here is snippet of my code that works:
vidProfile = 'Grayscale AVI' ;
v = VideoWriter(fname,vidProfile);
open(v);
writeVideo(v,I8bit);
close(v);
This provides no compression. If I try other profiles such as 'Archival' I get this error: 'Error using VideoWriter/writeVideo (line 408) IMG must be an array of either grayscale or RGB images.'
How do I compress 8bit grayscale for AVI?
0 Comments
Answers (0)
See Also
Categories
Find more on Audio and Video Data 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!