【发布时间】:2018-12-16 15:30:50
【问题描述】:
我已经使用 MediaLive 和 MediaPackage 设置了流媒体,但问题是我不知道如何执行 RTP_PUSH?
【问题讨论】:
标签: amazon-web-services video-streaming amazon-cloudfront live-streaming flashmedialiveencoder
我已经使用 MediaLive 和 MediaPackage 设置了流媒体,但问题是我不知道如何执行 RTP_PUSH?
【问题讨论】:
标签: amazon-web-services video-streaming amazon-cloudfront live-streaming flashmedialiveencoder
您可以使用 ffmpeg 将流发送到 AWS MediaLive RTP_Push 输入。请参阅此示例命令:
ffmpeg -re -i mySourceFile.ts -c copy -map 0 -f rtp_mpegts -fec prompeg=l=5:d=20
rtp://35.XX.XX.XX:5000
有关更多详细信息,请参阅来自 AWS 博客的 document。
【讨论】:
AWS 发布了一些指南,可以帮助您开始将视频内容贡献到 MediaLive。
如果您有 AWS Elemental Live 应用程序,这里是一个指南:https://aws.amazon.com/blogs/media/connecting-aws-elemental-live-on-premises-to-aws-media-services-in-the-cloud/
如果您想从 FFMPEG 连接到 MediaLive,这里有一个指南:https://aws.amazon.com/blogs/media/connecting-ffmpeg-using-rtp-to-aws-media-services-in-the-cloud/
MediaLive 文档还包含有关使用 RTP 输入的更多信息:https://docs.aws.amazon.com/medialive/latest/ug/rtp-push-input.html
【讨论】:
我推荐使用 OBS https://obsproject.com/。
您可以设置任何您想要的视频或捕获整个屏幕。
要设置流:
【讨论】: