How to play S3 hosted videos with streamschedule.smil?

I apologize if this has already been answered in another thread, but I can’t seem to find anything, so here’s my question:

With Wowza on an EC2 instance, how can I use streamschedule.smil to play videos hosted on S3? I’m thinking this should work, but I don’t know what I’m missing. By the way, it works fine when I play them individually with vods3. Here’s how I’m referring to them in the schedule:

<video src="mp4:amazons3/mybucket/myvideo.mp4" start="0" length="-1" />

And here’s what I get in the log:

2013-08-02 15:42:55 UTC comment server INFO 200 - Stream.switch[live/_definst_/streamname]: index: 1 name:mp4:amazons3/mybucket/myvideo.mp4 start:0 length:-1 _defaultVHost_ live _definst_ 425.184 [any] 1935 rtmp://ec2-54-226-144-1.compute-1.amazonaws.com/live 24.159.164.34 rtmp unknown WIN 11,8,800,97 1353148034 3409 3413 - - - - - - - - - - - - - rtmp://ec2-54-226-144-1.compute-1.amazonaws.com/live -
2013-08-02 15:42:55 UTC comment server WARN 200 - MediaReaderH264.open[live/_definst_]: Not found: /usr/local/WowzaMediaServer/content/amazons3/mybucket/myvideo.mp4. _defaultVHost_ live _definst_ 425.184 [any] 1935 rtmp://ec2-54-226-144-1.compute-1.amazonaws.com/live 24.159.164.34 rtmp unknown WIN 11,8,800,97 1353148034 3409 3413 - - - - - - - - - - - - - rtmp://ec2-54-226-144-1.compute-1.amazonaws.com/live -
2013-08-02 15:42:55 UTC comment server INFO 200 - ServerListenerStreamPublisher PlayList Item Start: mp4:amazons3/mybucket/myvideo.mp4 _defaultVHost_ live _definst_ 425.185 [any] 1935 rtmp://ec2-54-226-144-1.compute-1.amazonaws.com/live 24.159.164.34 rtmp unknown WIN 11,8,800,97 1353148034 3409 3413 - - - - - - - - - - - - - rtmp://ec2-54-226-144-1.compute-1.amazonaws.com/live -

Any guidance would be greatly appreciated!

Using MediaCache, configure a MediaCache application as usual except that you make the StreamType “live” (instead of “default”)

The scheduler is setup the same, but should point to the application you configured for MediaCache. The streamschedule.smil file stays in the Wowza /content folder, but you have to point to MediaCache assets in the playlists, as you show in your post, that is correct.

Richard

But if you are using one of the Wowza pre-built EC2 AMIs you don’t have to setup MediaCache. It is already installed.

Richard

I am using a pre-built EC2 AMI, and my problem was that I didn’t know I needed to alter my “live” application that I’m using for the stream. I duplicated the Application.xml from the vods3 application (changing “default” to “live”), and now it works great.

Thanks!