1)映像ファイルをダウンロードするコマンド
wget https://aws-mediaservices-jp.workshop.aws/handson8/_index.ja.files/file_example_MP4_1920_18MG.mp4
2)MediaConnectへライブ配信を行うコマンド
コマンド内の rtp://xxx.xxx.xxx.xxx:5000 は作成した MediaConnect の Inbound IP Address に変更してください
ffmpeg -stream_loop -1 -re -i file_example_MP4_1920_18MG.mp4 -c copy -map 0 -f rtp_mpegts -fec prompeg=l=5:d=20 rtp://xxx.xxx.xxx.xxx:5000 > /dev/null 2>&1 </dev/null &