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달 전535회 조회
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.

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠