How to calueclate Frame rate (FPS) of a HTML5 video in google chrome

7,501 views
Skip to first unread message

chamarth

unread,
Nov 5, 2012, 11:53:48 AM11/5/12
to chromi...@chromium.org

Hello,

I read that there is a property in chrome that we can use videoElement.FPS or chrome.fps.get() to know the frame rate of a video playing in HTML5 page.

I used those properties, but chrome is reporting that it is "undefined" or "NaN" (Not a Number).I added the screen shot in attachment.
Please suggest a way to know about the frame rate of the video running in HTML5.
It will be really helpful.

Thanks.

Best Regards..........

Screenshot from 2012-11-05 17:52:05.png

Dale Curtis

unread,
Nov 5, 2012, 2:20:28 PM11/5/12
to vsjpr...@gmail.com, Chromium-dev
Hi Chamarth,

I'm don't believe those properties are correct, here is how we calculate the FPS for our performance testing:


You can see other statistics that are supported (and those that are in the discussion phase) here:


- dale




--
Chromium Developers mailing list: chromi...@chromium.org
View archives, change email options, or unsubscribe:
http://groups.google.com/a/chromium.org/group/chromium-dev

Reply all
Reply to author
Forward
0 new messages