How can I write an uncompressed avi with opencv 3 and python? It MUST be uncompressed fourcc = cv2.VideoWriter_fourcc('DIB ') does not produce an avi at all, but fourcc = cv2.VideoWriter_fourcc('HFYU') does. However, I do not want any compression, even lossless compression. Thanks