<!--
{
  "availability" : [
    "iOS: 6.0.0 -",
    "iPadOS: 6.0.0 -",
    "macCatalyst: 13.1.0 -",
    "macOS: 10.8.0 -",
    "tvOS: 9.0.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "AVFoundation",
  "identifier" : "/documentation/AVFoundation/AVPlayerItem/add(_:)-16ctk",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "AVFoundation"
    ],
    "preciseIdentifier" : "c:objc(cs)AVPlayerItem(im)addOutput:"
  },
  "title" : "add(_:)"
}
-->

# add(_:)

Adds the specified player item output object to the receiver.

```
nonisolated func add(_ output: AVPlayerItemOutput)
```

## Parameters

`output`

The player item output object to associate with the item.

## Discussion

When you add an [`AVPlayerItemOutput`](/documentation/AVFoundation/AVPlayerItemOutput) object to an item, the samples associated with that output object are processed according to the rules for mixing, composing, or excluding content that the [`AVPlayer`](/documentation/AVFoundation/AVPlayer) object honors for the specific media type. For example, video media is composed according to the instructions provided by the player item’s video composition object and audio media is mixed according to the parameters of its audio mix object.

## See Also

[`audioMix`](/documentation/AVFoundation/AVPlayerItem/audioMix)

The audio mix parameters to be applied during playback.

[`videoComposition`](/documentation/AVFoundation/AVPlayerItem/videoComposition)

The video composition settings to be applied during playback.



---

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)