用matlab读取avi文件时报错,说Unable to locate decompressor to decompress video stream.出现这个问题后我就下载安装了winAVI 9.0,企图将avi视频转换为ZJMedia Uncompress RGB24,在转换是我高级设置为ZJMedia Uncompress RGB24确定会提示下列错误:
无法解码此类文件,可能文件已损坏或尚未安装相应的解码器!
怎么会出现这个问题啊,新手请各位帮帮忙啦,万分感谢!!!
------解决方案--------------------------------------------------------
aviread对视频格式有要求的.如果是压缩avi就不能读取.
在新版matlab中,这个函数被VideoReader类取代,支持格式稍多,但是还是很有限:
The VideoReader function reference page lists file formats that VideoReader usually can read, including AVI, MPEG-1, and Motion JPEG 2000. Sometimes VideoReader can read files in unlisted formats, and sometimes it cannot read files in listed formats.