While playing with some .asx files in WinCE5.o and 6.0, I am finding
an issue with its prebuffering mechanism. Essentially take an asx
file that contains 2 clips on a server: test1.wmv, test2.wmv.

They can be with or without the prebuffering tag inserted between the
clips:

<EVENT NAME="test" WHENDONE="NEXT">
</EVENT>


Now when I attempt to play this asx file it will create a graph and
play the test1.wmv clip fine. However before the completion of the
test1.wmv clip, the 2nd clip test2.wmv will have a graph created for
it and will be started (start buffering). This works fine with the
built in MS software WMV decoder.

However my problem is that the WMV decoder I am using uses a shared
hardware resource which means that the 2nd graph will fail because the
hardware resource is already in use.

If I turn around and insert a small audio only file in the .asx file
inbetween test1.wmv and test2.wmv. Then all 3 clips will play
properly, because the hardware resource from the first graph is freed
by the time the 3rd graph is loaded.

My question then is, is there anyway I can prevent the ASXV3 Playlist
filter from prebuffering clips and only allow it to start a new clip
when the previous clip is complete.

Thanks

Re: ASX files and prebuffering of content by embdev

embdev
Tue Dec 18 11:07:47 PST 2007

Anyone have any input to this or it this something that is just not
possible?

Thanks.

Re: ASX files and prebuffering of content by Chris

Chris
Tue Dec 18 17:14:46 PST 2007

On Dec 18, 11:07 am, emb...@comcast.net wrote:
> Anyone have any input to this or it this something that is just not
> possible?
>
> Thanks.

There is no way to prevent this behavior. We don't support the Tag
events for ASX in either Windows Mobile or CE.

Thanks,

Chris Pearson

Software Development Engineer
Mobile Communications Business - Multimedia


This posting is provided "AS IS" with no warranties, and confers no
rights.
Use of any included script samples are subject to the terms specified
at
http://www.microsoft.com/info/cpyright.htm