Wowza Community

How to specify schedules for individual videos

Hi,

I wanted to ask if there is a way in which starting times can can be specified for each video in the schedule? I had wanted as much as in the playlist tag the start date and time can be specified, I wanted to know if specific times could be given. For example in the code smil file below if I wanted one file to play at 7am and the next at 10am?

        <playlist name="pl2" playOnStream="Stream1" repeat="true" scheduled="2016-04-15 16:30:00">
         <video src="mp4:sample.mp4" start="0" length="-1"/>
	 <video src="mp4:sample.mp4" start="0" length="-1"/>
        </playlist>

You can play part of an on-demand file and create a schedule in a SMIL file.

In SMIL files, use the begin and dur attributes. The time values for these attributes are specified in seconds.

Here is the guide for you:

https://www.wowza.com/docs/how-to-specify-a-play-start-time-and-duration-for-http-streaming#specify-start-time-and-duration-in-smil-files

Please let me know if this helps you- thanks.