Copy link to clipboard
Copied
Let me illustrate by an example:
I have 3 differents informations, none are coherent with each other.
1) First of all, when you hover with your mouse over your clip, you can see the duration of the clip and it's "END" timing.
The end says 00:00:24:15
"15" means 15/30 frames => half a second = 500 ms OR 15 frames.
The clip should END at frame 15.
(This was Information number 1)
2) The second information shows direclty inside the panel, on the track, we can clearly see that the clip end at frame 16. Which should be 16 frames => 16 x 33.33 ms = 533 ms. That translates to this information:
end should say 00:00:24:16!
The 2 informations within Premiere Pro itself are contradictory.
3) The third information is my own caulcations relative to the audio duraiton, my calculations says it SHOULD end after 570 ms => 570/33.33 = 17 frames.
That could translate to this information:
end should say 00:00:24:17!
So what do we got here?
This is really bothering.
What can we do here? There is a problem am I wrong? Is there a solution to this?
Solution = All API Time calculations are performed in Ticks (254016000000 ticks per second).
PPro's UI rounds to frames.
Copy link to clipboard
Copied
I guess what would be good and useful would be a code that ley you know EXACLTY (frame) where the INSERTED clip has ended.
For example the first green clip would have its ending value at : sec 24, frame 16.
Can we get that precise info through code?
Copy link to clipboard
Copied
>Can we get that precise info through code?
Yes; in fact, you get much more precision, than can be displayed in PPro's UI.
Copy link to clipboard
Copied
Solution = All API Time calculations are performed in Ticks (254016000000 ticks per second).
PPro's UI rounds to frames.
Copy link to clipboard
Copied
Video clips use frames, not milliseconds.
Looking at your screenshot, the clip ends on frame 15.
Frame 16 is the first frame of whatever comes next.
he blue crossbar indicates the frame
Copy link to clipboard
Copied
Hello Bed etc.,
As Ann Bens has alluded, it's important to remember that each frame has a duration. Thus, to your first 2 points, "ending on frame 15" means more precisely that frame 15 is the last frame; but frame 15 has a duration, so you can identify when frame 15 begins to be displayed or when 15 ends being displayed (and frame 16 begins being displayed). I believe this addresses the confusion in your first two points.
As to your 3rd point, you've rather opaquely stated a figure you arrive at by "my own caulcations relative to the audio duration". I am at a loss to understand what you've calculated or how without more information, so I can't help your understanding there. But I will note that audio is not strictly restricted to frame units (it can have durations in partial frames) and so this may be contributing to your confusion.
Bruce Bullis referred to "ticks", which as far as I can tell are the name given to computer instruction cycles (though it is unclear from his comment whether this is a universal value or a standard chosen by Adobe).
R.
Copy link to clipboard
Copied
[Ticks are a standard chosen by Adobe]