Search code examples
amazon-web-servicesschedulechannelaws-media-live

AWS MediaLive - Schedule Input Switch not behaving as expected


I wonder if anyone can please help.

I have a MediaLive channel with two file inputs: a 2-minute Countdown video and a 40-minute Main video. Upon start, I want the channel to play the Countdown video first, followed by the Main video. My schedule is as follows (set up from scratch with each test):

- 1. Start type: Immediate; Action: Input Switch; Input attachment: "Countdown" input
- 2. Start type: Follow "Countdown" input switch; Follow point: END; Action: Input Switch; File: "Main video"

My problem is that the channel goes directly to the Main video and does not play the Countdown.

I am viewing the output the moment it becomes available - well within 2 minutes of the channel starting - and I see the opening frames of the Main video each time [I did try swapping schedule around, so it should start with Main and follow with Countdown - again, it started with Main]. Both videos are identical format (mp4/1080/8Mbps/25fps). For the record, the Countdown input is the first input attachment listed is channel settings. Output is to MediaStore/CloudFront (new URL with each channel start, so not cached).

Any ideas where I might be going wrong here? How I can make it play Countdown first? Very much appreciate anyone's expert assistance!

Many thanks.


Solution

  • Thank you for asking this question on stackoverflow, I pulled the logs for your channel and reviewed them and I am seeing we are failing to probe the main video and the HTTP transfer is failing, can you verify that the video is in the S3 bucket and that it's not corrupt?

    Zach