Partager via


DVD_TIMECODE Structure

 
Microsoft DirectShow 9.0

DVD_TIMECODE Structure

The DVD_TIMECODE structure contains DVD timecode in hours, minutes, seconds, and frames.

Syntax

typedef struct tagDVD_TIMECODE {
   ULONG Hours1:4; 
   ULONG Hours10:4; 
   ULONG Minutes1:4; 
   ULONG Minutes10:4; 
   ULONG Seconds1:4; 
   ULONG Seconds10:4; 
   ULONG Frames1:4; 
   ULONG Frames10:2; 
   ULONG FrameRateCode:2; 
} DVD_TIMECODE;

Members

Hours1

Hours.

Hours10

Tens of hours.

Minutes1

Minutes.

Minutes10

Tens of minutes.

Seconds1

Seconds.

Seconds10

Tens of seconds.

Frames1

Frames.

Frames10

Tens of frames.

FrameRateCode

Frames per second dropped and not dropped as indicated by DVD_FRAMERATE.

Remarks

DVD timecode is binary coded decimal (BCD) encoded in the format 0xHhMmSsFf, where:

  • H is tens of hours
  • h is hours
  • M is tens of minutes
  • m is minutes
  • S is tens of seconds
  • s is seconds
  • F is tens of frames
  • f is frames

Requirements

Header: Dshow.h.

See Also