Wowza Community

How to play a video at a specific time?

Hi,

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

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

Richard

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.

Take a look at this version:

http://www.wowza.com/forums/content.php?427-How-to-do-scheduled-streaming-with-Stream-class-streams-(application-module)

Richard

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

This 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

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.

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

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.

I followed that http://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 ?

Thanks Richard,

I followed 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…