---
title: "init(pixelBufferAttributes:)"
framework: avfoundation
role: symbol
role_heading: Initializer
path: "avfoundation/avplayeritemvideooutput/init(pixelbufferattributes:)-7n7v8"
---

# init(pixelBufferAttributes:)

Creates a video output object using the specified pixel buffer attributes.

## Declaration

```swift
init(pixelBufferAttributes: [String : any Sendable]? = nil)
```

## Parameters

- `pixelBufferAttributes`: The pixel buffer attributes required for video output. For a list of pixel buffer attributes you can include in this dictionary, see the CVPixelBuffer.h header file in the Core Video framework.

## Return Value

Return Value An initialized video output object.

## See Also

### Creating a video output

- [init(pixelBufferAttributes:)](avfoundation/avplayeritemvideooutput/init(pixelbufferattributes:)-18izh.md)
- [init(outputSettings:)](avfoundation/avplayeritemvideooutput/init(outputsettings:).md)
