---
title: segmentFileOutputURL
framework: avfoundation
role: symbol
role_heading: Instance Property
path: avfoundation/avplannedsegmentwritingrequest/segmentfileoutputurl
---

# segmentFileOutputURL

## Declaration

```swift
var segmentFileOutputURL: URL { get }
```

## Discussion

Discussion The URL of the file where this incremental segment should be written to. AVAssetWritingPlanner will request each incremental segment to be written to a different file. If the file already exists from a previous session, the client should delete it to allow the subsequent asset writer session to succeed.

## See Also

### Inspecting the request

- [timeRange](avfoundation/avplannedsegmentwritingrequest/timerange.md)
- [progress](avfoundation/avplannedsegmentwritingrequest/progress.md)
- [assemblyTrackID](avfoundation/avplannedsegmentwritingrequest/assemblytrackid.md)
