amazon-web-services - AWS MediaLive MediaPackage - 如何将实时流视频存储到 S3?

标签 amazon-web-services amazon-s3 video-streaming

我正在使用 AWS MediaLive 从移动设备实时推送视频内容。
然后我使用 AWS MediaPackage 来消化输入,即来自 AWS MediaLive 的输出。
使用 AWS MediaLive,我创建了源终端节点,让用户/观众观看直播。

现在,我不知道如何将实时流媒体视频存储到 S3 并通过 CDN 分发它,以便即使流媒体结束也能观看视频。
AWS 提供的东西是开箱即用的吗?

更新 :

我定义了一个 ArchiveGroupSettings带有到 S3 存储桶的输出 URL。
现在 MediaLive 创建 .ts文件并将它们发送到存储桶,问题是 .ts文件不包括 .m3u8播放列表文件。

我应该使用其他 AWS 媒体服务吗?
我需要的只是一种在实时流完成后流式传输视频的方法,即将 HLS 视频保存到 S3 或类似的,然后通过像 CloudFront 这样的 CDN 分发它。

笔记:
我正在使用 AWS MediaLive 和 MediaPackage API。

最佳答案

我认为您需要创建另一个输出,它是 HLS 输出组,并将目标设置为 MediaStore。

AWS Elemental MediaStore is an AWS storage service optimized for media. It gives you the performance, consistency, and low latency required to deliver live streaming video content. AWS Elemental MediaStore acts as the origin store in your video workflow. Its high performance capabilities meet the needs of the most demanding media delivery workloads, combined with long-term, cost-effective storage.



要完整记录您的视频,您必须在 Manifest and Segments 中设置配置HLS 输出组的部分:
Output Selection: "MANIFESTS_AND_SEGMENTS"
Mode: "VOD"

更新:
我建议你使用MediaStore而不是S3,因为MediaStore是基于S3的服务,价格和S3一样。它专门用于处理媒体文件。

关于amazon-web-services - AWS MediaLive MediaPackage - 如何将实时流视频存储到 S3?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/52900656/

相关文章:

python - HLS - 如果我有 ts 文件(Ubuntu),如何创建 m3u8 list ?

video - avcodec_thread_init 的替代品是什么?

amazon-web-services - 从指定的 S3 目录列表中检索内容

amazon-web-services - 访问 aws s3 公共(public)存储桶

eclipse - 在 eclipse Neon 上安装 aws toolkit 时如何解决连接问题?

javascript - 对 S3 下载的图像的 URI 进行编码

amazon-web-services - 上传多个文件时触发 Lambda Off SNS Topic

android - 如何播放存储在在线文件服务器上的视频?

amazon-web-services - Amplify 中没有经过身份验证的用户的当前用户

amazon-web-services - 为什么S3存储桶ARN不包含AWS帐号?