使用 vp8 SDK 创建网络浏览器可播放的 webm 文件?

发布于 2024-09-14 05:38:27 字数 303 浏览 1 评论 0原文

我正在使用 vp8 SDK (www.webmproject.org) 创建 vp8 编码的视频文件。但是,SDK 示例会生成一个 IVF 文件,浏览器不会播放该文件。

我知道 webm 格式是 matroska 容器,所以我想我应该以该格式存储视频数据,但是 mkv 格式规范冗长而复杂,我认为我不应该通过自己弄清楚它来重新发明轮子。

所以我想知道是否有人可以推荐一个如何编码和生成可播放的 webm vp8 文件的示例。 如果没有这样的示例(正如我在谷歌上的搜索所建议的那样),至少向我指出一个简单且可用的 matroska 库,该库已被证明适用于浏览器。

I'm using the vp8 SDK (www.webmproject.org) to create a vp8-encoded video file. However, the SDK sample produces an IVF file, which the browser doesn't play.

I know the webm format is a matroska container so I guess I should store the video data in that format, but the mkv format specification is lengthy and complex and I don't think I should reinvent the wheel by figuring it out by myself.

So I would like to know if someone can recommend a sample of how to encode and produce a playable webm vp8 file.
If there is no such sample (as my searches on google suggest) at least point me to a simple and usable matroska lib which is proven to work for the browsers.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文