<!--
{
  "availability" : [
    "iOS: 8.0.0 -",
    "iPadOS: 8.0.0 -",
    "macCatalyst: 13.1.0 -",
    "macOS: 10.10.0 -",
    "tvOS: 9.0.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "AVFoundation",
  "identifier" : "/documentation/AVFoundation/AVAssetWriterInputPassDescription/sourceTimeRanges",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "AVFoundation"
    ],
    "preciseIdentifier" : "c:objc(cs)AVAssetWriterInputPassDescription(py)sourceTimeRanges"
  },
  "title" : "sourceTimeRanges"
}
-->

# sourceTimeRanges

An array of time ranges.

```
var sourceTimeRanges: [NSValue] { get }
```

## Discussion

Each element in the array is an <doc://com.apple.documentation/documentation/Foundation/NSValue> object that wraps a <doc://com.apple.documentation/documentation/CoreMedia/CMTimeRange> structure that represents one source time range. The value of this property is suitable to pass to the [`reset(forReadingTimeRanges:)`](/documentation/AVFoundation/AVAssetReaderOutput/reset(forReadingTimeRanges:)) method of [`AVAssetReaderOutput`](/documentation/AVFoundation/AVAssetReaderOutput).

---

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)