# Smil and rtmp for live stream

**URL:** <https://community.wowza.com/t/smil-and-rtmp-for-live-stream/39558>\
**Category:** Wowza Streaming Engine\
**Created:** [January 20, 2014, 6:43pm UTC](https://community.wowza.com/t/smil-and-rtmp-for-live-stream/39558 "2014-01-20T18:43:06Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Emanuele\_Bragagnolo](https://avatars.discourse-cdn.com/v4/letter/e/e47c2d/32.png) [@Emanuele\_Bragagnolo](https://community.wowza.com/u/Emanuele_Bragagnolo)\
**Post date:** [January 20, 2014, 6:43pm UTC](https://community.wowza.com/t/smil-and-rtmp-for-live-stream/39558/1 "2014-01-20T18:43:06Z")

</div>

Hello!

I am trying to configure Wowza to generate smil format to play rtmp protocol for a live stream

I’ve followed this tutorial

[https://www.wowza.com/docs/how-to-create-and-play-smil-files-with-streams-created-by-wowza-transcoder](https://www.wowza.com/docs/how-to-create-and-play-smil-files-with-streams-created-by-wowza-transcoder)

The manifest.f4m we use previously for HDS is

```auto
http://[wowza-ip]/live/4metest1/ngrp:test/manifest.f4m

```

so I adapt the url in the tutorial to this one

```auto
http://[wowza-ip]/medialist?streamname=ngrp:test&application=live&format=smil

```

but this is what I get

[HTML]

Wowza Media Server 3 Monthly Edition 3.6.3 build8031 Wowza Media Server 3 Monthly Edition 3.6.3 build8031

[/HTML]

The problem is not in the transcoder because if i give this url to osmf player

rtmp://[wowza-ip]/live/4metest1/test-512

i can play the video correctly.

any suggestion?

---

<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:** [January 20, 2014, 12:45pm UTC](https://community.wowza.com/t/smil-and-rtmp-for-live-stream/39558/2 "2014-01-20T12:45:27Z")

</div>

Hi, the article you linked to:

[How to create and play SMIL files with streams created by Wowza Transcoder](https://www.wowza.com/docs/how-to-create-and-play-smil-files-with-streams-created-by-wowza-transcoder)

Is used to create a .smil file for use with a LiveStreamRepeater where ngrp do not get forwarded to the edge. The idea is that with this tool you can create a SMIL from using the medialist tool on the origin and create a file that you host in the content folder on the edge.

If you are not using a LiveStreamRepeater then you do not need to use this article.

Instead you would use a URL like this:

```auto
http://[wowza-ip-address]:1935/live/ngrp:myStream_all/manifest.f4m

```

Stream Name Groups (ngrp) serve the same purpose as a SMIL playlist file.

Salvadore

---

<div class="post-metadata">

**Author:** ![Zoran](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/zoran/32/385_2.png) [@Zoran](https://community.wowza.com/u/Zoran)\
**Post date:** [January 21, 2014, 10:47am UTC](https://community.wowza.com/t/smil-and-rtmp-for-live-stream/39558/3 "2014-01-21T10:47:26Z")

</div>

Hi,

Take a look at the following [Live adaptive bitrate playback with SMIL file example](https://www.wowza.com/docs/how-to-use-flowplayer-with-wowza-media-server-software#SMIL)

I think this can be useful in your scenario.

Zoran

---

<div class="post-metadata">

**Author:** ![Emanuele\_Bragagnolo](https://avatars.discourse-cdn.com/v4/letter/e/e47c2d/32.png) [@Emanuele\_Bragagnolo](https://community.wowza.com/u/Emanuele_Bragagnolo)\
**Post date:** [January 21, 2014, 9:36am UTC](https://community.wowza.com/t/smil-and-rtmp-for-live-stream/39558/4 "2014-01-21T09:36:06Z")

</div>

I use osmf player, but your hint is useful:

using this link i can get a manifest compatible with osmf

```auto
http://[wowza-ip]:1935/live/4metest1/ngrp:test/jwplayer.smil

```

this is the manifest i get

```auto
<smil>
	<head>
		<meta base="rtmp://4metest1-1389973139-preview.4mecloud.it:1935/live/4metest1" />
	</head>
	<body>
		<switch>
			<video src="mp4:test-512" system-bitrate="504000" width="480" height="360"/>
			<video src="mp4:test-256" system-bitrate="254000" width="320" height="240"/>
		</switch>
	</body>
</smil>

```

---

<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:** [January 20, 2014, 1:23pm UTC](https://community.wowza.com/t/smil-and-rtmp-for-live-stream/39558/5 "2014-01-20T13:23:50Z")

</div>

I am sorry, I got confused and didnt realize this was in regards to RTMP streaming.

Wowza ABR with a .smil file does not work directly with RTMP, but you can achieve this with JW Player.

Please see the following articles.

This article explains how to generate the client-side RSS or SMIL file for use with JW Player:

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

This article explains how to use JW Player with Wowza, the second example in the article also describes how to set up ABR with JW Player:

[How to use LongTail JW Player 6 with Wowza Media Server](https://www.wowza.com/docs/how-to-use-jw-player-with-wowza-streaming-engine)

Salvadore
