<!--
{
  "availability" : [
    "iOS: 17.2.0 -",
    "iPadOS: 17.2.0 -",
    "macCatalyst: 17.2.0 -",
    "macOS: 14.2.0 -",
    "tvOS: 17.2.0 -",
    "visionOS: 1.1.0 -",
    "watchOS: 10.2.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "AVFoundation",
  "identifier" : "/documentation/AVFoundation/AVPlayerVideoOutput",
  "metadataVersion" : "0.1.0",
  "role" : "Class",
  "symbol" : {
    "kind" : "Class",
    "modules" : [
      "AVFoundation"
    ],
    "preciseIdentifier" : "c:objc(cs)AVPlayerVideoOutput"
  },
  "title" : "AVPlayerVideoOutput"
}
-->

# AVPlayerVideoOutput

An object that receives video data from a player object.

```
class AVPlayerVideoOutput
```

## Overview

Attach a video output to an [`AVPlayer`](/documentation/AVFoundation/AVPlayer) object to access the player’s video data as <doc://com.apple.documentation/documentation/CoreMedia/CMTaggedBufferGroupRef> objects.

> Important:
> You can only attach an instance of this class to a single player at a time. Attempting to attach the instance to more than one player results in the system raising an exception.

## Topics

### Creating an output

[`-  initWithSpecification:`](/documentation/AVFoundation/AVPlayerVideoOutput/init(specification:))

Creates a video output from a specification.

### Accessing video data

[`sample(forHostTime:)`](/documentation/AVFoundation/AVPlayerVideoOutput/sample(forHostTime:))

Retrieves a video sample along with auxiliary information for display at the specified host time.

[`Sample`](/documentation/AVFoundation/AVPlayerVideoOutput/Sample)

A video frame along with auxiliary information for display at the specified presentation time.

[`taggedBuffers(forHostTime:)`](/documentation/AVFoundation/AVPlayerVideoOutput/taggedBuffers(forHostTime:))

[`-  copyTaggedBufferGroupForHostTime:presentationTimeStamp:activeConfiguration:`](/documentation/AVFoundation/AVPlayerVideoOutput/copyTaggedBufferGroupForHostTime:presentationTimeStamp:activeConfiguration:)

[`Configuration`](/documentation/AVFoundation/AVPlayerVideoOutput/Configuration)

An object that provides configuration information for the related player item.

## Relationships

### Inherits From

[`NSObject-swift.class`](/documentation/ObjectiveC/NSObject-swift.class)

### Conforms To

[`CustomStringConvertible`](/documentation/Swift/CustomStringConvertible)

[`SendableMetatype`](/documentation/Swift/SendableMetatype)

[`Hashable`](/documentation/Swift/Hashable)

[`CustomDebugStringConvertible`](/documentation/Swift/CustomDebugStringConvertible)

[`CVarArg`](/documentation/Swift/CVarArg)

[`NSObjectProtocol`](/documentation/ObjectiveC/NSObjectProtocol)

[`Equatable`](/documentation/Swift/Equatable)

[`Sendable`](/documentation/Swift/Sendable)

---

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)