Expand Minimize
This topic has not yet been rated - Rate this topic

TIMECODE structure

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:

ValueMeaning
ED_FORMAT_SMPTE_30

30 frames per second.

ED_FORMAT_SMPTE_30DROP

30 frames per second drop frame (actual rate 29.97 fps).

ED_FORMAT_SMPTE_25

25 frames per second.

ED_FORMAT_SMPTE_24

24 frames per second.

 

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

Header

Strmif.h (include Dshow.h)

See also

DirectShow Structures

 

 

Send comments about this topic to Microsoft

Build date: 11/21/2012

Community Additions

ADD
© 2013 Microsoft. All rights reserved.