---
title: initialMovieFragmentSequenceNumber
framework: avfoundation
role: symbol
role_heading: Instance Property
path: avfoundation/avassetwriter/initialmoviefragmentsequencenumber
---

# initialMovieFragmentSequenceNumber

The sequence number of the initial movie fragment.

## Declaration

```swift
var initialMovieFragmentSequenceNumber: Int { get set }
```

## Discussion

Discussion If you combine movie fragments that you create from multiple asset writers, movie fragment sequence numbers need to increase monotonically across the entire combined collection, in temporal order. The default value of this property is 1. You can’t set this property after writing starts.

## See Also

### Configuring fragment output

- [movieFragmentInterval](avfoundation/avassetwriter/moviefragmentinterval.md)
- [initialMovieFragmentInterval](avfoundation/avassetwriter/initialmoviefragmentinterval.md)
- [producesCombinableFragments](avfoundation/avassetwriter/producescombinablefragments.md)
- [overallDurationHint](avfoundation/avassetwriter/overalldurationhint.md)
- [movieTimeScale](avfoundation/avassetwriter/movietimescale.md)
