Results 1 to 4 of 4

Thread: How to play S3 hosted videos with streamschedule.smil?

  1. #1
    Join Date
    Jul 2013
    Posts
    6

    Question 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!

  2. #2
    Join Date
    Dec 2007
    Posts
    21,962

    Default

    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

  3. #3
    Join Date
    Dec 2007
    Posts
    21,962

    Default

    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

  4. #4
    Join Date
    Jul 2013
    Posts
    6

    Default

    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!

Similar Threads

  1. i need help with streamschedule.smil
    By emile.k in forum General Forum
    Replies: 5
    Last Post: 07-11-2014, 10:21 PM
  2. Replies: 1
    Last Post: 06-27-2014, 10:27 PM
  3. problem streamschedule.smil
    By tranmy1828 in forum General Forum
    Replies: 6
    Last Post: 03-30-2014, 08:45 PM
  4. how to stream youtube and kaltura hosted videos using wowza instance on my EC2
    By anurage8 in forum Wowza Media Server 3 for Amazon EC2 Discussion
    Replies: 4
    Last Post: 02-21-2012, 07:34 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •