COM - feature request NavigationTimeAdvance

jirim100

Member
I am writing code where I need save bmp every 30-th second of video.
Therefore I writen in c++ something like this:


C++:
for (int k = 0; k < videoDuration; k += 30) {
  _stprintf_s(filename, sizeof(filename) / sizeof(TCHAR), _T("%s\\%d.bmp"), PictureFolder, k);
  pVRD->NavigationSeekToTime(k*1000);
  pVRD->NavigationCaptureFrame(filename, 4);
}
But for video with duration 80 minutes this code is too slow:
- with COM "VideoReDo5.VideoReDoSilent" it takes 63 seconds (VRD5 version 5.4.84.771)
- with COM "VideoReDo6.VideoReDoSilent" it takes even 107 seconds (VRD6 version 6.61.1.818)


Therefore my feature request is to add the new function void NavigationTimeAdvance(uint iTimeMiliseconds, bool bForward) for relative seeking from the current position in the video. I think with this function the speed will be better.
 
Top Bottom