---
title: "init(videoTime:hostTime:rateScaler:videoRefreshPeriod:smpteTime:topField:bottomField:)"
framework: corevideo
role: symbol
role_heading: Initializer
path: "corevideo/cvtimestamp/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.

## Declaration

```swift
@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)
```
