- Posts: 5
- Joined: Thu May 26, 2022 3:24 pm
- Real Name: Krystof Kiss
If your camera supports writing to the record flag in timecode user bits, then you can access this with the following steps inside the IDeckLinkInputCallback::VideoInputFrameArrived callback:
- With the captured video frame, call IDeckLinkVideoFrame::GetTimecode
- On the output IDeckLinkTimecode, call IDeckLinkTimecode::GetFlags
- Mask the timecode flags (BMDTimecodeFlags) with bmdTimecodeRecordingTriggered
Regards
Cameron
References (DeckLink SDK Manual):
[1] 2.5.5.7 IDeckLinkVideoFrame::GetTimecode method
[2] 2.5.24.4 IDeckLinkTimecode::GetFlags method
[3] 3.31 BMDTimecodeFlags