<!--
{
  "availability" : [
    "iOS: 26.0.0 -",
    "iPadOS: 26.0.0 -",
    "macCatalyst: -",
    "macOS: 26.0.0 -",
    "tvOS: 26.0.0 -",
    "visionOS: 26.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "AVFoundation",
  "identifier" : "/documentation/AVFoundation/AVAssetWriterInput/PixelBufferReceiver",
  "metadataVersion" : "0.1.0",
  "role" : "Class",
  "symbol" : {
    "kind" : "Class",
    "modules" : [
      "AVFoundation"
    ],
    "preciseIdentifier" : "s:So18AVAssetWriterInputC12AVFoundationE19PixelBufferReceiverC"
  },
  "title" : "AVAssetWriterInput.PixelBufferReceiver"
}
-->

# AVAssetWriterInput.PixelBufferReceiver

Provides an interface for writing pixel buffers to an input.

```
class PixelBufferReceiver
```

## Topics

### Appending pixel buffers

[`func append(CVReadOnlyPixelBuffer, with: CMTime) async throws`](/documentation/AVFoundation/AVAssetWriterInput/PixelBufferReceiver/append(_:with:))

Suspends until the input is ready for more media data, then appends the pixel buffer.

[`func appendImmediately(CVReadOnlyPixelBuffer, with: CMTime) throws -> Bool`](/documentation/AVFoundation/AVAssetWriterInput/PixelBufferReceiver/appendImmediately(_:with:))

Appends the pixel buffer synchronously if the input is ready for more media data.

[`func finish()`](/documentation/AVFoundation/AVAssetWriterInput/PixelBufferReceiver/finish())

Indicates to the AVAssetWriter that no more buffers will be appended to this receiver.

### Accessing the pixel buffer pool

[`var pixelBufferPool: CVMutablePixelBuffer.Pool?`](/documentation/AVFoundation/AVAssetWriterInput/PixelBufferReceiver/pixelBufferPool)

A pixel buffer pool that will vend and efficiently recycle pixel buffer objects that can be appended to the receiver.

[`var sourcePixelBufferAttributes: CVPixelBufferCreationAttributes?`](/documentation/AVFoundation/AVAssetWriterInput/PixelBufferReceiver/sourcePixelBufferAttributes)

The pixel buffer attributes of pixel buffers that will be vended by the receiver’s pixel buffer pool.



---

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)