Chief
October 26th, 2004, 01:20 PM
I'm currently working on a video + data recording application
The goal of this app is to synchronize video and raw data, and then replay it both synchronized.
The video recording is done with directshow while data comes from ethernet and stored into files.
So as to synchronize the datas and the video, i chose to timestamp the datas with the video timecode.
I know that directshow expose the IMediaSeeking interface to get TimeCode information during playback.
My questions are quite simple :
- does any interface provide such functions during recording ??
- do i have to manually deduce the current time code from the IReferenceClock interface that gives clock "ticks"
Thanks.
The goal of this app is to synchronize video and raw data, and then replay it both synchronized.
The video recording is done with directshow while data comes from ethernet and stored into files.
So as to synchronize the datas and the video, i chose to timestamp the datas with the video timecode.
I know that directshow expose the IMediaSeeking interface to get TimeCode information during playback.
My questions are quite simple :
- does any interface provide such functions during recording ??
- do i have to manually deduce the current time code from the IReferenceClock interface that gives clock "ticks"
Thanks.