Nesting ASX and STARTTIME
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
Nesting ASX and STARTTIME

 
Post new topic   Reply to topic    WMPTalk.com Forum Index -> SDK
Author Message
André R.
Guest





Posted: Fri Oct 08, 2004 12:29 pm    Post subject: Nesting ASX and STARTTIME Reply with quote

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é

Back to top
 
Post new topic   Reply to topic    WMPTalk.com Forum Index -> SDK 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