是否有可能做的Flash伪流与S3? [英] Is it possible to do Flash pseudo streaming with S3?

查看:125
本文介绍了是否有可能做的Flash伪流与S3?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我一直在使用S3已经存储和服务的FLV和MP4视频。它的伟大工程,但内容是渐进式下载。我想知道是否有可能获得所谓的伪流与S3的工作。

I've been using S3 to store and serve FLV and MP4 videos. It works great, but the content is progressively downloaded. I was wondering if it is possible to get so-called "pseudo streaming" to work with S3.

伪流媒体让观众在视频提前征求之前,完整的视频已经下载和发送只需要Flash播放器的位。

Pseudo streaming allows viewers to seek ahead in a video before the full video has downloaded as well as send only the bits necessary to the Flash player.

我所知道的Lighttp的伪流媒体插件,我知道我可以使用关键帧的FLV文件与XMOOV脚本 - 但我想设置这样与S3,而不是运行自己的服务器。

I'm aware of Lighttp's pseudo streaming plugin, and I know I can use keyframed FLV files with an XMOOV script - but I'd like to setup this up with S3, as opposed to running my own server.

任何帮助是AP preciated。

Any help is appreciated.

推荐答案

没有,你不能做伪流着S3。这是因为有两个原因:

No.

No, you can't do pseudo-streaming with S3. This is because of a couple of reasons:

  • 在S3不会让你的下载管理比特率以任何方式
  • 在S3不允许将任何逻辑文件的前面。意即:
    • 在没有寻求到文件的中间
    • 没有MOOV原子魔 - 如果不是在文件的前面,然后整个文件将被播放之前下载
    • S3 does not allow you to managed the bit rate of the download in any way
    • S3 does not allow you to place any logic in front of the file. This means:
      • no seeking into the middle of the file
      • no MOOV atom magic--if it is not at the front of the file, then the entire file will be downloaded before playback.

      你可以做什么是这样(我已经做了类似的东西我自己的一个项目):

      What you can do is this (and I have done something similar myself for a project):

      • 运行与EC2实例 lightty &放大器; mod_h264_streaming <$ C C $>寻求请求。你甚至可以托管在EC2上你的应用程序/网站在这种情况下。
      • 有该文件的本地副本到您的实例
      • 在对S3的文件的副本交付0字节(我猜你的大多数要求是。
      • 将在 MOOV 原子上的文件上传。这也不是那么难做编程。
      • Run an EC2 instance with lightty & mod_h264_streaming for seeking requests. You may even want to host your application/site on EC2 in this case.
      • have a copy of the file local to your instance
      • have a copy of the file on S3 for delivery from byte 0 (as I'd guess the majority of your requests would be.
      • Move the MOOV atom on file upload. This is not so difficult to do programatically.

      EC2带宽费用是相同的S3中,但总的EC2实例带宽是有限的(100-250mpbs?),而S 3实际上是无限的。

      EC2 bandwidth charges are the same as S3, but the total EC2 instance bandwidth is limited (100-250mpbs?), while S3 is effectively unlimited.

      这篇关于是否有可能做的Flash伪流与S3?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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