Re: fail on IWMSyncReader::SetRangeByFrame()

Tech-Archive recommends: Speed Up your PC by fixing your registry

From: Becky Weiss [MS] (BeckyWeissMS_at_discussions.microsoft.com)
Date: 09/15/04


Date: Wed, 15 Sep 2004 12:47:07 -0700

Of course, the index itself takes up a small amount of space, so your file
will be slightly longer after indexing. The increase in size, though, is
expected to be pretty small.

Becky

This posting is provided AS IS with no warranties and confers no rights.

"Rubing Chiu" wrote:

> But, if I use the indexer object, IWMIndexer, to add
> index, I found the file will be longer.
>
> How to keep the file length when adding index using
> indexer object?
>
> - Rubing
>
> >-----Original Message-----
> >You can add the index after the fle is created. As
> Geoff mentioned, use the
> >indexer object to add the type(s) of index you want to
> the file after you've
> >written it using the WMEncoder or FSDK Writer.
> >
> >--
> >-Stuart
> >
> >This posting is provided "AS IS" with no warranties, and
> confers no rights.
> >
> >
> ><anonymous@discussions.microsoft.com> wrote in message
> >news:192d01c49a07$c970d4c0$a301280a@phx.gbl...
> >> Geoff,
> >>
> >> Thanks for your info. :-)
> >>
> >> If I use "Windows Media Encoder" to convert a file to
> >> wmv. How can I set Encoder to index the new file using
> >> frame number index?
> >>
> >> And, using WMF SDK, how can I set the writer to index
> the
> >> file which is being writing to frame-number indexed?
> >>
> >> - Rubing
> >>
> >>>-----Original Message-----
> >>>Rubing,
> >>>
> >>>For frame number seeking to work, there must be a
> frame-
> >> number index on the
> >>>file. The frame-number index is _not_ generated by
> >> default. See the section
> >>>"Working with Indexes" for information on how to use
> the
> >> indexer object to
> >>>generate a frame-number index for a file.
> >>>
> >>>Thanks,
> >>>Geoff
> >>>
> >>>--
> >>>This posting is provided "AS IS" with no warranties,
> and
> >> confers no rights.
> >>>
> >>>"Rubing Chiu" <anonymous@discussions.microsoft.com>
> >> wrote in message
> >>>news:0f0601c49965$3caa5900$a501280a@phx.gbl...
> >>>> When I use IWMSyncReader::SetRangeByFrame(), if the
> >> start
> >>>> frame or end frame is not given as 0, I always get
> >>>> NS_E_INVALID_REQUEST(0xc00d002b).
> >>>>
> >>>> Does anyone know what's wrong?
> >>>>
> >>>> Please help, thanks a lot.
> >>>
> >>>
> >>>.
> >>>
> >
> >
> >.
> >
>