使用 HTML5 视频检测帧精确搜索

发布于 2025-01-08 04:42:45 字数 302 浏览 3 评论 0原文

正如此处所讨论的,逐帧视频搜索支持几个但不是所有浏览器(测试页)。

如果用户访问我的页面,是否有任何可靠的方法来检测他们的浏览器是否支持帧精确搜索?

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 技术交流群。

扫码二维码加入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.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文