displaying time code when capturing video from DV camera

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



Hi There,

I'm doing an app that captures video from a DV camera based on WME SDK
9.0. I'd like to display the current position (in hh:mm:ss format) on
the video tape just like what Windows Media Encoder does. I tried
CurrentPosition and CurrentATN of IWMEncDeviceControlPlugin. Both
return an object with WMTIMECODE_SAMPLE type. However, I don't quite
understand the values in the returned object, such as qwTick =
8724624766402572, timecode.dwFrames = 139283, etc. My tape is only 1
hours long. these values don't make too much sense to me according to
the SDK document. Anyone see where the problem is?

Thanks!

.