1 | initial version |
Basically, use the fourcc codec website to know the correct code for your video. Then use the CV_FOURCC('','','','') functionality to add the correct codec.
In your case, looking at an AVI file format, most likely you will have a mpeg4 or mpeg5 codec.