# Dyamically generate SMIL file for VOD videos.

**URL:** <https://community.wowza.com/t/dyamically-generate-smil-file-for-vod-videos/45923>\
**Category:** Wowza Streaming Engine\
**Created:** [August 30, 2016, 8:53pm UTC](https://community.wowza.com/t/dyamically-generate-smil-file-for-vod-videos/45923 "2016-08-30T20:53:18Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Aamir\_Husain](https://avatars.discourse-cdn.com/v4/letter/a/8797f3/32.png) [@Aamir\_Husain](https://community.wowza.com/u/Aamir_Husain)\
**Post date:** [August 30, 2016, 8:53pm UTC](https://community.wowza.com/t/dyamically-generate-smil-file-for-vod-videos/45923/1 "2016-08-30T20:53:18Z")

</div>

Hello,

I have setup a VOD app that is running absolutely fine with Flowplayer HLSjs player. [http://demos.flowplayer.org/api/hlsjs.html](http://demos.flowplayer.org/api/hlsjs.html)

Now I want Adaptive Bitrate Stream feature for this HLS Stream. I can create videos of different dimensions via ffmpeg also I know I can generate a SMIL file for each file size and use this in the player. However the issue is there are hundreds of videos uploaded on daily basis and I cannot manually generate SMIL file for each of them.

Please advice how I can setup this scenario in Wowza and dynamically generate SMIL file for each video uploaded. There must be a template system or so to handle this situation so that I do not have to create smil file for each video separately and work it with HLSJS supported HTML5 player.

Kind Regards,

Aamir

---

<div class="post-metadata">

**Author:** ![Andrew\_Ramberg](https://avatars.discourse-cdn.com/v4/letter/a/7c8e57/32.png) [@Andrew\_Ramberg](https://community.wowza.com/u/Andrew_Ramberg)\
**Post date:** [September 26, 2016, 12:58pm UTC](https://community.wowza.com/t/dyamically-generate-smil-file-for-vod-videos/45923/2 "2016-09-26T12:58:36Z")

</div>

Hello,

You might want to look into using the HTTP Provider option of creating these SMIL files using the method in the following article:

[How-to-generate-a-SMIL-file-with-an-HTTP-Provider](https://www.wowza.com/docs/how-to-generate-a-smil-file-with-an-http-provider)

Best regards,

Andrew
