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

# durationTime(_:ofImageParameter:)

Provides the duration of the clip the user assigns to the given image parameter for the effect.

```
func durationTime(_ duration: UnsafeMutablePointer<CMTime>!, ofImageParameter parameterID: UInt32)
```

## Parameters

`duration`

The duration of the clip, in `CMTime`.

`parameterID`

The ID of the image parameter.

## Discussion

In Motion, duration represents the duration of the the image well input after the user has trimmed or retimed it.

---

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)