title: CV_CAP_PROP_FRAME_COUNT is not available in opencv for java
body: <p>I am trying to transform C++ program into a java program.
  There are a few lines I can't transform:</p>
  
  <pre><code>long totalFrameNumber = capture.get(CV_CAP_PROP_FRAME_COUNT);
  capture.set(CV_CAP_PROP_POS_FRAMES, frameToStart-3);
  double rate = capture.get(CV_CAP_PROP_FPS); 
  cvtColor( frame,fgray, CV_BGR2GRAY );
  </code></pre>
  
  <p>These macros ,<code>CV_CAP_PROP_FRAME_COUNT</code>, <code>CV_CAP_PROP_POS_FRAMES</code>, <code>CV_CAP_PROP_FPS</code>, <code>CV_BGR2GRAY</code> ,cannot be found in the <code>OpenCV</code> for Java.
  What should I do?</p>