I need to get the number of frames captured of a video using OpenCV with Java. I'm capturing the video through a webcam. I tried to use:
CV_CAP_PROP_POS_MSEC
in capture.get()
but it seems like it is not working. I found a similar question here but didn't get any successful way to do this. I'm using OpenCV 2.4.8. Can anyone please give me any idea of how to do this? Thanks in advance!