Results 1 to 5 of 5

Thread: playlists with multi-bitrate

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    May 2013
    Posts
    18

    Question playlists with multi-bitrate

    Hello,

    I am having problem creating correct smil file containing several video streams each having several bitrate values.
    By the moment sample smil it looks like this:

    <smil><head></head><body>
    <switch>
    <video src=xx bitrate=xxx></video>
    <video src=yy bitrate=yyy></video>
    </switch
    <switch>
    <video src=xy bitrate=xyz></video>
    <video src=yx bitrate=yxy></video>
    </switch
    </body></smil>

    the resulting rss for jwplayer always contains only link to the first 'switch' block

    please help me to clarify whatever:
    1) I am using correct syntax for playlist building or not
    2) how do I use parseMediaList with this type of smil file? by the moment the code from jwplayer rss generation modules is rather straightforward:
    MediaList mediaList = MediaListUtils.parseMediaList(appInstance....
    List<MediaListSegment> segments = mediaList.getSegment();
    for (MediaListSegment segment : segments) {
    ...
    }
    however I can't find correct functions to work with playlists. is there anythin?

  2. #2
    Join Date
    Jun 2012
    Posts
    722

    Default

    Hi,

    You should use the .smil example described here:
    How to do adaptive bitrate streaming

    Please take a look at the How to use LongTail JW Player with adaptive bitrate streaming from Wowza Media Server article for the description on how to use the server side Medialist provider with the JW Player.

    Zoran

  3. #3
    Join Date
    May 2013
    Posts
    18

    Default

    Hello Zoran,

    I think I wasn't really clear on my question.
    I know how to build smil for a single video with different bitrates, in general it looks like this:
    <smil><head></head><body>
    <switch>
    <video src=xx bitrate=xxx></video>
    <video src=yy bitrate=yyy></video>
    </switch
    </body></smil>

    this works fine for different bitrates of the same video.

    what i want to achieve is to have multiple videos with multiple bitrates in the same smil file - so kind a playlist in terms of video sequence. jwplayer do support playlists in rss in a form of:
    <rss version="2.0" xmlns:media="http://search.yahoo.com/mrss/" xmlns:jwplayer="http://developer.longtailvideo.com/">
    <channel>
    <item>
    <media:group>
    <media:content url="http://video1" />
    </media:group>
    </item>
    <item>
    <media:group>
    <media:content url="http://video2" />
    </media:group>
    </item>
    </channel>
    </rss>

    so, in theory smil file on wowza side should look something like:
    <smil><head></head><body>
    <switch>
    <video src=xx bitrate=xxx></video>
    <video src=yy bitrate=yyy></video>
    </switch
    <switch>
    <video src=xy bitrate=xyz></video>
    <video src=yx bitrate=yxy></video>
    </switch
    </body></smil>

    however com.wowza.wms.http.HTTPProviderMediaList module always returns only first switch section (i.e. first video only).
    I want to understand if this type of smil-files is supported by MediaListUtils.parseMediaList method and I just need to create my version of HTTPProviderMediaList module?

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

    Default

    You can do sequential ABR following this guide

    Richard

  5. #5

    Default

    Hi,

    It is not currently possible to have multiple switch blocks in a smil file on Wowza. The smil file & rss format that you are describing for JW Player is a client side playlist and is read by the player, not the server.

    Roger.

Similar Threads

  1. Multi bitrate
    By pezehk in forum General Forum
    Replies: 1
    Last Post: 05-30-2013, 08:14 AM
  2. multi bitrate
    By alaakaleel in forum Live Streaming and Encoder Discussion
    Replies: 1
    Last Post: 03-19-2013, 06:09 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
  •