Re: QuickTime movie frame rate or duration (in time scale) of a frame
Re: QuickTime movie frame rate or duration (in time scale) of a frame
- Subject: Re: QuickTime movie frame rate or duration (in time scale) of a frame
- From: "Roger Howard" <email@hidden>
- Date: Wed, 20 Feb 2002 12:03:20 -0800
Brennan,
Thanks a million, guess I didn't drill down far enough - sometimes I forget exactly how flexible and granular Quicktime can be... should have looked at individual frame durations, was thinking too narrowly.
"duration of frame" will work great - the preferred rate seems to be a factor and not an absolute value so it's kinda useless unless I already know the nominal frame rate....
Thanks again,
Roger Howard
Digital Media Specialist
The J. Paul Getty Museum
email@hidden
310.440.6908
>
In the movie class you'll find 'preferred rate'. Would that do you?
>
>
Even easier, just look in the frame class - there's a duration property!
>
>
tell app "Quicktime Player"
>
tell movie 1
>
tell track 1
>
get (duration of frame 1)
>
end tell
>
end tell
>
end tell
>
>
n.b. Individual frames can have different durations, but if you are certain that the frames all have the same duration, then checking an arbitrary frame would be ok.
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.