PHP:解析 OGG 和 .ogv 文件的类?

发布于 2024-08-27 17:46:57 字数 284 浏览 6 评论 0原文

我正在寻找一个可以解析 ogg 和 .ogv 文件的 php 类,以便我可以从文件中获取一些元数据,例如注释、比特率、长度等。

我发现了这个: http://opensource.grisambre.net/ogg/ 但经过测试后,它似乎无法解析文件我用它来测试它。

有没有人有幸找到替代方案?

我会使用 getID3(),但它不支持 ogg 视频。

I am looking for a php class that can parse ogg and .ogv files so that I can get some of the metadata out of the files, such as comments, bitrate, length, etc.

I have found this: http://opensource.grisambre.net/ogg/ but after testing it, it does not seem to parse and of the files that I test it with.

Has anyone had luck with an alternative?

I would use getID3(), but it does not support ogg video.

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

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

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

寒冷纷飞旳雪 2024-09-03 17:46:57

我没有使用过它,但 PEAR File_Ogg 包可能是您需要使用的。

I've not used it, but the PEAR File_Ogg package might be what you need to use.

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