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

# durationTimeOfInput(toFilter:)

Provides the duration of the filter’s image input clip.

```
func durationTimeOfInput(toFilter duration: UnsafeMutablePointer<CMTime>!)
```

## Parameters

`duration`

The duration of the clip, in `CMTime`.

## Discussion

In Motion, the value represents the duration of the object to which the user applies the effect, after retiming and trimming. In other words, this value is the duration of the visible frames.

In Final Cut Pro, the value represents the duration of the object to which the user applies the effect template, regardless of the length of the Effect Source inside the template.

---

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)