---
title: AVAssetWriterInputPixelBufferAdaptor
framework: avfoundation
role: symbol
role_heading: Class
path: avfoundation/avassetwriterinputpixelbufferadaptor
---

# AVAssetWriterInputPixelBufferAdaptor

An object that appends video samples to an asset writer input.

## Declaration

```swift
class AVAssetWriterInputPixelBufferAdaptor
```

## Overview

Overview A pixel buffer adaptor provides a pixel buffer pool that you use to allocate pixel buffers to the output file. Using the provided pool for buffer allocation is typically more efficient than managing your own pool.

## Topics

### Creating an adaptor

- [init(assetWriterInput:sourcePixelBufferAttributes:)](avfoundation/avassetwriterinputpixelbufferadaptor/init(assetwriterinput:sourcepixelbufferattributes:).md)

### Appending pixel buffers

- [append(_:withPresentationTime:)](avfoundation/avassetwriterinputpixelbufferadaptor/append(_:withpresentationtime:).md)

### Accessing the pool

- [pixelBufferPool](avfoundation/avassetwriterinputpixelbufferadaptor/pixelbufferpool.md)
- [sourcePixelBufferAttributes](avfoundation/avassetwriterinputpixelbufferadaptor/sourcepixelbufferattributes.md)

### Inspecting a pixel buffer adaptor

- [assetWriterInput](avfoundation/avassetwriterinputpixelbufferadaptor/assetwriterinput.md)

## Relationships

### Inherits From

- [NSObject](objectivec/nsobject-swift.class.md)

### Conforms To

- [CVarArg](swift/cvararg.md)
- [CustomDebugStringConvertible](swift/customdebugstringconvertible.md)
- [CustomStringConvertible](swift/customstringconvertible.md)
- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [NSObjectProtocol](objectivec/nsobjectprotocol.md)

## See Also

### Media writing

- [Converting projected video to Apple Projected Media Profile](avfoundation/converting-projected-video-to-apple-projected-media-profile.md)
- [Converting side-by-side 3D video to multiview HEVC and spatial video](avfoundation/converting-side-by-side-3d-video-to-multiview-hevc-and-spatial-video.md)
- [Adding a display mask rectangle metadata track to a movie file](avfoundation/adding-a-display-mask-rectangle-metadata-track-to-a-movie-file.md)
- [Writing fragmented MPEG-4 files for HTTP Live Streaming](avfoundation/writing-fragmented-mpeg-4-files-for-http-live-streaming.md)
- [Creating spatial photos and videos with spatial metadata](imageio/creating-spatial-photos-and-videos-with-spatial-metadata.md)
- [Tagging media with video color information](avfoundation/tagging-media-with-video-color-information.md)
- [Evaluating an app’s video color](avfoundation/evaluating-an-app-s-video-color.md)
- [AVOutputSettingsAssistant](avfoundation/avoutputsettingsassistant.md)
- [AVAssetWriter](avfoundation/avassetwriter.md)
- [AVAssetWriterInput](avfoundation/avassetwriterinput.md)
- [AVAssetWriterInputTaggedPixelBufferGroupAdaptor](avfoundation/avassetwriterinputtaggedpixelbuffergroupadaptor.md)
- [AVAssetWriterInputMetadataAdaptor](avfoundation/avassetwriterinputmetadataadaptor.md)
- [AVAssetWriterInputGroup](avfoundation/avassetwriterinputgroup.md)
