I'm looking for a way to view HTML5 <video>
, frame-by-frame.
The scenario: Having a video, with an additional button that skips to the next frame when pressed.
What do you think is the best method to do this?
timeUpdate
event, which on FireFox is called for every frame, and then just pause the video. However, the other browsers don't behave like Firefox.currentTime
element manually to +1/24 of a second, where "24" is the frame rate. I have no idea how to aquire the FPS, however.I have found this very useful HTML5 test page, which tracks all browsers' ability to achieve accurate frame-seeking.