# Live stream with multi bitrate

**URL:** <https://community.wowza.com/t/live-stream-with-multi-bitrate/43292>\
**Category:** Wowza Streaming Engine\
**Created:** [June 28, 2014, 11:16am UTC](https://community.wowza.com/t/live-stream-with-multi-bitrate/43292 "2014-06-28T11:16:52Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Cristopher\_Robert](https://avatars.discourse-cdn.com/v4/letter/c/7ea924/32.png) [@Cristopher\_Robert](https://community.wowza.com/u/Cristopher_Robert)\
**Post date:** [June 28, 2014, 11:16am UTC](https://community.wowza.com/t/live-stream-with-multi-bitrate/43292/1 "2014-06-28T11:16:52Z")

</div>

Hello,

I did all the steps as the tutorial and [https://www.youtube.com/watch?v=lcaK9K613Po&list=WL&index=4](https://www.youtube.com/watch?v=lcaK9K613Po&list=WL&index=4) [https://www.wowza.com/docs/how-to-do-adaptive-bitrate-streaming](https://www.wowza.com/docs/how-to-do-adaptive-bitrate-streaming) -adaptive-bitrate-streaming.

But it does not work, it even generates the correct versions, see the “incoming stream” but when I put the file, smil in jwplayer, he recognizes the.

[http://192.81.210.221:1935/live/smil:teste.smil/playlist.m3u8](http://192.81.210.221:1935/live/smil:teste.smil/playlist.m3u8)

This would be my link, and the smil file is this:

\<? xml version = "1.0" encoding = "UTF-8"\> value="850000" value="11000" value="150000" value="11000" value="150000" value="11000" value="150000" value="11000" value="850000" value="11000" value="44100"

---

<div class="post-metadata">

**Author:** ![Matt\_Young](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/matt_young/32/389_2.png) [@Matt\_Young](https://community.wowza.com/u/Matt_Young)\
**Post date:** [June 30, 2014, 5:19am UTC](https://community.wowza.com/t/live-stream-with-multi-bitrate/43292/2 "2014-06-30T05:19:40Z")

</div>

First thing I noticed is the following:

```auto
<param name="videoBitrate" valuetype="data"> value="850000" </ param> 

```

Of which you have a closing “\>” tag prematurely within your xml schematic. You would do something more like the following:

```auto
<param name="videoBitrate" value="850000" valuetype="data"></param>

```

Same holds for the audioBitrate.

---

<div class="post-metadata">

**Author:** ![sal\_jefferson](https://avatars.discourse-cdn.com/v4/letter/s/6de8d8/32.png) [@sal\_jefferson](https://community.wowza.com/u/sal_jefferson)\
**Post date:** [July 2, 2014, 2:52pm UTC](https://community.wowza.com/t/live-stream-with-multi-bitrate/43292/3 "2014-07-02T14:52:54Z")

</div>

Hi there,

Have you taken a look at this guide? It should help get you set up with ABR and JW Player:

[How to use JW Player with adaptive bitrate streaming from Wowza Streaming Engine](https://www.wowza.com/docs/how-to-use-jw-player-with-adaptive-bitrate-streaming-from-wowza-streaming-engine)

Also, using an un-transcoded source in the abr set will most likely cause issues as key frames must be aligned thru-out the list of renditions. If you are using the source stream as the highest quality stream in the set, you should transcode it the same time as the rest of the renditions.

I hope this helps.

Salvadore

---

<div class="post-metadata">

**Author:** ![Matt\_Young](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/matt_young/32/389_2.png) [@Matt\_Young](https://community.wowza.com/u/Matt_Young)\
**Post date:** [June 30, 2014, 11:52pm UTC](https://community.wowza.com/t/live-stream-with-multi-bitrate/43292/4 "2014-06-30T23:52:22Z")

</div>

Are you able to playback the individual renditions i.e.

```auto
rtmp://[your-wowza-ip]:1935/live/myStream_[rendition]

```

?

---

<div class="post-metadata">

**Author:** ![Cristopher\_Robert](https://avatars.discourse-cdn.com/v4/letter/c/7ea924/32.png) [@Cristopher\_Robert](https://community.wowza.com/u/Cristopher_Robert)\
**Post date:** [June 30, 2014, 9:36am UTC](https://community.wowza.com/t/live-stream-with-multi-bitrate/43292/5 "2014-06-30T09:36:56Z")

</div>

> First thing I noticed is the following:
> 
> ```auto
> <param name="videoBitrate" valuetype="data"> value="850000" </ param> 
> 
> ```
> 
> Of which you have a closing “\>” tag prematurely within your xml schematic. You would do something more like the following:
> 
> ```auto
> <param name="videoBitrate" value="850000" valuetype="data"></param>
> 
> ```
> 
> Same holds for the audioBitrate.

Sorry, do not know what happened, but I think the forum has changed the syntax, the the correct file is:

```auto
<?xml version="1.0" encoding="UTF-8"?>
<smil title="teste">
	<body>
		<switch>
				<video height="360" src="myStream_720p" systemLanguage="eng" width="640">
				<param name="videoBitrate" value="850000" valuetype="data"></param>
				<param name="audioBitrate" value="11000" valuetype="data"></param>
			</video>	
			<video height="240" src="myStream" systemLanguage="eng" width="360">
				<param name="videoBitrate" value="150000" valuetype="data"></param>
				<param name="audioBitrate" value="11000" valuetype="data"></param>
			</video>		
			<video height="240" src="myStream_source" systemLanguage="eng" width="360">
				<param name="videoBitrate" value="150000" valuetype="data"></param>
				<param name="audioBitrate" value="11000" valuetype="data"></param>
			</video>			
			<video height="240" src="myStream_240p" systemLanguage="eng" width="360">
				<param name="videoBitrate" value="150000" valuetype="data"></param>
				<param name="audioBitrate" value="11000" valuetype="data"></param>
			</video>
			<video height="360" src="myStream_360p" systemLanguage="eng" width="640">
				<param name="videoBitrate" value="850000" valuetype="data"></param>
				<param name="audioBitrate" value="11000" valuetype="data"></param>
			</video>
			<audio>
				<param name="audioBitrate" value="44100" valuetype="data"></param>
			</audio>			
		</switch>
	</body>
</smil>

```

---

<div class="post-metadata">

**Author:** ![Cristopher\_Robert](https://avatars.discourse-cdn.com/v4/letter/c/7ea924/32.png) [@Cristopher\_Robert](https://community.wowza.com/u/Cristopher_Robert)\
**Post date:** [July 2, 2014, 4:57pm UTC](https://community.wowza.com/t/live-stream-with-multi-bitrate/43292/6 "2014-07-02T16:57:10Z")

</div>

> Are you able to playback the individual renditions i.e.
> 
> ```auto
> rtmp://[your-wowza-ip]:1935/live/myStream_[rendition]
> 
> ```
> 
> ?

sorry by late

Yes, I can see they manually enter the stream url.
