使用 HTML5 视频检测帧精确搜索
As discussed here, frame-by-frame video seeking is supported in several but not all browsers (test page).
If a user comes to my page, is there any reliable way to detect whether or not their browser supports frame-accurate seeking?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我最终创建了一个小型 1x4 视频,每帧显示一个二进制模式(第一帧为 0001,第二帧为 0010,等等),将其加载到后台,并使用
元素来读取数据并检查准确性。
I ended up creating a small 1x4 video that shows a binary pattern each frame (0001 for frame 1, 0010 for frame two, etc), loading it in the background, and using
<canvas>
element to read the data and check for accuracy.