---
title: segments
framework: avfoundation
role: symbol
role_heading: Instance Property
path: avfoundation/avmutablemovietrack/segments
---

# segments

The time mappings from the track’s media samples to its timeline.

## Declaration

```swift
var segments: [AVAssetTrackSegment] { get }
```

## See Also

### Accessing track segments

- [segment(forTrackTime:)](avfoundation/avmutablemovietrack/segment(fortracktime:).md)
