gpt4 book ai didi

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

转载 作者:行者123 更新时间:2023-12-03 21:21:57 28 4
gpt4 key购买 nike

我正在使用 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/

28 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com