title: OpenCV msec vs frame not matching up
body: <p>I am working on a 119.88FPS, 1080P H.264 video file. I am doing CV to see whether or not the marker was visible in a given frame or not. I need to find the delta time between successive &quot;positive&quot; frames. The problem is that currentVC.get(Videoio.CAP_PROP_POS_MSEC)does not agree with currentVC.get(Videoio.CAP_PROP_POS_FRAME) at all.
  For instance, for the 24510th frame:</p>
  <blockquote>
  <p>openCV frame pos: 24510.416438356166</p>
  <p>openCV Timestamp: 149105.03333333333</p>
  <p>Total Frame Rate: 119.8801198804266</p>
  <p>Total Frame Count: 31775.8493150685</p>
  <p>Time stamp for last frameL: 193303</p>
  </blockquote>
  <p>So</p>
  <blockquote>
  <p>24510/31775 = 77 percent of vid has elapsed</p>
  <p>149105/(193301) = 77 percent of vid has elapsed.</p>
  </blockquote>
  <p>All is good so far, BUT</p>
  <blockquote>
  <p>31775/120fps * 1000ms is about 4 and half minutes, and not 3:12 minute as &gt;the final timestamp suggests.</p>
  </blockquote>
  <p>Please let me know what the best way to go about timing my frames should be.</p>