Note
Access to this page requires authorization. You can try signing in or .
Access to this page requires authorization. You can try .
TIMECODE_SAMPLE 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_SAMPLE structure contains complete timecode information.
Syntax
typedef struct tagTIMECODE_SAMPLE {
LONGLONG qwTick;
TIMECODE timecode;
DWORD dwUser;
DWORD dwFlags;
} TIMECODE_SAMPLE;
Members
qwTick
Reference time, in 100-nanosecond units.
timecode
TIMECODE structure.
dwUser
Packed SMPTE userbits.
dwFlags
Timecode flag masks. Specify one or more of the following values.
| Value | Meaning |
|---|---|
|
Frame code mode; 0 = nondrop; 1 = drop. |
|
Color frame flag. |
|
Field flag. |
|
Drop frame flag (from flags in actual timecode on external media). |
|
Specifies frame in color sequence. |
|
Duration in frames of complete sequence. |
|
One of the FILM_SEQUENCE_XXX defines. |
|
Read SMPTE timecode; applies to DV camcorders. |
|
Read the absolute track number (ATN); applies to DV camcorders. This constant is defined in the header file Xprtdefs.h. |
|
Read the relative time counter (RTC); applies to MPEG camcorders. This constant is defined in the header file Xprtdefs.h. |
Remarks
The upper 16 bits in dwFlags are reserved; set to zero.
Requirements
| Requirement | Value |
|---|---|
| Header | strmif.h |
See also
Feedback
Was this page helpful?
