Re: Another Quicktime question
Re: Another Quicktime question
- Subject: Re: Another Quicktime question
- From: Olivier Ringenbach <email@hidden>
- Date: Sun, 09 Dec 2007 08:27:46 +0100
- Thread-topic: Another Quicktime question
Hi Rainer,
> thanks for your reply. I understand you are compensating for a
> potentially non-standard-length of the first frame, but are assuming
> that all frames thereafter are uniform in length. You seem to be
> using 'clicks' to determine the current frame's index.
>
> What I am after is to determine whether a 'click' value actually is
> the first 'click' on a frame. I am looking for click-independent
> confirmation, so to speak. Is there a way to ask for the current
> frame's index?
I don't think it's possible directly, but I am not an expert.
The right way should be :
set frameIndex to index of first frame whose time > pos
But it returns nothing at all (QT 7.3). So the only way to do it (IMO) is to
implement a loop.
> I'm wondering why you didn't use time scale in your code. You don't
> think that's reliable?
If I'm right, Time scale is a QT internal value used to sync different
tracks. It is a property of the document, can be set to any value (the
default is 600) and doesn't reflect the duration of a particular track's
frame.
HTH,
Olivier
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden