Some functions:
This one would only work on the Mac and would have to use the MovieInfo
external (probably get round the need for the MoviePath external):
function getMovieRate TheFile
-- ask user for a movie file; return MovieInfo and file path
get MoviePath(TheFile)
if it is not empty then
put it into TheMoviePath
put MovieInfo(TheMoviePath) into TheMovieInfo
if TheMovieInfo is not empty then
return line 3 of TheMovieInfo
end if
end if
return empty
end getMovieRate
function HMSTToTicks TheHMST
put the itemDelimiter into NonStdItemDelim
put 0 into TimeInMovieTicks
set itemDelimiter to comma
repeat with ItemNum = 1 to the number of items in TheHMST
multiply TimeInMovieTicks by 60
add item ItemNum of TheHMST to TimeInMovieTicks
end repeat
set itemDelimiter to NonStdItemDelim
return TimeInMovieTicks
end HMSTToTicks
function ticksToHMST TheTicks
put empty into TheHMST
repeat with K = 1 to 3
put TheTicks MOD 60 before theHMST
put TheTicks DIV 60 into TheTicks
if TheTicks > 0 then put "," before theHMST
else exit repeat
end repeat
if TheTicks > 0 then put TheTicks before theHMST
return theHMST
end ticksToHMST
> From: David Bovill <[EMAIL PROTECTED]>
> Reply-To: [EMAIL PROTECTED]
> Date: Tue, 15 Feb 2000 18:06:55 +0000
> To: [EMAIL PROTECTED]
> Subject: Re: QT frames to time code conversion
>
> I have a similar requirement, in that I have a couple of hundred video
> clips, all time coded and marked with in/out points on a Media100 system. I
> need to get these into MetaCard and would prefer not to have to go back and
> redo, all the in/out points by hand...
>
>> From: Richard Gaskin <[EMAIL PROTECTED]>
>> Reply-To: [EMAIL PROTECTED]
>> Date: Sat, 12 Feb 2000 14:32:24 -0800
>> To: [EMAIL PROTECTED]
>> Subject: Re: QT frames to time code conversion
>>
>> on 2/12/00 1:52 PM, Scott Raney at [EMAIL PROTECTED] wrote:
>>
>>> I guess the next question to ask, is "Why do you think you need show
>>> or accept frame information?"
>>
>> The frames aren't important to us - it's the time codes we're after.
>>
>> Any method to be able to reliably use standard SMTPE time codes would be
>> acceptable (it's not just a SuperCard convention - see
>> <http://www.etcconnect.com/html/service_smpte.html>).
>>
>> --
>> 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
>>
>
>
> This is the MetaCard mailing list.
> Archives: http://www.mail-archive.com/metacard%40lists.best.com/
> Info: http://www.xworlds.com/metacard/mailinglist.htm
>
This is the MetaCard mailing list.
Archives: http://www.mail-archive.com/metacard%40lists.best.com/
Info: http://www.xworlds.com/metacard/mailinglist.htm