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

**URL:** <https://community.wowza.com/t/vod-adaptive-abr-streaming-with-jwplayer-needs-to-edit-the-smil-file/42151>\
**Category:** Wowza Streaming Engine\
**Tags:** media-players-and-devices\
**Created:** [February 19, 2014, 3:31pm UTC](https://community.wowza.com/t/vod-adaptive-abr-streaming-with-jwplayer-needs-to-edit-the-smil-file/42151 "2014-02-19T15:31:02Z")\
**Posts on this page:** 8\
**Page:** 2

<div class="post-metadata">

**Author:** ![Arkar\_WINN\_MINN\_HTWE](https://avatars.discourse-cdn.com/v4/letter/a/ebca7d/32.png) [@Arkar\_WINN\_MINN\_HTWE](https://community.wowza.com/u/Arkar_WINN_MINN_HTWE)\
**Post date:** [February 19, 2014, 3:41pm UTC](https://community.wowza.com/t/vod-adaptive-abr-streaming-with-jwplayer-needs-to-edit-the-smil-file/42151/21 "2014-02-19T15:41:05Z")

</div>

> 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 Value inside. Then, when i use JWPlayer, the Value is REQUIRED inside the section ☹

Meaning that, i can NOT straight away use the Wowza-suggested SMIL file, from JWPlayer. (I need to edit it manually)

---

<div class="post-metadata">

**Author:** ![Arkar\_WINN\_MINN\_HTWE](https://avatars.discourse-cdn.com/v4/letter/a/ebca7d/32.png) [@Arkar\_WINN\_MINN\_HTWE](https://community.wowza.com/u/Arkar_WINN_MINN_HTWE)\
**Post date:** [February 19, 2014, 3:53pm UTC](https://community.wowza.com/t/vod-adaptive-abr-streaming-with-jwplayer-needs-to-edit-the-smil-file/42151/22 "2014-02-19T15:53:33Z")

</div>

> 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](http://www.longtailvideo.com/support/jw-player/29365/rtmp-dynamic-stream), you can see they put the 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 ☹

---

<div class="post-metadata">

**Author:** ![Arkar\_WINN\_MINN\_HTWE](https://avatars.discourse-cdn.com/v4/letter/a/ebca7d/32.png) [@Arkar\_WINN\_MINN\_HTWE](https://community.wowza.com/u/Arkar_WINN_MINN_HTWE)\
**Post date:** [February 19, 2014, 3:55pm UTC](https://community.wowza.com/t/vod-adaptive-abr-streaming-with-jwplayer-needs-to-edit-the-smil-file/42151/23 "2014-02-19T15:55:48Z")

</div>

> 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](http://www.longtailvideo.com/support/jw-player/29365/rtmp-dynamic-stream), the Value is needed in Section. And it is true that the player just don’t work without that Value ☹

---

<div class="post-metadata">

**Author:** ![Arkar\_WINN\_MINN\_HTWE](https://avatars.discourse-cdn.com/v4/letter/a/ebca7d/32.png) [@Arkar\_WINN\_MINN\_HTWE](https://community.wowza.com/u/Arkar_WINN_MINN_HTWE)\
**Post date:** [February 19, 2014, 4:55pm UTC](https://community.wowza.com/t/vod-adaptive-abr-streaming-with-jwplayer-needs-to-edit-the-smil-file/42151/24 "2014-02-19T16:55:57Z")

</div>

> Lets see your SMIL code without metabase?

Hi shueardm, as i said, the JWPlayer is simply NOT WORKING once i remove the Code.

Anyway, here is my SMIL.

```auto
<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>

```

---

<div class="post-metadata">

**Author:** ![Arkar\_WINN\_MINN\_HTWE](https://avatars.discourse-cdn.com/v4/letter/a/ebca7d/32.png) [@Arkar\_WINN\_MINN\_HTWE](https://community.wowza.com/u/Arkar_WINN_MINN_HTWE)\
**Post date:** [February 19, 2014, 5:13pm UTC](https://community.wowza.com/t/vod-adaptive-abr-streaming-with-jwplayer-needs-to-edit-the-smil-file/42151/25 "2014-02-19T17:13:46Z")

</div>

> 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

So you mean IF i remove the , then i should use the FULL RTMP PATHS inside the each of IS IT? (Then i guess of course :S) Then, that means the Wowza Documentation vs JWPlayer Documentation are not in sync to each other. It is quite a big difficulties for such the normal (non-expert) users like me :S

Then now i’m still having the error. Could you please guide how to CRAFT that SMIL file without please?

---

<div class="post-metadata">

**Author:** ![Arkar\_WINN\_MINN\_HTWE](https://avatars.discourse-cdn.com/v4/letter/a/ebca7d/32.png) [@Arkar\_WINN\_MINN\_HTWE](https://community.wowza.com/u/Arkar_WINN_MINN_HTWE)\
**Post date:** [February 19, 2014, 5:23pm UTC](https://community.wowza.com/t/vod-adaptive-abr-streaming-with-jwplayer-needs-to-edit-the-smil-file/42151/26 "2014-02-19T17:23:58Z")

</div>

> Hi Arkar,
> 
> I see from the smil file that you have posted that you do have the width setting which the player needs. The other reason the menu item may not be showing is if the player is falling back to HTML5 playback. JW Player does not add the menu to the native HTML5 player to be able to manually select bitrates.
> 
> Roger.

Hi Roger, if you please carefully look into my posted SMIL file, you will see the WIDTH values. And thus, yes i do have WIDTH and all other attributes. But that one is simply not working.

Then according to your 1st reply, i just now used:

```auto
{ file: "http://xx.xx.xx.xx:1935/vod/bigbuckbunny.smil/jwplayer.smil" }

```

AND IT IS WORKING.

WOW!

1. Does it mean, i really DO NOT NEED my another custom SMIL file?

2. And then because that “/jwplayer.smil” trick, does it also mean, i really DO NOT NEED to touch (create/edit/etc) any work for SMIL files?

3. Means, Wowza automatically provide a suitable SMIL to JWPlayer … just by adding this “/jwplayer.smil” ? (wow!)

Thanks anyway!!

---

<div class="post-metadata">

**Author:** ![Paul\_Shields](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/paul_shields/32/390_2.png) [@Paul\_Shields](https://community.wowza.com/u/Paul_Shields)\
**Post date:** [July 29, 2016, 3:47pm UTC](https://community.wowza.com/t/vod-adaptive-abr-streaming-with-jwplayer-needs-to-edit-the-smil-file/42151/27 "2016-07-29T15:47:18Z")

</div>

Hi,

So you’re finding that having _definst_ in the base URL is causing a problem? I’m not sure why that would be. Does that also cause issues outside of the Wowza Test Player?

Regards,

Paul

---

<div class="post-metadata">

**Author:** ![fake\_account](https://avatars.discourse-cdn.com/v4/letter/f/4bbf92/32.png) [@fake\_account](https://community.wowza.com/u/fake_account)\
**Post date:** [July 7, 2016, 11:22am UTC](https://community.wowza.com/t/vod-adaptive-abr-streaming-with-jwplayer-needs-to-edit-the-smil-file/42151/28 "2016-07-07T11:22:01Z")

</div>

> Hi,
> 
> If you care to look at the following url, which you are using in your player, you will se that the meta tag had been added automatically.
> 
> ```auto
> http://54.206.40.122/live/smil:livestream.smil/jwplayer.smil
> 
> ```
> 
> This is the output from the above url
> 
> ```auto
> <smil>
> <head>
> [B]<meta base="rtmp://54.206.40.122/live/_definst_" />[/B]
> </head>
> <body>
> <switch>
> <video src="mp4:livestream_source" system-bitrate="1000000"/>
> <video src="mp4:livestream_240p" system-bitrate="350000"/>
> <video src="mp4:livestream_160p" system-bitrate="200000"/>
> </switch>
> </body>
> </smil>
> 
> ```
> 
> This is the jwplayer.smil url that I was refering to in my other posts.
> 
> You are corect that you do not need the meta tag in the smil files that you create to use within Wowza but you are incorrect in your assumption that JW Player does not need the meta tag in order to playback RTMP ABR.
> 
> In order for the player to display a switching menu with video sizes rather than bitrates, you need to add width info to your origin smil file.
> 
> Roger.

How can I edit the runtime created base url??

I mean i have the same output :

```auto
 rmtp://[wowza-srv]/live/_definst_ 

```

but i would have

```auto
rmtp://[wowza-srv]/live

```

because even using the test player integrated with streamEngineManager i could not load the first live stream. Instead of the second url that work perfectly.

[Previous page](https://community.wowza.com/t/vod-adaptive-abr-streaming-with-jwplayer-needs-to-edit-the-smil-file/42151.md?page=1)
