# Dynamic SMIL File

**URL:** https://community.wowza.com/t/dynamic-smil-file/39150
**Category:** Wowza Streaming Engine
**Created:** [May 13, 2013, 4:14am UTC](https://community.wowza.com/t/dynamic-smil-file/39150 "2013-05-13T04:14:15Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![Hussan\_Choudhry](https://avatars.discourse-cdn.com/v4/letter/h/58956e/32.png) [@Hussan\_Choudhry](https://community.wowza.com/u/Hussan_Choudhry)
#### Post date: [May 13, 2013, 4:14am UTC](https://community.wowza.com/t/dynamic-smil-file/39150/1 "2013-05-13T04:14:15Z")

</div>

Hi,

I am using the java api to create smil files on the fly using the following tutorial:

[https://www.wowza.com/forums/showthread.php?14664-New-API-for-resolving-MediaList-(SMIL-file-requests)-through-Java-API](https://www.wowza.com/forums/showthread.php?14664-New-API-for-resolving-MediaList-%28SMIL-file-requests%29-through-Java-API)

I have successfully created a multistream show on flowplayer but using a static smil file in the content folder, in flowplayer I call this file via:

url: "[http://server](http://server)::1935/sd\_incoming/smil:testing2-smil.smil/medialist.smil "

According to the tutorial above all I need to do is replace smil:testing2 to amlst:testing2 to get a smil file dynamically retrieved, however I do not get this. It successfully connects to the custom module as I get some output. Does anyone know how I can get this?

---

<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: [May 13, 2013, 2:47pm UTC](https://community.wowza.com/t/dynamic-smil-file/39150/2 "2013-05-13T14:47:48Z")

</div>

Hello,

Assuming that you have created the custom module from the example you mentioned and you have two VOD files (testing2\_400k.mp4 and testing2\_800k.mp4), then you should request the media list with an URL similar to this:

“[http://serverIP:1935/sd\_incoming/amlst:testing2/medialist.smil](http://serverIP:1935/sd_incoming/amlst:testing2/medialist.smil)”

Zoran

---

<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: [May 13, 2013, 6:22pm UTC](https://community.wowza.com/t/dynamic-smil-file/39150/3 "2013-05-13T18:22:56Z")

</div>

Great.

Thanks for feedback.

Zoran

---

<div class="post-metadata">

### Author: ![Hussan\_Choudhry](https://avatars.discourse-cdn.com/v4/letter/h/58956e/32.png) [@Hussan\_Choudhry](https://community.wowza.com/u/Hussan_Choudhry)
#### Post date: [May 13, 2013, 7:49am UTC](https://community.wowza.com/t/dynamic-smil-file/39150/4 "2013-05-13T07:49:44Z")

</div>

thank works, many thanks!
