在 Flash 中播放 Matroska (.MKV) 的库?

发布于 2024-08-27 19:22:21 字数 124 浏览 3 评论 0原文

是否有任何库可以在 Flash(AS3、MXML)中播放 MKV(matroska 多媒体容器)文件?我正在寻找开源或类似于开源的实现。由于我的 MKV 文件仅包含 Theora 视频,因此即使库仅支持一种类型的视频流,我也可以接受。

Is there any library for playing MKV (matroska multimedia container) files in Flash (AS3, MXML)? I am looking for an open source or similar to open source implementation. Since my MKV file has only Theora video, I am okay even if library supports only one type of video stream.

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

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

发布评论

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

评论(1

稚气少女 2024-09-03 19:22:21

您只能播放播放器本身支持的 Flash 视频。如果您在 ActionScript 中编写或转换实际的视频编解码器(甚至使用 C 到 Flash 字节码编译器),则性能将不足以获得可接受的视频质量。

出于内部目的,我们在 ActionScript 中实现了 Motion JPEG 显示,尽管所做的只是稍微修改了标头并主要使用本机代码显示一系列 jpeg 文件,但有效帧速率很差。

Flash 播放器本身支持几种格式

  • On2 VP6
  • Sorenson Spark (Sorenson H.263)
  • H.264

大多数人都使用最近添加的 H264。

You can only play videos in Flash that the player natively supports. If you write or convert an actual video codec in ActionScript (or even use the C to Flash bytecode compiler) the performance will not be good enough to get acceptable video quality.

For internal purposes we implemented a Motion JPEG display within ActionScript and even though all that did was modify the headers a bit and display a series of jpeg files using mostly native code, the effective framerate was poor.

Flash player natively supports a few formats

  • On2 VP6
  • Sorenson Spark (Sorenson H.263)
  • H.264

Mostly everyone uses H264 which is the most recently added.

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