title: Java setting VideoCapture.set(CAP_PROP_FOURCC, codec value)
body: <p>I want to set a Codec for <code>VideoCapture</code>.</p>
  
  <p>I found <a href="http://www.fourcc.org/codecs.php" rel="nofollow">THIS LIST</a> of codecs.
  Now since <code>VideoCapture.set(CAP_PROP_FOURCC, double value)</code> expects a <code>double</code> for the codec value and I haven't found a way in JavaCV to convert the codecs to <code>double</code> values I would like to know <strong>how do I pass the relevant codec to <code>VideoCapture.set(CAP_PROP_FOURCC, double value)</code>?</strong></p>