Wowza Community

Multi bitrate live streaming

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 could not receive the streams. Please help me out with this

Thank you

You can stream over any port that you have enabled.

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

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

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:

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

Richard

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)

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

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

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

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.

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 :

Hi

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

Jason