Wowza Community

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

Hi Arkar,

Good to hear that you got it sorted out.

Yes, it means that you won’t have to create custom smil files for jw player again. You will still need to create the original smil file that is used fro HTTP streaming and to generate the jwplayer.smil.

Our documentation received a major overhaul last week with the release of Wowza StreamingEngine and some things may have been misplaced. For this, please accept our apologies and be sure that our documentation team is working hard to make sure everything ends up in the right place where it can be found easily.

This article, How to use LongTail JW Player with adaptive bitrate streaming from Wowza Media Server provides the information about using the jwplayer.smil url (and jwplayer.rss url for JW PLayer 5).

Please let us know if you are stuck anywhere else.

Roger.

Please show me the jw player configuration you are using for this. You are most likely not doing RTMP ABR playback.

Roger.

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.

http://54.206.40.122/live/smil:livestream.smil/jwplayer.smil

This is the output from the above url

<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.

Was talking about the SMIL contents, not the path to the SMIL

So was I.

Adding the rtmp address to each video rendition in the smil file will not work for ABR.

Roger.

we were talking about if the user made his own SMIL file. The SMIL I uploaded did not include metabase.

Yes, and that smil file will not work directly in the player because the smil file that the player reads (either generated by Wowza or created by the end user) needs the meta tag.

The OP was asking about the smil file that they use in the player, not the one that Wowza uses internally. These are 2 different items.

Roger.

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.

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.

Lets see your SMIL code without metabase?

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

To do RTMP ABR playback in JW Player, you do need a meta tag.

Roger.

Sorry Roger. You do not need the meta base

I just fired up a EC2 and Wowza to test, it works without metabase

Here is my smil, this is LIVE

I am live right now, playing back a tape, please see http://live.on2dvd.com.au/liveabr.html

This is not correct and will not work…

Please do try to post accurate information if you are going to try to assist other users.

The correct way is to use the built in jwplayer.smil url,

http://<wowza-ip:1935/vod/smil:bigbuckbunny.smil/[B]jwplayer.smil[/B]

Roger.

Was talking about the SMIL contents, not the path to the SMIL

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.

http://54.206.40.122/live/smil:livestream.smil/jwplayer.smil

This is the output from the above url

<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.

Got you, understood. it doesn’t matter if Wowza does it automatically, we were talking about if the user made his own SMIL file. The SMIl I uploaded did not include metabase.

I know you can add the width, in this case I didn’t bother, it still switched on bitrate

Ok, sorry if I am wrong. I have done it that way with VOD with cloudfront, perhaps it doesn’t work with wowza?

ooooK, you can read it that way.

As long as he is sorted

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 :frowning:

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

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 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 :frowning:

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 Value is needed in Section. And it is true that the player just don’t work without that Value :frowning:

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.

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

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

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