从网页流式传输 .asf 视频(HTML 中的嵌入式播放器)

发布于 2024-09-30 20:02:09 字数 837 浏览 9 评论 0原文

我的网页需要有支持 .asf 格式的视频播放器。我的 .asf 文件有 2 个视频流。

Windows 媒体播放器对此效果很好。这是我的示例:http://weblectures.yolasite.com/

以及打开上面链接的场景:

  1. Chrome ,在 Ubuntu 中,它不起作用,或者只有一个视频流将启动
  2. IE,在 Windows 7 中,它不起作用
  3. Chrome,在 Windows 7 中它起作用(两个视频流都是流式传输)

我的最终目标是用户/客户端以最小的努力从我的网页流式传输视频。我不希望用户必须继续 JW Player下载并安装它,这样他就可以播放我的视频。

而且它还必须适用于所有平台(Windows、Ubuntu、MAC OS X)。

问题(它类似于这个问题,但我必须玩 .asf 有 2 个视频流。

  1. 是 HTML5 解决方案吗?
  2. 我发现 Ubuntu 有 .asf 问题,有没有办法在 Ubuntu 中播放它
  3. ? “玩家?

I need for my web page to have video player that supports .asf format. My .asf files have 2 video streams.

Windows media player works fine for this. Here is my example: http://weblectures.yolasite.com/

and scenarios of opening link above:

  1. Chrome, in Ubuntu, it won't work or just one video stream will start
  2. IE, in Windows 7, it won't work
  3. Chrome, in Windows 7 it works (both video streams are streaming)

My ultimate goal is that user/client has to do minimal effort to stream a video from my web page. I don't want for e.g. that user has to go on JW Player and downlad it and then install it so he could stream my videos.

And also it has to work on all platforms (Windows, Ubuntu, MAC OS X).

Questions (it is similar to this question but I have to play .asf that has 2 video streams.

  1. Is HTML5 solution?
  2. I've seen that Ubuntu has problems with .asf, is there a way to play it in Ubuntu?
  3. Is there some "universal" player?

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

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

发布评论

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

评论(1

不羁少年 2024-10-07 20:02:09

对于 ASF/WMV,您现在唯一的跨平台选择可能是 Silverlight。 Microsoft 表示他们支持 HTML 5 的唯一编解码器是 MP4。

Silverlight 可在 IE、Firefox、Chrome 和 PC/MAC 上运行。我不太清楚 Silverlight 的 Unix 实现 Moonlight 的当前状态,但是这个那里也可能是一个选择。

Silverlight 有多个开源媒体播放器:

  1. http://silverlight3.codeplex.com/
  2. http://slvideoplayer.codeplex.com/

编辑 Moonlight 信息:

Moonlight 由 Novell 于与 Microsoft 合作,为 Novell 提供测试套件、规范、开源代码和媒体编解码器,为 Unix 系统创建完全开源的Silverlight 兼容实现。

Microsoft 向 Moonlight 1.0 和 2.0 用户提供对许可媒体编解码器(MP3、WMV、VC-1)的访问。当您第一次访问需要这些编解码器的网站时,Moonlight 将提示您从 Microsoft 下载编解码器并将其安装在您的系统上。

For ASF/WMV your only cross-platform option right now is probably Silverlight. Microsoft has stated that the only codec they are going to support for HTML 5 is MP4.

Silverlight works in IE, Firefox, Chrome and on PC/MAC's. I don't know exactly about the current state of Moonlight, the Unix implementation of Silverlight, but this might be an option there as well.

There are several open source media players for Silverlight:

  1. http://silverlight3.codeplex.com/
  2. http://slvideoplayer.codeplex.com/

Edit for Moonlight info:

Moonlight was built by Novell in collaboration with Microsoft which provided Novell with test suites, specifications, open source code and Media Codecs to create an entirely open sourced Silverlight-compatible implementation for Unix systems.

Access to licensed Media Codecs (MP3, WMV, VC-1) is provided by Microsoft to Moonlight 1.0 and 2.0 users. The first time that you access a web site that requires these codecs, Moonlight will prompt you to download the codecs from Microsoft and install those on your system.

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