Results 1 to 4 of 4

Thread: bit rate switching with vod+s3

  1. #1

    Default bit rate switching with vod+s3

    Hi All,

    We are trying to stream VOD files with multi-bit rate.

    I have checked the previous posts on the topic and apparently StreamScheduler+Smil can be a solution to this.

    However, we have one additional requirement that is to have the VOD files on S3.
    I am not sure how to serve VOD files from S3 using a smil file.

    Could you please provide some pointers as to how this can be achieved?
    Transcoder is also an option for the moment as a solution although it's not ideal due to having to transcode the same VOD files over and over.

    Wowza version: 3.1.1

    Regards.

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

    Default

    I think this can work, I think I have set this up before, but I am not sure. You will need to use MediaCache:
    http://www.wowza.com/forums/content....and-streaming)

    When you install, take a look at the /conf/MediaCache.xml file and the documentation regarding S3.

    Normally MediaCache is setup using an application with StreamType "default", but you will use StreamType "live" is the only difference in the MediaCache setup.

    The schedule smil stays in the local content folder. Its playlist items will change from this:
    <video src="mp4:bigbuckbunny_450.mp4" start="0" length="-1"/>
    To something like this:
    <video src="mp4:amazons3/[your-bucket]/bigbuckbunny_450.mp4" start="0" length="-1"/>
    The abr .smil should be moved to the S3 bucket. The playback URL will be something like this (for iOS):

    http://[wowza-address]:1935/live/smil:amazons3/[your-bucket]/yoursmil.smil/playlist.m3u8
    Richard

  3. #3
    Join Date
    Dec 2015
    Posts
    1

    Default ABR VOD from S3

    I'm trying to accomplish the same thing. I've got a video in my s3 bucket,
    My http://[wowza-ip]:[port]/vods3/_definst_/mp4:amazons3/mybucket/myvideo.mp4/playlist.m3u8 only returns a single chunklist at the original source bitrate, so my player cannot take advantage of ABR. I've got a valid transcoder license.
    I don't know why it's not returning all my other bitrate definitions that I've setup in my enginemanager admin portal.

    The documentation is not clear on how to setup ABR for VOD and not a live stream. It seems that even when creating a VOD smil file that you must connect it to a stream...

    Any help would be greatly appreciated.


    Quote Originally Posted by rrlanham View Post
    I think this can work, I think I have set this up before, but I am not sure. You will need to use MediaCache:
    http://www.wowza.com/forums/content....and-streaming)

    When you install, take a look at the /conf/MediaCache.xml file and the documentation regarding S3.

    Normally MediaCache is setup using an application with StreamType "default", but you will use StreamType "live" is the only difference in the MediaCache setup.

    The schedule smil stays in the local content folder. Its playlist items will change from this:
    <video src="mp4:bigbuckbunny_450.mp4" start="0" length="-1"/>
    To something like this:
    <video src="mp4:amazons3/[your-bucket]/bigbuckbunny_450.mp4" start="0" length="-1"/>
    The abr .smil should be moved to the S3 bucket. The playback URL will be something like this (for iOS):

    http://[wowza-address]:1935/live/smil:amazons3/[your-bucket]/yoursmil.smil/playlist.m3u8
    Richard

  4. #4

    Default

    Hello there and welcome to the Wowza support forum. I see from your playback URL that you are calling a single video file, as opposed to calling the .smil file.

    You will need to reference the .smil in your playback URL for ABR streaming.

    Please refer back to the Adaptive Bit Rate guide for reference:
    How to do adaptive bitrate streaming

    Also, see if this guide helps with the Media Cache portion of your question:
    How to use different Media Cache Sources for SMIL files and VOD assets (MediaCacheSourceSelector)


    Regards,

    Salvadore

Similar Threads

  1. Bit rate limiting
    By FrankTrog in forum Wowza Streaming Server Java API
    Replies: 3
    Last Post: 04-11-2014, 12:50 PM
  2. Replies: 3
    Last Post: 12-05-2013, 05:32 PM
  3. Bit Rate problem?
    By tko666 in forum Live Streaming and Encoder Discussion
    Replies: 1
    Last Post: 07-12-2012, 10:26 PM

Posting Permissions

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