Thanks Scott for the feedback.

>This has not been documented AFAIK and I didn't write this code and
>don't really understand it, but I'll try to answer based on a quick
>review of it.  Backward compability testing has been very limited
>(you're actually lucky that it works at all because we seriously
>considered dropping support for VfW entirely), so your best bet is to
>actually try them and find out.  Either that or spend your time
>developing a persuasive argument that your customers' refusal to
>install QT is a mistake ;-)

I'm VERY keen to standardise on QuickTime, but some corporate IT 
mentalities are completely unpersuadable on this issue (..."what, 
it's not from Microsoft, no way!").

>Also note that you actually have better control over things using the
>mciSendString function, though it can be difficult to figure out what
>the proper syntax is.  Unfortunately I'm not aware of any good
>documentation on the MCI layer, neither from Microsoft nor from any of
>the vendors of the other products that rely heavily on it (like
>ToolBook).

Sounds like I'll need the witchdoctor and some carefully constructed 
spells - I think I'll steer clear of mciSendString for now!

>  > - player objects
>  > - player object properties:
>  >    - fileName
>  >    - currentTime
>  >    - playRate
>  >    - duration
>  >    - formattedWidth, formattedHeight
>  >    - paused
>  > - player object messages?
>
>Yes.

OK, looks usable - I'll have to try this out.

>  >    - showController
>  >    - alwaysBuffer
>  >    - startTime, endTime
>  >    - showSelection
>  >    - playSelection
>  >    - callbacks
>  >    - timescale
>
>No.  VfW doesn't have equivalents for these.

If 'timescale' isn't supported, what units is 'duration' in?

>
>  > If player objects can't be used with Video for Windows, how much
>  > equivalent functionality is supported using the older style "play
>  > videoClip" command?
>
>The "play vc" command should work like it used to.  But note that all
>it does is create a temporary player object, start it, and then delete
>it when the playStopped message is sent.

OK, back to 'player objects' then.

>  >  For example, is it possible to display a
>  > controller which the user can interact with to play, pause, stop,
>  > rewind, step forward/backward?  Also, can I tell the dimensions of a
>  > video clip for on-screen sizing, or where and when a clip has been
>  > paused by the user?
>
>The user can't pause the clip, but you can do this from a script.  You
>can get the dimensions of a movie, and it should play into a player
>the proper size if you set the lockLocation property of the player,
>but VfW doesn't support a visible controller, so you'd have to build
>your own if you need one.

So I can create my own controller with pause, stop and start and use 
the 'formattedWidth' and 'formattedHeight' together with 'scale' to 
control the size of the playback frame.  Can I set the 'currentTime' 
to effect a forward/reverse effect?

Thanks again.

Peter

--------------------------------------------------------
Peter Reid
Reid-IT Limited, Loughborough, Leics., UK
Tel: +44 (0)1509 268843 Fax: +44 (0)870 052 7576
E-mail: [EMAIL PROTECTED]
Web: http://www.reidit.co.uk

This is the MetaCard mailing list.
Archives: http://www.mail-archive.com/metacard%40lists.best.com/
Info: http://www.xworlds.com/metacard/mailinglist.htm

Reply via email to