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

# marksOutputTrackAsEnabled

A Boolean value that indicates whether to enable a track in the output for playback and processing.

```
var marksOutputTrackAsEnabled: Bool { get set }
```

## Discussion

The default value is <doc://com.apple.documentation/documentation/Swift/true>. If the format you’re writing supports disabling tracks, you can disable a track by setting this value to <doc://com.apple.documentation/documentation/Swift/false>.

You can’t set 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)