Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

The problem had nothing to do with the displayed warning. I was trying to write single-channel images, while the VideoWriter was expecting a 3-channel color image (default value of isColor, the 5-th argument to VideoWriter's constructor, is "true"). The solution was setting isColor to false.

The problem had nothing to do with the displayed warning. I was trying to write single-channel images, while the VideoWriter was expecting a 3-channel three-channel color image images (default value of isColor, the 5-th argument to VideoWriter's constructor, is "true"). The solution was setting isColor to false.