# One video stream out of several video files. Is it possible?

**URL:** <https://community.wowza.com/t/one-video-stream-out-of-several-video-files-is-it-possible/48430>\
**Category:** Wowza Streaming Engine\
**Created:** [April 2, 2017, 8:25am UTC](https://community.wowza.com/t/one-video-stream-out-of-several-video-files-is-it-possible/48430 "2017-04-02T08:25:09Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Danik\_Prem](https://avatars.discourse-cdn.com/v4/letter/d/ecb155/32.png) [@Danik\_Prem](https://community.wowza.com/u/Danik_Prem)\
**Post date:** [April 2, 2017, 8:25am UTC](https://community.wowza.com/t/one-video-stream-out-of-several-video-files-is-it-possible/48430/1 "2017-04-02T08:25:09Z")

</div>

Hello.

We are looking for a good partner for streaming video.

And few questions arose, which need to be clarified.

1. Can we make one stream video out of several separate video files?

2. Can we play one video several times in stream?

For example if we need to make one video stream out of files:

a.mp4

b.mp4

c.mp4

but we need to play it in order:

1 time a

3 times b

2 times a

1 time c

Is it possible to make it using your API?

---

<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:** [April 2, 2017, 11:00am UTC](https://community.wowza.com/t/one-video-stream-out-of-several-video-files-is-it-possible/48430/2 "2017-04-02T11:00:41Z")

</div>

Hello @Danik Prem. What you’re looking for, is a server-side playlist in SMIL format. You can create a playlist and call it using the “smil:” prefix.

```auto
<smil>
    <head>
    </head>
    <body>
        <playlist name="pl1" repeat="true">
            <video src="mp4:first.mp4" />
            <video src="mp4:second.mp4" />
            <video src="mp4:second.mp4" />
        </playlist>
    </body>
</smil>

```

Then call the playlist with [http://my-wowza-server:1935/vod/smil:mysample.smil/playlist.m3u8](http://my-wowza-server:1935/vod/smil:mysample.smil/playlist.m3u8)

You can generate playlists outside of Wowza, and copy them to Wowza’s /content folder.

---

<div class="post-metadata">

**Author:** ![Anthony\_Lazaro1](https://avatars.discourse-cdn.com/v4/letter/a/76d3ee/32.png) [@Anthony\_Lazaro1](https://community.wowza.com/u/Anthony_Lazaro1)\
**Post date:** [April 3, 2017, 8:24pm UTC](https://community.wowza.com/t/one-video-stream-out-of-several-video-files-is-it-possible/48430/3 "2017-04-03T20:24:11Z")

</div>

You should be able to use the stream publisher module to perform this type of task.

You can read about it here: [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)
