---
title: AVMovieWritingOptions
framework: avfoundation
role: symbol
role_heading: Structure
path: avfoundation/avmoviewritingoptions
---

# AVMovieWritingOptions

A structure that defines options to control the writing of a movie header to a destination URL.

## Declaration

```swift
struct AVMovieWritingOptions
```

## Topics

### Writing options

- [addMovieHeaderToDestination](avfoundation/avmoviewritingoptions/addmovieheadertodestination.md)
- [truncateDestinationToMovieHeaderOnly](avfoundation/avmoviewritingoptions/truncatedestinationtomovieheaderonly.md)

### Initializers

- [init(rawValue:)](avfoundation/avmoviewritingoptions/init(rawvalue:).md)

## Relationships

### Conforms To

- [BitwiseCopyable](swift/bitwisecopyable.md)
- [Equatable](swift/equatable.md)
- [ExpressibleByArrayLiteral](swift/expressiblebyarrayliteral.md)
- [OptionSet](swift/optionset.md)
- [RawRepresentable](swift/rawrepresentable.md)
- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)
- [SetAlgebra](swift/setalgebra.md)

## See Also

### Creating and writing headers

- [is(compatibleWithFileType:)](avfoundation/avmovie/is(compatiblewithfiletype:).md)
- [makeMovieHeader(fileType:)](avfoundation/avmovie/makemovieheader(filetype:).md)
- [writeHeader(to:fileType:options:)](avfoundation/avmovie/writeheader(to:filetype:options:).md)
