MWCapture SDK Linux  3.3.1.LAST_SVN_COMMIT_NUM
Public Attributes | List of all members
_MWCAP_SMPTE_TIMECODE Struct Reference

MWCAP_SMPTE_TIMECODE. More...

#include <MWCaptureExtension.h>

Public Attributes

BYTE byFrames
 Frames number.
 
BYTE bySeconds
 Seconds.
 
BYTE byMinutes
 Minutes.
 
BYTE byHours
 Hours.
 

Detailed Description

MWCAP_SMPTE_TIMECODE.

Records SMPTE timecode.
Related type: MWCAP_VIDEO_FRAME_INFO

MWCAP_VIDEO_FRAME_INFO videoFrameInfo;
nRet= MWGetVideoFrameInfo(g_hChannel[i], videoBufferInfo.iNewestBufferedFullFrame, &videoFrameInfo);
printf("[Timecode] Top: %2x:%2x:%2x:%2x , Bottom: %2x:%2x:%2x:%2x\n",
videoFrameInfo.aSMPTETimeCodes[0].byHours,
videoFrameInfo.aSMPTETimeCodes[0].byMinutes,
videoFrameInfo.aSMPTETimeCodes[0].bySeconds,
videoFrameInfo.aSMPTETimeCodes[0].byFrames,
videoFrameInfo.aSMPTETimeCodes[1].byHours,
videoFrameInfo.aSMPTETimeCodes[1].byMinutes,
videoFrameInfo.aSMPTETimeCodes[1].bySeconds,
videoFrameInfo.aSMPTETimeCodes[1].byFrames
);

The documentation for this struct was generated from the following file: