<!--
{
  "availability" : [
    "macOS: 10.8.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "AVFoundation",
  "identifier" : "/documentation/AVFoundation/AVPlayerItemOutput/itemTime(for:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "AVFoundation"
    ],
    "preciseIdentifier" : "c:objc(cs)AVPlayerItemOutput(im)itemTimeForCVTimeStamp:"
  },
  "title" : "itemTime(for:)"
}
-->

# itemTime(for:)

Converts a Core Video timestamp to the item’s timebase.

```
func itemTime(for timestamp: CVTimeStamp) -> CMTime
```

## Parameters

`timestamp`

A timestamp value provided by the Core Video framework.

## Return Value

The equivalent time in the item’s timebase.

## Discussion

---

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)