Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Here's a solution with OpenCV 3:

    VideoCapture videoCapture = new VideoCapture();
    videoCapture.open("c:/movies/mymovie.mp4");
    double fps = videoCapture.get(Videoio.CAP_PROP_FPS);
    System.out.println( "fps: " + fps);