---
title: CMTimeMapping
framework: coremedia
role: symbol
role_heading: Structure
path: coremedia/cmtimemapping
---

# CMTimeMapping

A structure that maps a segment of a source time range to a target time range.

## Declaration

```swift
struct CMTimeMapping
```

## Topics

### Creating a Timebase

- [init(source:target:)](coremedia/cmtimemapping/init(source:target:).md)
- [init()](coremedia/cmtimemapping/init().md)

### Accessing Time Ranges

- [source](coremedia/cmtimemapping/source.md)
- [target](coremedia/cmtimemapping/target.md)

### Type Properties

- [invalid](coremedia/cmtimemapping/invalid.md)

## Relationships

### Conforms To

- [BitwiseCopyable](swift/bitwisecopyable.md)
- [Copyable](swift/copyable.md)
- [Escapable](swift/escapable.md)
- [Sendable](swift/sendable.md)
