<!--
{
  "availability" : [
    "iOS: 17.0.0 - 27.0.0",
    "iPadOS: 17.0.0 - 27.0.0",
    "macCatalyst: 17.0.0 - 27.0.0",
    "macOS: 14.0.0 - 27.0.0",
    "visionOS: 1.0.0 - 27.0.0"
  ],
  "documentType" : "symbol",
  "framework" : "AVFoundation",
  "identifier" : "/documentation/AVFoundation/AVAssetWriterInputTaggedPixelBufferGroupAdaptor",
  "metadataVersion" : "0.1.0",
  "role" : "Class",
  "symbol" : {
    "kind" : "Class",
    "modules" : [
      "AVFoundation"
    ],
    "preciseIdentifier" : "c:objc(cs)AVAssetWriterInputTaggedPixelBufferGroupAdaptor"
  },
  "title" : "AVAssetWriterInputTaggedPixelBufferGroupAdaptor"
}
-->

# AVAssetWriterInputTaggedPixelBufferGroupAdaptor

An object that appends tagged buffer groups to an asset writer input.

```
class AVAssetWriterInputTaggedPixelBufferGroupAdaptor
```

## Overview

This class provides a <doc://com.apple.documentation/documentation/CoreVideo/CVPixelBufferPool-77o> to use for allocating the pixel buffers of tagged buffer groups to write to the output file. Using the provided pixel buffer pool for buffer allocation is typically more efficient than appending pixel buffers allocated using a separate pool.

## Topics

### Creating an adaptor

[`+  assetWriterInputTaggedPixelBufferGroupAdaptorWithAssetWriterInput:sourcePixelBufferAttributes:`](/documentation/AVFoundation/AVAssetWriterInputTaggedPixelBufferGroupAdaptor/assetWriterInputTaggedPixelBufferGroupAdaptorWithAssetWriterInput:sourcePixelBufferAttributes:)

Returns a new object that appends tagged buffer groups to an asset writer input.

[`-  initWithAssetWriterInput:sourcePixelBufferAttributes:`](/documentation/AVFoundation/AVAssetWriterInputTaggedPixelBufferGroupAdaptor/init(assetWriterInput:sourcePixelBufferAttributes:))

Creates an object that appends tagged buffer groups to an asset writer input.

### Configuring the buffer pool

[`sourcePixelBufferAttributes`](/documentation/AVFoundation/AVAssetWriterInputTaggedPixelBufferGroupAdaptor/sourcePixelBufferAttributes)

The attributes of buffers that the adaptor’s pixel buffer pool vends.

[`pixelBufferPool`](/documentation/AVFoundation/AVAssetWriterInputTaggedPixelBufferGroupAdaptor/pixelBufferPool)

A pixel buffer pool that vends and efficiently recycles the pixel buffers of tagged buffer groups.

### Appending pixel buffers

[`appendTaggedBuffers(_:withPresentationTime:)`](/documentation/AVFoundation/AVAssetWriterInputTaggedPixelBufferGroupAdaptor/appendTaggedBuffers(_:withPresentationTime:))

Appends a tagged buffer group to the adaptor.

[`-  appendTaggedPixelBufferGroup:withPresentationTime:`](/documentation/AVFoundation/AVAssetWriterInputTaggedPixelBufferGroupAdaptor/appendTaggedPixelBufferGroup(_:withPresentationTime:))

Appends a tagged buffer group to the adaptor.

### Accessing the writer input

[`assetWriterInput`](/documentation/AVFoundation/AVAssetWriterInputTaggedPixelBufferGroupAdaptor/assetWriterInput)

The asset writer input to which the adaptor appends tagged buffer groups.

## Relationships

### Conforms To

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

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

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

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

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

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

### Inherits From

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

---

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)