Page 1 of 3 123 LastLast
Results 1 to 10 of 28

Thread: VOD Adaptive ABR Streaming (with JWPlayer) needs to edit the SMIL File?

  1. #1
    Join Date
    Feb 2014
    Posts
    22

    Exclamation VOD Adaptive ABR Streaming (with JWPlayer) needs to edit the SMIL File?

    I'm with New Version of WowzaStreamingEngine (v4) and followed every steps in VOD/ABR Setup Guide.

    VOD ABR SETUP + EXAMPLE PLAYER (WOWZA MANUAL)

    Followed the Wowza Manual from here. So if i'm still not mistaken at any steps, we'll finally get following things:

    • Multiple Bitrate .mp4 Files inside "/content" Folder.
    • A "bigbuckbunny.smil" file created inside "/content" Folder. (Suggested by Wowza to create it)
    • Then (with the Wowza Example Flash Player) we get the ABR Working, with the Stream like: http://xx.xx.xx.xx:1935/vod/smil:big...l/manifest.f4m


    ABR WORKING BUT YET CAN NOT "CHOOSE" THE BIT-RATE

    Ok that is fine, great. BUT the ABR is only at "Auto Mode" as it is just the sample player from Wowza.
    So now i'm going forward with JWPlayer (to get the capability of letting the viewers choose the Bit-rate they like)

    INTEGRATED WITH JWPLAYER (LONGTAIL MANUAL)

    Then as far as i tried, (according to this JW official manual) here is the sample working codes with JWPlayer Setup. (Not working at the first place)

        <div id="se_vodplayer"></div>
        <script src="jwplayer.js"></script>
        <script type="text/javascript">
            jwplayer('se_vodplayer').setup({
                autostart: true,
                sources: [
                    { file: "/usr/local/WowzaStreamingEngine/content/bigbuckbunny.smil" }
                ],
                primary: "flash"
            });
        </script>
    BUT THERE IS A BIG PROBLEM. IT WONT WORK.
    Because (as far as i know) the Wowza Suggested SMIL file doesn't contain the <meta> value in the <head> section. (I DON'T KNOW WHY) But it is again, needed from JWPlayer.

    Meaning that, the <meta> value is needed inside <head> section like this:

    <head>
        <meta base="rtmp://xx.xx.xx.xx:1935/vod" />
    </head>
    Then it works with JWPlayer.

    So here comes the big questions:

    1. Are all my steps above even CORRECTLY DONE as supposed to?
    2. If yes, is this SMIL file problem is the common for all? (When we want something like this with JWPlayer)
    3. Then should i always put a COPY of Wowza-suggested SMIL file, and then edit it to put the <meta> Value inside?
    4. (OR) What is the another more proper approach to achieve this (VOD ABR) please?


    Best regards,
    Arkar
    Last edited by arkarwmh; 02-19-2014 at 12:49 AM.

  2. #2
    Join Date
    Feb 2014
    Posts
    129

    Default

    In my tests with Wowza 3.6 I could use the SMIL with meta base tag or with full paths in file name, it did not matter. So , maybe V 4 is different?

  3. #3
    Join Date
    Feb 2014
    Posts
    22

    Exclamation

    Quote Originally Posted by shueardm View Post
    In my tests with Wowza 3.6 I could use the SMIL with meta base tag or with full paths in file name, it did not matter. So , maybe V 4 is different?
    Hi shueardm, firstly, the SMIL file is created as Wowza has suggested (as in Manual). Then that SMIL file didn't come with <meta base....> Value inside. Then, when i use JWPlayer, the <meta base........> Value is REQUIRED inside the <head> section

    Meaning that, i can NOT straight away use the Wowza-suggested SMIL file, from JWPlayer. (I need to edit it manually)
    Last edited by arkarwmh; 02-19-2014 at 12:51 AM.

  4. #4
    Join Date
    Feb 2014
    Posts
    129

    Default

    I understand what you are saying. I just don't believe JW Player requires the meta base tag as I have used a SMIL without it.

  5. #5
    Join Date
    Feb 2014
    Posts
    22

    Default

    Quote Originally Posted by shueardm View Post
    I understand what you are saying. I just don't believe JW Player requires the meta base tag as I have used a SMIL without it.
    Hi shueardm, according to this JWPlayer 6 Manual, you can see they put the <meta base=...........> inside SMIL. And it is true also the JWPlayer NEEDS it. The player just don't work without that value. I don't know why

  6. #6
    Join Date
    Feb 2014
    Posts
    22

    Exclamation

    Quote Originally Posted by shueardm View Post
    I understand what you are saying. I just don't believe JW Player requires the meta base tag as I have used a SMIL without it.
    Hi shueardm, according to the JWPlayer Manual, the <meta base=.........> Value is needed in <head> Section. And it is true that the player just don't work without that Value

  7. #7
    Join Date
    Feb 2014
    Posts
    129

    Default

    What I see in that manual is a sample that might make it easier- I do not see anywhere it says you "must" use meta base tag. Like I said, I have used success without meta base tag and Wowza 3.6.

  8. #8
    Join Date
    Feb 2014
    Posts
    129

    Default

    Lets see your SMIL code without metabase?

  9. #9
    Join Date
    Feb 2014
    Posts
    22

    Exclamation

    Quote Originally Posted by shueardm View Post
    Lets see your SMIL code without metabase?
    Hi shueardm, as i said, the JWPlayer is simply NOT WORKING once i remove the <meta base=""/> Code.
    Anyway, here is my SMIL.

    <smil>
    	<head>
    		<meta base="rtmp://xx.xx.xx.xx:1935/vod/" />
    	</head>
    	<body>
    		<switch>
    			<video height="240" src="mp4:bigbuckbunny_450.mp4"
                    systemLanguage="eng" width="424">
    				<param name="videoBitrate" value="450000" valuetype="data"></param>
    				<param name="audioBitrate" value="44100" valuetype="data"></param>
    			</video>
    			<video height="360" src="mp4:bigbuckbunny_750.mp4"
                    systemLanguage="eng" width="640">
    				<param name="videoBitrate" value="750000" valuetype="data"></param>
    				<param name="audioBitrate" value="44100" valuetype="data"></param>
    			</video>
    			<video height="600" src="mp4:bigbuckbunny_1500.mp4"
                    systemLanguage="eng" width="800">
    				<param name="videoBitrate" value="1500000" valuetype="data"></param>
    				<param name="audioBitrate" value="44100" valuetype="data"></param>
    			</video>
    		</switch>
    	</body>
    </smil>

  10. #10
    Join Date
    Feb 2014
    Posts
    129

    Default

    I was after the SMIL you were trying without the meta base.... if you just removed the meta base then you would not have full paths to the files... you would need to be rtmp://etc etc for every file in the SMIL

Page 1 of 3 123 LastLast

Similar Threads

  1. jwplayer.smil file and Labels
    By James nNewman in forum Live Streaming and Encoders
    Replies: 3
    Last Post: 06-04-2015, 08:05 AM
  2. Using RTMP protocol with SMIL file for ABR
    By ripleyXLR8 in forum Media Players and Devices
    Replies: 2
    Last Post: 05-02-2014, 10:02 AM
  3. Replies: 8
    Last Post: 04-17-2014, 06:09 PM
  4. Adaptive bitrate streaming - Smil file
    By elhal82 in forum Live Streaming and Encoder Discussion
    Replies: 0
    Last Post: 04-11-2013, 04:22 AM
  5. iOS Adaptive Bit Rate streaming using Smil file problems
    By grantk in forum AddOn: Transcoder
    Replies: 4
    Last Post: 05-23-2012, 01:18 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
  •