Writing array to AVI using writeVideo
6 次查看(过去 30 天)
显示 更早的评论
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 个评论
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Audio and Video Data 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!