TIMECODE structure (strmif.h)
[The feature associated with this page, DirectShow, is a legacy feature. It has been superseded by MediaPlayer, IMFMediaEngine, and Audio/Video Capture in Media Foundation. Those features have been optimized for Windows 10 and Windows 11. Microsoft strongly recommends that new code use MediaPlayer, IMFMediaEngine and Audio/Video Capture in Media Foundation instead of DirectShow, when possible. Microsoft suggests that existing code that uses the legacy APIs be rewritten to use the new APIs if possible.]
The TIMECODE structure contains basic timecode frame count information.
Syntax
typedef struct tagTIMECODE {
WORD wFrameRate;
WORD wFrameFract;
DWORD dwFrames;
} TIMECODE;
Members
wFrameRate
Number of frames per second. Specify with one of the following values:
wFrameFract
Fractional frame. Full scale is 0x1000.
dwFrames
Timecode value as a binary framecount.
Remarks
Fractional frame can be used to indicate temporal offset into frame when timecode was actually read from an external device; for example, wFrameFract=0x7ff means the timecode value was read from the device at the end of the first video field.
Requirements
Requirement | Value |
---|---|
Header | strmif.h (include Dshow.h) |