HLS input to SRT output - MediaLive to MediaConnect

0

Hi,

We have a request from a client to redistribute a video service. The only source available to us is HLS and we have to output an SRT to several destinations.

I know we can take a MediaConnect input and output to MediaLive. If we bring in the HLS into MediaLive, can we output to MediaConnect and output the SRT?

I can't find anything to validate this.

Thanks.

jorge
已提问 5 个月前538 查看次数
3 回答
1

Hi Jorge,

As you suggested, you can configure an UDP/RTP output of MediaLive (https://docs.aws.amazon.com/medialive/latest/ug/creating-udp-output-group.html) and use the ingest IP of the MediaConnect flow as the destination. Then you can create an SRT output (listener or caller) from that MediaConnect flow (https://docs.aws.amazon.com/mediaconnect/latest/ug/outputs-add-standard.html).

Step by step :

  • Create MediaConnect flow, take note of the input IP
  • Create a MediaLive channel with an UDP output group in which the destination is the previous IP
  • Create a MediaConnect SRT output
  • Start both the MediaConnect flow and the MediaLive channel

I recommend using FEC for the MediaLive output as a means of protection against packed drop (https://docs.aws.amazon.com/medialive/latest/ug/downstream-system-udp.html).

Thanks

AWS
Pedro_F
已回答 5 个月前
0

Thanks for your question, Jorge:

I consulted the documentation for MediaLive and unfortunately, SRT is not one of the supported outputs, so we are not able to transcode your video inputs from HLS to SRT.

The only path forward I can see is to install FFMPEG on an EC2 instance and use that to transcode your video from HLS to SRT. Then it would be easy to distribute your video via a MediaConnect flow, as SRT is able to be used as an input and output.

AWS
专家
已回答 5 个月前
  • Thanks for your response, BCole. I did consider the option of standing up FFMPEG in EC2 as a work-around if there was no other alternative. Looks like Pedro may have provided a path, but will keep this option in mind.

0

I was able to get this working, but through a standard single pipeline source traversing the public internet.

I haven't been able to get it working via VPC, but as soon as I changed to standard source, it came right up.

UDP output group outputting RTP-FEC out of MediaLive into MediaConnect.

If this goes beyond PoC, it would be a 24x7 channel with at least 5 SRT output destinations to start.

jorge
已回答 5 个月前
  • On further testing, whenever I configure the MediaLive channel as VPC output delivery, MediaLive starts throwing out alerts that it can't reach the input source. However, when I reconfig to public output delivery, it works as inte

    Update: VPC now working correctly. EIP wasn't associated.

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则