用winAVI video converter 9等转换软件把其他格式转换成avi. 转的时候注意选Intel IYUV codec 这个是未压缩的 会比较大 但OpenCV只能读未压缩的avi 而且必须是IYUV编码的