- Posts: 8
- Joined: Wed Jan 17, 2018 10:08 am
Hi Bing,
There is no relationship between the SDI timecode and timestamp returned by GetHardwareReferenceTimestamp.
The timestamp output by IDeckLinkVideoInputFrame::GetHardwareReferenceTimestamp() method[1] is the system time when the video input frame is captured by the DeckLink Duo 2. There is also IDeckLinkVideoInputFrame::GetStreamTime method[2] that will return the input stream time in multiples of BMDTimeScale.
To capture the VITC/RP188 timecode, you need to call IDeckLinkVideoInputFrame::GetTimecode() method on the input frame[3]. The CapturePreview sample will also be a good reference for timecode capture.
Kind Regards
Cameron
Refs (DeckLink SDK Manual):
[1] 2.5.11.2 IDeckLinkVideoInputFrame:: GetHardwareReferenceTimestamp method
[2] 2.5.11.1 IDeckLinkVideoInputFrame::GetStreamTime method
[3] 2.4.9.1 Timecode Capture