André R.
Guest
|
Posted:
Fri Oct 08, 2004 12:29 pm Post subject:
Nesting ASX and STARTTIME |
|
|
Hi,
I tried to nest asx-files and play only part of the referenced
mediafile. The referenced asx file (example.asx) contains a link to
the media file, and the file that refers to this asx file
(playclip.asx) contains a starttime and duration tag:
playclip.asx:
<asx version="3.0">
<title>Playlist</title>
<entry>
<starttime value="0:12:33.299"/>
<duration value="0:0:9.300" />
<ref href = "example.asx"/>
</entry>
</asx>
<ASX Version = "3.0">
<ENTRY>
<REF HREF "rtsp://my.streaming.server/example.wmv" />
</ENTRY>
</ASX>
This does not work, at least, not always. The duration is ok, but the
clip starts playing from the beginning and not from the given
starttime. Is this because the starttime and duration tags should be
in the referenced asx file instead of the wrapper asx file? If I
replace the reference to example.asx in playclip.asx by the url of the
media file then the clip plays correctly. This is also true if I move
the duration and starttime tags from playclip.asx to example.asx.
However, I can control the content of playclip.asx but not of
example.asx, because that is created by the video server.
The question thus is: can I control the starttime and duration of a
file played using an asx file from within a wrapping asx file? If so,
why does the above example not work?
Thanks,
André
|
|