<!--
{
  "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/videoDisplaySize",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "AVFoundation"
    ],
    "preciseIdentifier" : "c:objc(cs)AVPlayerItemRenderedLegibleOutput(py)videoDisplaySize"
  },
  "title" : "videoDisplaySize"
}
-->

# videoDisplaySize

Set the video display size to use for rendering of pixel buffers.

```
var videoDisplaySize: CGSize { get set }
```

## Discussion

The output renders the pixel buffers according to the width and height of display area. If you set this property during the presentation time of a vended caption image, the output vends a new image rendered at the new size.

> 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)