# How to play a video at a specific time?

**URL:** <https://community.wowza.com/t/how-to-play-a-video-at-a-specific-time/38549>\
**Category:** Wowza Streaming Engine\
**Created:** [November 7, 2012, 4:34am UTC](https://community.wowza.com/t/how-to-play-a-video-at-a-specific-time/38549 "2012-11-07T04:34:55Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![steffina\_divya](https://avatars.discourse-cdn.com/v4/letter/s/aca169/32.png) [@steffina\_divya](https://community.wowza.com/u/steffina_divya)\
**Post date:** [November 7, 2012, 4:34am UTC](https://community.wowza.com/t/how-to-play-a-video-at-a-specific-time/38549/1 "2012-11-07T04:34:55Z")

</div>

Hi,

I want to know that “Is it possible to play a video at a specific time like 11.30 PM?” using wowza

---

<div class="post-metadata">

**Author:** ![Richard\_Lanham](https://avatars.discourse-cdn.com/v4/letter/r/c68b51/32.png) [@Richard\_Lanham](https://community.wowza.com/u/Richard_Lanham)\
**Post date:** [November 7, 2012, 1:52pm UTC](https://community.wowza.com/t/how-to-play-a-video-at-a-specific-time/38549/2 "2012-11-07T13:52:51Z")

</div>

You can schedule a live stream that uses a file as source with this scheduler

[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)

Richard

---

<div class="post-metadata">

**Author:** ![Roger\_Littin](https://avatars.discourse-cdn.com/v4/letter/r/d26b3c/32.png) [@Roger\_Littin](https://community.wowza.com/u/Roger_Littin)\
**Post date:** [November 17, 2012, 4:36am UTC](https://community.wowza.com/t/how-to-play-a-video-at-a-specific-time/38549/3 "2012-11-17T04:36:02Z")

</div>

flashfreaker,

What you are asking could possibly be done but not quite as you describe.

Using the StreamPublisher, in your streamschedule.smil you would have a stream tag and a playlist tag for each stream in the group. each playlist would have the video tag set to one of the renditions.

You would then have a separate smil file that is used for playback. This would reference each of the live streams that are created from the publisher.

One issue you may have is that there is nothing in the StreamPublisher to ensure synchronisation between each of the streams so over a period of time, they may drift out of sync far enough that switching would fail to work.

Roger.

---

<div class="post-metadata">

**Author:** ![Richard\_Lanham](https://avatars.discourse-cdn.com/v4/letter/r/c68b51/32.png) [@Richard\_Lanham](https://community.wowza.com/u/Richard_Lanham)\
**Post date:** [November 14, 2012, 1:58pm UTC](https://community.wowza.com/t/how-to-play-a-video-at-a-specific-time/38549/4 "2012-11-14T13:58:29Z")

</div>

Take a look at this version:

[https://www.wowza.com/forums/content.php?427-How-to-do-scheduled-streaming-with-Stream-class-streams-(application-module)](https://www.wowza.com/forums/content.php?427-How-to-do-scheduled-streaming-with-Stream-class-streams-%28application-module%29)

Richard

---

<div class="post-metadata">

**Author:** ![Richard\_Lanham](https://avatars.discourse-cdn.com/v4/letter/r/c68b51/32.png) [@Richard\_Lanham](https://community.wowza.com/u/Richard_Lanham)\
**Post date:** [November 16, 2012, 2:00pm UTC](https://community.wowza.com/t/how-to-play-a-video-at-a-specific-time/38549/5 "2012-11-16T14:00:23Z")

</div>

There has to be an application named “live” with StreamType “live”.

If you have added the “PublishToApplication” Property to the Server.xml Properties container, then that is the application that is missing.

Richard

---

<div class="post-metadata">

**Author:** ![Richard\_Lanham](https://avatars.discourse-cdn.com/v4/letter/r/c68b51/32.png) [@Richard\_Lanham](https://community.wowza.com/u/Richard_Lanham)\
**Post date:** [November 17, 2012, 3:59pm UTC](https://community.wowza.com/t/how-to-play-a-video-at-a-specific-time/38549/6 "2012-11-17T15:59:27Z")

</div>

[This](https://www.wowza.com/docs/how-to-do-scheduled-adaptive-bitrate-streaming-using-stream-class-streams) will work. It’s not a smil within a smil, it’s a schedule.smil to produce streams on time, and abr smil for switching.

Richard

---

<div class="post-metadata">

**Author:** ![Jim\_Sustacek](https://avatars.discourse-cdn.com/v4/letter/j/b487fb/32.png) [@Jim\_Sustacek](https://community.wowza.com/u/Jim_Sustacek)\
**Post date:** [November 7, 2012, 8:10am UTC](https://community.wowza.com/t/how-to-play-a-video-at-a-specific-time/38549/7 "2012-11-07T08:10:13Z")

</div>

divyat: That’s what Richard said – it’s configured like a “live” stream, but it is using a recorded video file as its source. So it is scheduled VOD.

---

<div class="post-metadata">

**Author:** ![Robert\_Reinhardt](https://avatars.discourse-cdn.com/v4/letter/r/a3d4f5/32.png) [@Robert\_Reinhardt](https://community.wowza.com/u/Robert_Reinhardt)\
**Post date:** [November 16, 2012, 4:02pm UTC](https://community.wowza.com/t/how-to-play-a-video-at-a-specific-time/38549/8 "2012-11-16T16:02:55Z")

</div>

I don’t know if if this should be a separate thread, but I’m exploring more advanced “VOD as Live” scenarios lately due to popular demand from clients. As always, I love that WMS is so flexible and easy to customize! I wanted to know if it’s possible to use SMIL files as values in playlist SMILs? Basically, I would like to have multi-bitrate/adaptive VOD streams as scheduled live streams. I haven’t tried using a “smil within a smil”, but I thought I would ask first just in case it was already a known “yes” or “no” on the Wowza engineering side. Thanks again for your awesome support!

---

<div class="post-metadata">

**Author:** ![steffina\_divya](https://avatars.discourse-cdn.com/v4/letter/s/aca169/32.png) [@steffina\_divya](https://community.wowza.com/u/steffina_divya)\
**Post date:** [November 7, 2012, 5:56am UTC](https://community.wowza.com/t/how-to-play-a-video-at-a-specific-time/38549/9 "2012-11-07T05:56:24Z")

</div>

Thanks Richard,

But I want to play recorded video files(VOD) at a specific time like 11.30 PM. Is it possible with wowza…Kindly let me know.

---

<div class="post-metadata">

**Author:** ![steffina\_divya](https://avatars.discourse-cdn.com/v4/letter/s/aca169/32.png) [@steffina\_divya](https://community.wowza.com/u/steffina_divya)\
**Post date:** [November 13, 2012, 11:24pm UTC](https://community.wowza.com/t/how-to-play-a-video-at-a-specific-time/38549/10 "2012-11-13T23:24:49Z")

</div>

I followed that [https://www.wowza.com/forums/content…rver-listener](https://www.wowza.com/forums/content....rver-listener)). If i have different customer using that same application,So I can’t restart it after finished playing schedule… How to add the video playlist dynamically without need to restart every time when the playlist added ?

---

<div class="post-metadata">

**Author:** ![steffina\_divya](https://avatars.discourse-cdn.com/v4/letter/s/aca169/32.png) [@steffina\_divya](https://community.wowza.com/u/steffina_divya)\
**Post date:** [November 16, 2012, 1:49am UTC](https://community.wowza.com/t/how-to-play-a-video-at-a-specific-time/38549/11 "2012-11-16T01:49:54Z")

</div>

Thanks Richard,

I followed [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) and trying to play it using

To play open [install-dir]/examples/LiveVideoStreaming/client/live.html

Server: rtmp://[wowza-address]/live

Stream: Stream1 (or Stream2. As set in smil file).

But Failed to play Stream1; stream not found.

The problem is:ServerListenerStreamPublisher: Failed to get Application can not run.

What would be the solution? I have to solve this and have to move for working with application module also. Please help on this…
