myślę, że można użyć następującego API dla Webkit/przeglądarka Mozilla oparta:
Mozilla zaimplementowałem następujące statystyki w Firefoksie:
mozParsedFrames - number of frames that have been demuxed and extracted out of the media.
mozDecodedFrames - number of frames that have been decoded - converted into YCbCr.
mozPresentedFrames - number of frames that have been presented to the rendering pipeline for rendering - were "set as the current image".
mozPaintedFrames - number of frames which were presented to the rendering pipeline and ended up being painted on the screen. Note that if the video is not on screen (e.g. in another tab or scrolled off screen), this counter will not increase.
mozFrameDelay - the time delay between presenting the last frame and it being painted on screen (approximately).
Mozilla pracuje również nad niektórymi statystykami wymienionymi tutaj.
Webkit wdrożyły te:
webkitAudioBytesDecoded - number of audio bytes that have been decoded.
webkitVideoBytesDecoded - number of video bytes that have been decoded.
webkitDecodedFrames - number of frames that have been demuxed and extracted out of the media.
webkitDroppedFrames - number of frames that were decoded but not displayed due to performance issues.
ja nadal bada uchwałę o IE9 ...
referencyjny: http: //wiki.whatwg.org/wiki/Video_Metrics
Chociaż jest to stara odpowiedź, proszę zauważyć, że „standard telewizyjny” to nie to samo w Stanach Zjednoczonych, jak w pozostałej części świata. Większość internetowych filmów wideo jest zakodowana i sfilmowana @ 25FPS. – WesleyE
'.currentTime' nie jest na tyle dokładny, aby przejść do poziomu na jedną klatkę. – Brad