# Is it possible to add a .stream fiel to SMIL playlist instead of a mp4?

**URL:** <https://community.wowza.com/t/is-it-possible-to-add-a-stream-fiel-to-smil-playlist-instead-of-a-mp4/55286>\
**Category:** Wowza Streaming Engine\
**Created:** [May 30, 2020, 2:58pm UTC](https://community.wowza.com/t/is-it-possible-to-add-a-stream-fiel-to-smil-playlist-instead-of-a-mp4/55286 "2020-05-30T14:58:02Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Cesar\_Fernandes1](https://avatars.discourse-cdn.com/v4/letter/c/e274bd/32.png) [@Cesar\_Fernandes1](https://community.wowza.com/u/Cesar_Fernandes1)\
**Post date:** [May 30, 2020, 2:58pm UTC](https://community.wowza.com/t/is-it-possible-to-add-a-stream-fiel-to-smil-playlist-instead-of-a-mp4/55286/1 "2020-05-30T14:58:02Z")

</div>

Example

```auto
<?xml version="1.0" encoding="UTF-8"?>
<smil title="app">
<head></head>
<body>
<stream name="app"></stream>

<playlist name="playlist" playOnStream="app" repeat="true" scheduled="2020-05-22 10:39:16">
<video length="-1" src="test.stream" start="0"></video>
</playlist>

</body>
</smil>

```

---

<div class="post-metadata">

**Author:** ![Cesar\_Fernandes1](https://avatars.discourse-cdn.com/v4/letter/c/e274bd/32.png) [@Cesar\_Fernandes1](https://community.wowza.com/u/Cesar_Fernandes1)\
**Post date:** [May 30, 2020, 2:58pm UTC](https://community.wowza.com/t/is-it-possible-to-add-a-stream-fiel-to-smil-playlist-instead-of-a-mp4/55286/2 "2020-05-30T14:58:07Z")

</div>

Or if not possible a .stream file, is possible to add a RTML URL? My idea is to restream/relay another streaming with sheduled time.

---

<div class="post-metadata">

**Author:** ![Karel\_Boek](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/karel_boek/32/454_2.png) [@Karel\_Boek](https://community.wowza.com/u/Karel_Boek)\
**Post date:** [May 31, 2020, 7:27pm UTC](https://community.wowza.com/t/is-it-possible-to-add-a-stream-fiel-to-smil-playlist-instead-of-a-mp4/55286/3 "2020-05-31T19:27:58Z")

</div>

@Cesar Fernandes, It’s possible, but (1) you must make sure that the .stream file has been started and is running on the server and (2) you must set the video start parameter to “-2”.

See [https://www.wowza.com/docs/how-to-schedule-streaming-with-wowza-streaming-engine-streampublisher](https://www.wowza.com/docs/how-to-schedule-streaming-with-wowza-streaming-engine-streampublisher)

---

<div class="post-metadata">

**Author:** ![Cesar\_Fernandes1](https://avatars.discourse-cdn.com/v4/letter/c/e274bd/32.png) [@Cesar\_Fernandes1](https://community.wowza.com/u/Cesar_Fernandes1)\
**Post date:** [June 3, 2020, 8:13pm UTC](https://community.wowza.com/t/is-it-possible-to-add-a-stream-fiel-to-smil-playlist-instead-of-a-mp4/55286/4 "2020-06-03T20:13:44Z")

</div>

And is it possible a rtmp link? Like a rtmp://server.com/live/live

On the wowza docs only show mp4 on video src then I cant know if I can use others types:

```auto
<video src="mp4:sample.mp4" start="0" length="-1"/>

```

---

<div class="post-metadata">

**Author:** ![Karel\_Boek](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/karel_boek/32/454_2.png) [@Karel\_Boek](https://community.wowza.com/u/Karel_Boek)\
**Post date:** [June 3, 2020, 9:59pm UTC](https://community.wowza.com/t/is-it-possible-to-add-a-stream-fiel-to-smil-playlist-instead-of-a-mp4/55286/5 "2020-06-03T21:59:11Z")

</div>

An RTMP link won’t work. In that case you must first create a .stream file that contains the RTMP link and start that .stream file w/MediaCaster Type “LiveRepeater”. Once that stream is running, you can specify the .stream’s streamname (e.g. myrtmpsource.stream) as input for the SMIL.
