title: Lossless compression for video in opencv
body: <p>I am working on a video processing project that involves some sort of encryption using simple XOR operation of a given frame from camera with a key image  and finally store the video file.
  And for decryption phase the XOR operation with the same image will get the original frames. But the problem is while I decrypt the frame appears to be very noisy and found out that its because of the lossy image compression foramt I used while storing. Is there any other lossless image compression foramts for opencv??</p>