<!--
{
  "availability" : [
    "iOS: 4.0.0 -",
    "iPadOS: 4.0.0 -",
    "macCatalyst: 4.0.0 -",
    "macOS: 10.4.0 -",
    "tvOS: 9.0.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: 4.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "CoreVideo",
  "identifier" : "/documentation/CoreVideo/CVTimeStamp/init(videoTime:hostTime:rateScaler:videoRefreshPeriod:smpteTime:topField:bottomField:)",
  "metadataVersion" : "0.1.0",
  "role" : "Initializer",
  "symbol" : {
    "kind" : "Initializer",
    "modules" : [
      "Core Video",
      "CoreVideo"
    ],
    "preciseIdentifier" : "s:So11CVTimeStampa9CoreVideoE9videoTime04hostF010rateScaler0E13RefreshPeriod05smpteF08topField06bottomN0ABSo0A0aSg_s6UInt64VSgSdSgs5Int64VSgSo11CVSMPTETimeVSgS2btcfc"
  },
  "title" : "init(videoTime:hostTime:rateScaler:videoRefreshPeriod:smpteTime:topField:bottomField:)"
}
-->

# init(videoTime:hostTime:rateScaler:videoRefreshPeriod:smpteTime:topField:bottomField:)

Initialize a CVTimeStamp containing specified fields. The bits corrsrponding to non-nil arguments are set in `CVTimeStamp.flags`.

```
@backDeployed(before: macOS 26.0, iOS 26.0, tvOS 26.0, watchOS 26.0, visionOS 26.0)
init(videoTime: CVTime? = nil, hostTime: UInt64? = nil, rateScaler: Double? = nil, videoRefreshPeriod: Int64? = nil, smpteTime: CVSMPTETime? = nil, topField: Bool = false, bottomField: Bool = false)
```

---

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)