on 2/12/00 11:02 AM, Scott Raney at [EMAIL PROTECTED] wrote:
> put "00:00:01:02" into sctime
> put 4 into scframerate
> set the itemDelimiter to ":"
> put item 1 of sctime * 3600 + item 2 of sctime * 60 + item 3 of sctime \
> + item 4 of sctime / scframerate into scseconds
> set the currentTime of player 1 to the timeScale of player 1 * scseconds
Shorter than the one I've been using, but leaves one question open: How do
I derive the frame rate? (other than asking the user to open the movie in
QT Player first, that is).
Stuff to look into:
QT Timecode:
http://developer.apple.com/samplecode/Sample_Code/QuickTime/TimeCodes/QTTime
Code.htm
Archived sample code:
http://developer.apple.com/samplecode/Sample_Code/Archive/QuickTime/QuickTim
e/TimeCode_Media_Handlers.htm
I just saw these on the Apple Dev site. I'll plow through these and see if
I can find anything useful.... (the first one seems the more useful of the
two; the second is considered "unsupported").
--
Richard Gaskin
Fourth World
Multimedia Design and Development for Mac, Windows, UNIX, and the Web
_____________________________________________________________________
[EMAIL PROTECTED] http://www.FourthWorld.com
Tel: 323-225-3717 ICQ#60248349 Fax: 323-225-0716
This is the MetaCard mailing list.
Archives: http://www.mail-archive.com/metacard%40lists.best.com/
Info: http://www.xworlds.com/metacard/mailinglist.htm