RIAMeeting - Flash Media Server 3(转)

这次是RIAMeeting的第七次会议,由于取消了原定的bill 讲解 RED5 的Topic,这次就成了7yue的独角戏 -

Flash Media Server 3 & Dynamic Media

我目前还没有用过Flash Media Server, 听的也是一知半解,就当是知识储备了。把会上听到的一些在这里share一下:

1.  90%的客户都拿FMS做VOD(点播) 和 LIVE(直播), 剩下的是做游戏聊天等.

2.  做地域性限制,应该在client端做,像www.hulu.com

3.  Real Time Messaging Protocol (RTMP) 服务器

  • Adobe Flash Media Server
  • Wowza Media Server
  • RED5

4.  Encrypted RTMP (RTMPE): An 128-bit encrypted edition of Real-Time Messaging Protocol (RTMP)

5.  Adobe FVSS 只向CDN(Content Delivery Network)开放,如 ChinaCache 北京蓝汛. 如果要做大型VOD(video on demand),就直接找CDN,不需要自己买服务器和FMS了。IOC(International Olympic Committee) 卖给CCTV的3800小时奥运节目就是通过CDN来做的。近千台服务器提供服务。

6.  FMS的硬件服务器推荐HP DL185. FMS是32位的,最大只能识别4G内存。

7.  转码

  • ffmpeg: 免费。YouTube就是用它,不过需要自己修改定制,产生的文件比较大
  • On2 Flix 收费,支持格式很全,产生的文件也小。 http://www.on2.com/
  • Digital Rapids

8.  client的3种方案

  • FLVPlayback (不建议使用) 缺点:
    a)不支持Flex
    b)不能取得NetStream信息
    c)只支持两级的Origin/Edge
    d)灵活度0%
  • VideoDisplay 缺点:
    a) EventInfoObject不支持
    b) 取 Metadata / Cue Point 难
    c) 独立的请求构造
    d) 灵活度 50%
  • Video + NetConnection + NetStream (推荐! 灵活度100%)

9.  FMS 多级 Origin/Edge 方式 (FMS资料错了)

  • 两级的Origin/Edge =======================
    ServerA(Origin)     ServerB(Edge)
    ServerB的配置文件: ServerB.IP(from); ServerA.IP(to)
  • 多级的Origin/Edge...Edge ==================
    ServerA(Origin)     ServerB(Edge)     ServerC(Edge)
    ServerC的配置文件: ServerC.IP(from); ServerB.IP(to)
    ServerB的配置文件: ServerC.IP(from); ServerA.IP(to)

10. NetConnection URL 结构  http://Domain:port/Application/Instance

例如 http://localhost:8080/vod/sport/2008/07/26/123.flv
其中 http://localhost:8080/vod/sport 是NetConnection URL
2008/07/26/123.flv 是NetStream的

11. FMS分stateless(VOD使用的) 和state(其他如share info, LIVE)

12. Sawmill 日志分析工具

13. NetStream.eventInfo.videoCodeId 分析视频格式

14. 7yue推荐学习Flash Media Server的最佳书籍

OReilly.Learning.Flash.Media.Server.3.2008.chm

http://www.riabook.cn/en_book/learning_flash_media_server.htm

15. FMS3提供免费的开发版。包括所有功能和10个并发。

下载地址 http://www.adobe.com/products/flashmediaserver/

7yue Blog
http://www.7yue.com/

posted @ 2009-05-17 19:27  Andy  阅读(788)  评论(0编辑  收藏  举报