<!--
{
  "availability" : [
    "iOS: 6.0.0 -",
    "iPadOS: 6.0.0 -",
    "macCatalyst: 13.1.0 -",
    "macOS: 10.8.0 -",
    "tvOS: 9.0.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "AVFoundation",
  "identifier" : "/documentation/AVFoundation/AVPlayerItemVideoOutput/hasNewPixelBuffer(forItemTime:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "AVFoundation"
    ],
    "preciseIdentifier" : "c:objc(cs)AVPlayerItemVideoOutput(im)hasNewPixelBufferForItemTime:"
  },
  "title" : "hasNewPixelBuffer(forItemTime:)"
}
-->

# hasNewPixelBuffer(forItemTime:)

Returns a Boolean value that indicates whether video output is available for the specified item time.

```
func hasNewPixelBuffer(forItemTime itemTime: CMTime) -> Bool
```

## Parameters

`itemTime`

The item time to query. The time value is relative to the [`AVPlayerItem`](/documentation/AVFoundation/AVPlayerItem) object with which the receiver is associated.

## Return Value

<doc://com.apple.documentation/documentation/Swift/true> if there is available video output that has not been previously acquired or <doc://com.apple.documentation/documentation/Swift/false> if there is not.

## Discussion

This method returns <doc://com.apple.documentation/documentation/Swift/true> if the video data at the specified time has not yet been acquired or is different from the video that was acquired previously. If you require multiple objects to acquire video output from the same [`AVPlayerItem`](/documentation/AVFoundation/AVPlayerItem) object, you should create separate `AVPlayerItemVideoOutput` objects for each.

---

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)