TJ
Guest
|
Posted:
Fri Jun 04, 2004 5:47 pm Post subject:
Simple(!) SMIL to provide repeating Advert within live broad |
|
|
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>
|
|