<!--
{
  "availability" : [
    "FxPlug: 4.0.0 -",
    "macOS: 10.7.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "professional_video_applications",
  "identifier" : "/documentation/professional_video_applications/FxTimingAPI_v4/frameDuration(_:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "Professional Video Applications"
    ],
    "preciseIdentifier" : "c:objc(pl)FxTimingAPI_v4(im)frameDuration:"
  },
  "title" : "frameDuration(_:)"
}
-->

# frameDuration(_:)

Provides the native frame duration of the object to which the effect is applied.

```
func frameDuration(_ duration: UnsafeMutablePointer<CMTime>!)
```

## Parameters

`duration`

The frame duration time, expressed in `CMTime`.

## Discussion

Motion provides the frame duration of the project. Final Cut Pro provides the frame duration of the clip to which the effect is applied, not the frame duration for the timeline.

> Note: The value that the host provides is unaffected by any retiming the host may do and is always the native frame duration (before retiming) of the clip to which the effect is applied. To determine the timeline’s frame duration, divide the value from ``doc://com.apple.professionalvideoapplications/documentation/professional_video_applications/FxTimingAPI_v4/timelineFpsDenominator(for:)`` by ``doc://com.apple.professionalvideoapplications/documentation/professional_video_applications/FxTimingAPI_v4/timelineFpsNumerator(for:)`` as shown in <doc://com.apple.professionalvideoapplications/documentation/Professional-Video-Applications/understanding-time-in-fxplug#Retiming-and-frame-duration>.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)