title: Open CV - reducing video file size
body: <p>I want to use OpenCV to take an input video, and reduce the file size of the video.</p>
  
  <p>This would require a conversion of the frames from the initial type to some transformed type. </p>
  
  <p>What conversion can I use inside OpenCV so that I take each frame of the video, reduce its size and then write back to create a new file with reduced file size without much compromising with the video quality?</p>