Can not start playing video wherever I want in an ASF file being b



Hi all,

While the ASF video file is being built (using WriteStreamSample() or
WriteSample() functions of WMFormat v9.5 SDK), it is impossible to start
playing wherever I want in it (no matter the movie player chosen : Media
Player v10, DivX v6 Player, GraphEdit, etc).
I can only play the file by its start point.
But when file building is finished and I open it, I can start playing
wherever I want.

Is this seek restriction a limitation of WMFormat SDK or of the ASF format ?
Are there something I am doing bad ?

I noticed (via Windows Media ASFView) on a file not terminated properly
(after a voluntary "crash") that :
- file duration value is 00:00.000
- 'Broadcast' and 'Live' attributes values are '1'
- 'Data Object' size is not set and 'Data Object'does not have a packet count.
I am surprised that these fields are not updated during streaming.
Is that the problem ?

Note: I have only one stream, the video stream (no audio stream).

Thanks.
rvfr.
.



Relevant Pages

  • Re: Can not start playing video wherever I want in an ASF file being b
    ... > WMFormat v9.5 SDK), it is impossible to start playing ... > of the ASF format? ... I have only one stream, ...
    (microsoft.public.windowsmedia.sdk)
  • Re: W2K on old PC, how to minimize processor and ram usage by OS?
    ... I've set it up as an MP3 playing 'jukebox' connected to my stereo in the ... living room and have plugged a wireless card in so it can stream the MP3s ... It's slow EG. OpenOffice apps take 5-10 seconds to load, ...
    (microsoft.public.win2000.general)
  • Re: How to valid a WMV file pragmatically
    ... If you're not dealing with DRM see the ... Also playing a file in DShow without a graph clock or with the Format SDK ... spec for the file format and stream is here: ...
    (microsoft.public.windowsmedia.sdk)
  • Re: Need feedback
    ... downloaded and on some setups it might even start playing before it finishes downloading, but its still not a stream. ... If it was a stream, it would play as soon as you clicked on it, and it wouldn't be saved. ... Here's a 167 meg movie that's an hour long, and it will play as soon as you click on it, no matter what system you have, without all that microsoft streaming crap or real networks crap. ... You have to have flash but 99% of people have flash, and flash is free, and it gets installed in your browser without ANY ads. ...
    (alt.gathering.rainbow)
  • Re: WMS Active Script Events - Detecting Push
    ... plug-in that ships with the SDK that dumps all the events ... >'The publishing point has stopped sending a stream. ... once I stop an encoder stream the ...
    (microsoft.public.windowsmedia.server)