shyam_s
February 11, 2015, 2:08pm
1
Hi ,
I have a requirement .
I have multiple videos with 30 mins duration.
Videos starts and ends at below time slots.
Video1.mp4 6:20 - 6:50
Video2.mp4 6:50 - 7:20
Video3.mp4 7:20 - 7:50
Now Client has requested to stream video from 6:30 to 7:00.
So i need to forward 10 mins first video i.e 20 mins Video1.mp4.
Then after for rest of 10 mins i need to automatically stream the second video i.e Video2.mp4.
Please help me how to achieve this.
Regards
Shyam.S
Hello there and welcome to the Wowza support forum.
Please take a look at this guide which supports this workflow:
How to schedule streaming with Wowza Streaming Engine (ServerListenerStreamPublisher)
Please let us know if you need any assistance with this or anything else along the way.
Kind regards,
Salvadore
Hi,
Using the ServerListenerStreamPublisher you will be able to play the stream will be called “Stream1”.
To apply the requirements listed above the .smil file should look similar to the one below.
<smil>
<head>
</head>
<body>
<stream name="Stream1"></stream>
<playlist name="pl1" playOnStream="Stream1" repeat="false" scheduled="2015-01-12 16:00:00">
<video src="mp4:Video1.mp4" start="600" length="-1"/>
<video src="mp4:Video2.mp4" start="0" length="600"/>
</playlist>
</body>
</smil>
You will need to change the “scheduled” time to suit the time you would like the live stream to begin.
If using the “live” application, playback would have a Stream URL like the one below using using an Apple HLS client.
http://[Wowza-Ip]:1935/live/Stream1/playlist.m3u8
Regards,
Jason
Hi,
Please open a ticket by sending an email to support@wowza.com .
When creating a ticket please include a ZIP file containing the following directories for analysis:
[Wowza-Install]/conf/
[Wowza-Install]/logs/
Please make sure you provide logs which show Wowza server starting.
If you are not sure how to get this information please see the following tutorial.
How to create a compressed zip file in Windows, OS X, and Linux
Please include a copy of the .smil file you’re using and the URL you’re using to play the stream.
Regards,
Jason
Hi,
This was answered in the other post you created .
Jason
Shyam, can you please tell us why this wont work for you as this is the method for achieving what you describe.
Did you just not get it set up correctly or is it not the desired result you were looking for?
Regards,
Salvadore
Hello, this configuration requires the application type to be Live. So you will need to change from a VOD application to a live application.
See if that one change gets this working.
Kind regards,
Salvadore
Thank you for the update Shyam. Glad to see you got this working.
Regards,
Salvadore
shyam_s
February 11, 2015, 11:55pm
9
Hi,
Thankx for your reply,I tried out in this way but i couldnt able to succeed.
Please can you let me know any other approach to meet my requirement.
we are using wowza 4.0.
Regards
Shyam.S
shyam_s
February 16, 2015, 6:02pm
10
Hi salvadore,jason
Thanks for your reply
I have done all the configurations mentioned in the doc.
https://www.wowza.com/docs/how-to-schedule-streaming-with-wowza-streaming-engine-streampublisher
Step1 : Created an vod application name demovod.
After that i have done all the below mentioned steps.
Please find the attachments
Configuring Properties
http://s24.postimg.org/yyhimo439/properties1.png
Configuring modules
http://s1.postimg.org/wgai6t87j/modules.png
SMIL file location
http://s30.postimg.org/4ulyacp3l/smil_location.png
Output
http://s27.postimg.org/f3iz6g2w3/output.png
Console log.
http://s10.postimg.org/gud15756h/wowzaconsole.png
When i am trying to access the application its giving me nothing.
Please help me where am i going wrong.
shyam_s
February 17, 2015, 11:48pm
12
Once again Thanks Salvadore,Jason for helping me,I am out of that problem.
Now i have one more issue, Need to provide user seeking functionality in the player because my duration of videos are 90 mins and he needs capability to seek nay where.
As its a live stream,I dont see scroll bar appearing in the test player.
How do i achieve it,Can i get the seek functionality if its live stream.
Please help me out.
Regards
Sam