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.
2 | No.2 Revision |
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.