---
title: "init(start:duration:)"
framework: coremedia
role: symbol
role_heading: Initializer
path: "coremedia/cmtimerange/init(start:duration:)"
---

# init(start:duration:)

Creates a valid time range with a start time and duration.

## Declaration

```swift
init(start: CMTime, duration: CMTime)
```

## Parameters

- `start`: The start of the time range.
- `duration`: The duration of the time range.

## See Also

### Creating Time Ranges

- [init()](coremedia/cmtimerange/init().md)
- [init(start:end:)](coremedia/cmtimerange/init(start:end:).md)
