i'd know how measure actual fps of video, in html browser video tag.
i have done searching on past few hours , did own coding
function actualfps(){ var videocurrenttime = 1000 * myvideo.currenttime var videointerval = videocurrenttime - starttime; var fps = (getframe()/videointerval)*1000 return fps; }
but realized videocurrenttime getting current time of video itself, rather time of decoded frame in 1 second.
found thread of user who's having same problem link
any idea?
as far i'm concern, html5 video tag not support dropped frames or real fps metric yet. there proposal add such metrics in future. more details @ link
Comments
Post a Comment