问题
So while the DOM, canvas and webgl can hit framerates of up to 60fps, video seems to be stuck at 24fps for the moment.
That framerate is more convention than anything I believe, both the codecs and video container formats don't have restrictions there (well, not all of them).
I'd love to see a <video>
tag showing a clip at like 48 or 60fps. Is this possible, and if so, how can it best be done?
回答1:
If the video is encoded at a high frame rate and the browser's media player implementation can keep up, then there's nothing stopping playback at a higher frame rate.
来源:https://stackoverflow.com/questions/6089713/get-a-24-fps-framerate-in-html5-video