Simple(!) SMIL to provide repeating Advert within live broad
WMPTalk.com Forum Index WMPTalk.com
Discuss Windows Media Player
 
 FAQFAQ   MemberlistMemberlist     RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
 
Google
 
Web wmptalk.com
Simple(!) SMIL to provide repeating Advert within live broad

 
Post new topic   Reply to topic    WMPTalk.com Forum Index -> Windows Media Server
Author Message
TJ
Guest





Posted: Fri Jun 04, 2004 5:47 pm    Post subject: Simple(!) SMIL to provide repeating Advert within live broad Reply with quote

I'm struggling with what I thought would be a simple scenario... a live
broadcast stream that is interrupted every X seconds to play a short station
ID or advert.

Windows Media Server 9.

I seem to have two problems:

1. Cannot use the SMIL to ensure both sources remain 'cued' so the audience
get a smooth transition from live to advert and back.
2. Sometimes at the client media player, the advert only appears as a black
screen, although WMS shows it was played correctly.

I understand it is possible to 'script' the cueing of the advert but despite
reading the various docs and the SDK I cannot find a simple 1-2-3 example.
Would it be necessary to script a cue for the live feed so that it starts as
soon as the advert has ended?

Is it possible to put/run a cue script on the Server or does it have to be
at the Encoder? Because the encoder might not be directly under our control,
cue control should be handled on our server.

The SMIL I am using is:

<?wsx version="1.0" encoding="utf-8"?>
<smil>
<excl>
<priorityClass peers="pause" id="stream1">
<switch id="input1">
<media id="livestream1" src="http://tweetypie:2771"/>
<media noSkip="true" id="offlinestream1"
src="D:\Inetpub\hostingRoot\resource\video\Offline.wmv"/>
</switch>
<media noSkip="true" begin="input1.begin + 180s" id="advert1"
src="D:\Inetpub\hostingRoot\resource\video\Title Logo.wmv"/>
</priorityClass>
</excl>
</smil>

Back to top
 
Post new topic   Reply to topic    WMPTalk.com Forum Index -> Windows Media Server All times are GMT
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



Microsoft Office Forum New Topics
Powered by phpBB