伙计们,我已经使用MediaLive和MediaPackage设置了流媒体,问题是我不知道如何做RTP_PUSH或它如何工作?
答案 0 :(得分:3)
您可以使用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。
答案 1 :(得分:1)
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
答案 2 :(得分:1)
我建议使用OBS https://obsproject.com/。
您可以设置所需的任何视频或捕获整个屏幕。
设置流: