# Multi bitrate live streaming

**URL:** <https://community.wowza.com/t/multi-bitrate-live-streaming/37001>\
**Category:** Wowza Streaming Engine\
**Created:** [October 11, 2011, 4:30am UTC](https://community.wowza.com/t/multi-bitrate-live-streaming/37001 "2011-10-11T04:30:14Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![Vaishnavi\_s](https://avatars.discourse-cdn.com/v4/letter/v/ccd318/32.png) [@Vaishnavi\_s](https://community.wowza.com/u/Vaishnavi_s)\
**Post date:** [October 11, 2011, 4:30am UTC](https://community.wowza.com/t/multi-bitrate-live-streaming/37001/1 "2011-10-11T04:30:14Z")

</div>

hi,

Can i get help on setting up live multi bitrate streaming.

The following are the questions

1. Different bitrate stream to be sent to different port ?

2. How to configure the smil file with these port numbers.

I tried the example given in [https://www.wowza.com/docs/how-to-set-up-live-streaming-using-an-rtmp-based-encoder,but](https://www.wowza.com/docs/how-to-set-up-live-streaming-using-an-rtmp-based-encoder,but) could not receive the streams. Please help me out with this

Thank you

---

<div class="post-metadata">

**Author:** ![Richard\_Lanham](https://avatars.discourse-cdn.com/v4/letter/r/c68b51/32.png) [@Richard\_Lanham](https://community.wowza.com/u/Richard_Lanham)\
**Post date:** [October 11, 2011, 12:50pm UTC](https://community.wowza.com/t/multi-bitrate-live-streaming/37001/2 "2011-10-11T12:50:35Z")

</div>

You can stream over any port that you have enabled.

[https://www.wowza.com/docs/how-to-install-and-configure-wowza-streaming-engine#addtionalPorts](https://www.wowza.com/docs/how-to-install-and-configure-wowza-streaming-engine#addtionalPorts)

But you don’t define ports per stream in a smil. You can serve the smil on any one port

Richard

---

<div class="post-metadata">

**Author:** ![Richard\_Lanham](https://avatars.discourse-cdn.com/v4/letter/r/c68b51/32.png) [@Richard\_Lanham](https://community.wowza.com/u/Richard_Lanham)\
**Post date:** [October 12, 2011, 12:34pm UTC](https://community.wowza.com/t/multi-bitrate-live-streaming/37001/3 "2011-10-12T12:34:49Z")

</div>

If you mean streaming from Wowza, not exactly, but there is more you can do with smil files, and there is a variation involving the Transcoder.

Take a look at this article:

[https://www.wowza.com/docs/how-to-set-up-adaptive-bitrate-streaming-using-mediastreamnamegroups-module](https://www.wowza.com/docs/how-to-set-up-adaptive-bitrate-streaming-using-mediastreamnamegroups-module)

For creating the multi-bitrate streams, you can use the Wowza transcoder, and it has a way of grouping streams which essentially creates a smil file for clients. Take a look at the Transcoder Templates section of this article:

[https://www.wowza.com/forums/showthread.php?13271-Wowza-Server-3-Preview-How-to-setup-and-run-live-stream-transcoder](https://www.wowza.com/forums/showthread.php?13271-Wowza-Server-3-Preview-How-to-setup-and-run-live-stream-transcoder)

Richard

---

<div class="post-metadata">

**Author:** ![Richard\_Lanham](https://avatars.discourse-cdn.com/v4/letter/r/c68b51/32.png) [@Richard\_Lanham](https://community.wowza.com/u/Richard_Lanham)\
**Post date:** [October 13, 2011, 1:13pm UTC](https://community.wowza.com/t/multi-bitrate-live-streaming/37001/4 "2011-10-13T13:13:54Z")

</div>

Multi-bitrate streaming is covered in the mpegts tutorial:

[https://www.wowza.com/docs/how-to-publish-and-play-a-live-stream-mpeg-ts-based-encoder](https://www.wowza.com/docs/how-to-publish-and-play-a-live-stream-mpeg-ts-based-encoder))

Streams must be key frame aligned to be able to switch. Here is a way to see if your streams are aligned as necessary:

[https://www.wowza.com/docs/how-to-debug-encoder-multi-bitrate-keyframe-alignment](https://www.wowza.com/docs/how-to-debug-encoder-multi-bitrate-keyframe-alignment)

With the Wowza 3 transcoder, you can send one high-quality stream to Wowza and let the transcoder transrate the lower quality versions, and they will be key frame aligned.

Richard

---

<div class="post-metadata">

**Author:** ![Vaishnavi\_s](https://avatars.discourse-cdn.com/v4/letter/v/ccd318/32.png) [@Vaishnavi\_s](https://community.wowza.com/u/Vaishnavi_s)\
**Post date:** [October 11, 2011, 9:36pm UTC](https://community.wowza.com/t/multi-bitrate-live-streaming/37001/5 "2011-10-11T21:36:00Z")

</div>

Is there any other method(other than smil) for streaming live multi bitrate streams to wowza.

---

<div class="post-metadata">

**Author:** ![Vaishnavi\_s](https://avatars.discourse-cdn.com/v4/letter/v/ccd318/32.png) [@Vaishnavi\_s](https://community.wowza.com/u/Vaishnavi_s)\
**Post date:** [October 13, 2011, 1:40am UTC](https://community.wowza.com/t/multi-bitrate-live-streaming/37001/6 "2011-10-13T01:40:03Z")

</div>

I have a live transcoder which will generate 4 streams of different bitrate.(h264 streams IDR aligned)

How do i send these 4 streams to wowza such that wowza is able to switch across streams.

PS:In case of single live streams,im sending mpegts stream to a port defined in mpegts.stream file.

---

<div class="post-metadata">

**Author:** ![Vaishnavi\_s](https://avatars.discourse-cdn.com/v4/letter/v/ccd318/32.png) [@Vaishnavi\_s](https://community.wowza.com/u/Vaishnavi_s)\
**Post date:** [October 14, 2011, 3:41am UTC](https://community.wowza.com/t/multi-bitrate-live-streaming/37001/7 "2011-10-14T03:41:06Z")

</div>

Hi Richard, Jason,

Thanks for your reply. I have gone through the tutorial on

How to publish and play a live stream (MPEG-TS based encoder)

If I create a smil file like what is indicated below, I have the following queries :

1. To which port(s) should the multi-bit rate encoder send the streams for wowza to listen to?

2. How do I configure wowza’s xml/smil/.stream file such that it is able to listen to these key frame

aligned multi bit rate streaming?

1. How will wowza be made to listen to these multiple ports simultaneously for all the streams?

2. Also, the article on How to publish and play a live stream (MPEG-TS based encoder)

seems to be more for vod. Eg., How to play in Adobe HTTP, Apple iOS seems to be more VOD.

There is no reference provided for starting the Live Stream Manager. Hence, I am wondering

whether this was for VOD. Kindly clarify.

We want to test our live multi bit rate mpeg-ts based encoder with Wowza.

Regards

Vaishnavi

---

<div class="post-metadata">

**Author:** ![Jason\_Hilton](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/jason_hilton/32/437_2.png) [@Jason\_Hilton](https://community.wowza.com/u/Jason_Hilton)\
**Post date:** [October 12, 2011, 10:28am UTC](https://community.wowza.com/t/multi-bitrate-live-streaming/37001/8 "2011-10-12T10:28:00Z")

</div>

Hi

Are you sending these streams to Wowza or are you trying to view them from a Wowza server?

Jason
