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

# outputFileTypeProfile

A profile for the output file type.

```
var outputFileTypeProfile: AVFileTypeProfile? { get set }
```

## Discussion

The default value is `nil`, which indicates that the writer chooses an appropriate default profile for the output file type. If your app requires segment data that’s suitable for streaming, set the value to [`mpeg4AppleHLS`](/documentation/AVFoundation/AVFileTypeProfile/mpeg4AppleHLS) or [`mpeg4CMAFCompliant`](/documentation/AVFoundation/AVFileTypeProfile/mpeg4CMAFCompliant) to output CMAF-compliant [`mp4`](/documentation/AVFoundation/AVFileType/mp4) data.

You can’t change this value after writing starts.

---

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)