从网页流式传输 .asf 视频(HTML 中的嵌入式播放器) [英] Stream .asf video from web page (embedded player in HTML)

查看:39
本文介绍了从网页流式传输 .asf 视频(HTML 中的嵌入式播放器)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的网页需要有支持 .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. 有什么通用"播放器吗?

解决方案

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

Silverlight 适用于 IE、Firefox、Chrome 和 PC/MAC.我不完全了解 Moonlight(Silverlight 的 Unix 实现)的当前状态,但是这个也可能是一个选择.

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

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

编辑月光信息:

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

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

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?

解决方案

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.

这篇关于从网页流式传输 .asf 视频(HTML 中的嵌入式播放器)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆