View Full Version : Display Frame Rate...

June 20, 2003, 21:50:00
Dear All,

I was trying to display frame rate on each frame. I used param.getCurrentActualFrameRate() to get the framerate in the overlayCallback( Grabber& param,...) but I always got 0. In the debug mode, I saw the following exception:

First-chance exception in graphicoverlayDev.exe (KERNEL32.DLL): 0xE06D7363: Microsoft C++ Exception.

Please help....



Stefan Geissler
June 24, 2003, 12:51:11
What kind of video capture device do you use? If it does not support frame rates, this method will return 0 anyway. In this case, you need to count the frames on your own and calculate the frame rate.