<!--
{
  "availability" : [
    "iOS: 18.0.0 -",
    "iPadOS: 18.0.0 -",
    "macCatalyst: 18.0.0 -",
    "macOS: 15.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "AVFoundation",
  "identifier" : "/documentation/AVFoundation/AVPlayerItemRenderedLegibleOutput/init(videoDisplay:)",
  "metadataVersion" : "0.1.0",
  "role" : "Initializer",
  "symbol" : {
    "kind" : "Initializer",
    "modules" : [
      "AVFoundation"
    ],
    "preciseIdentifier" : "c:objc(cs)AVPlayerItemRenderedLegibleOutput(im)initWithVideoDisplaySize:"
  },
  "title" : "init(videoDisplay:)"
}
-->

# init(videoDisplay:)

Creates a rendered legible output object.

```
init(videoDisplay videoDisplaySize: CGSize)
```

## Parameters

`videoDisplaySize`

The size of the video display.

## Discussion

You can also choose to reset the [`videoDisplaySize`](/documentation/AVFoundation/AVPlayerItemRenderedLegibleOutput/videoDisplaySize) value after initialization or during playback.

> Important:
> Attempting to set a video display size of <doc://com.apple.documentation/documentation/CoreFoundation/CGSize/zero> results in the system throwing an exception.

---

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)