I'm a software developer working on an application which takes a Final Cut Pro 7 xml file as input, and reads the audio in that XML file (for reporting purposes).

For any given <clipitem> which represents an audio file there is often an <effect> which represents audio levels. The audio level <effect> element has a child <parameter> element which contains multiple <keyframe> elements.

    <name>Audio Levels</name>

I need to figure out what the audio level at any given point in time is for the given <clipitem>.

What I don't get is that the <clipitem> may have <start> set to 1757 and <end> set to 2523. That's a duration of 766 frames.

However, for that very same clip I see the below which to me indicates that the audio level changes to 0.0562341 in frame 1252.57.


How can a keyframe occur at 1252.57 for a clip that has a duration of 766 frames?

The documentation says...

The first keyframe always has a value of 0 for when, and the last keyframe always has the duration of the clipitem as the value for when

  • I know this is not going to help but you are aware that FCP7 is not supported by Apple anymore (I know there are a few people out there still using it but it is loosing to Adobe PR and FCPX) Dec 7 '16 at 12:08
  • @AdamMannPro yes, i know FCPX is the newest version. It is my impression though that a lot of people still hang on to FCP7?
    – sbrattla
    Dec 7 '16 at 14:40
  • If you have access to FCP7, create a trivial project with keyframes in known positions and check.
    – Gyan
    Dec 7 '16 at 15:27
  • @Mulvya that's the issue...I don't have access to neither mac nor FCP7. I have a single FCP7 xml file and the corresponding screendump of the timeline...but the project is complex and I find it hard to "debug".
    – sbrattla
    Dec 7 '16 at 15:29
  • It might be worth doing a survey or likewise to find out how many still use fcp7 as I know of no-one myself who use it as they have moved to adobe or fcpx when apple announced the change. There are many facebook groups who can have a poll run on them. But from what I have seen it might be a wasted venture developing something for a app that was killed off in 2010 and has no support from apple or any other devs. Dec 7 '16 at 17:12

How can a keyframe occur at 1252.57 for a clip that has a duration of 766 frames?

Because the user could have used a clip that was longer than 1252 frames, set a keyframe, then trimmed the clip down to 766 frames. If the user later decides to make the clip longer again by changing the out point to a later time, the keyframe will still be in the place they originally placed it. So your calculations should treat the keyframes as they are, even if they are outside of the clip times.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.