NeroVersionAPI has the IMediaInfo interface.
I create an IMediaAnalyzer object
I get the IFileInfo object from it using AddFile("my video file")
I get the IMediaInfo object from it using GetSegmentMediaInfo
I want the image at the 0 second position, so I do this
HBITMAP hFrame = NULL;
MediaInfo->raw_GetImage(0,(unsigned long *)&hFrame);
The returned 'HBITMAP' is not correct.
Can anyone tell me what kind of return variable "GetImage" returns. The docs only show unsigned long, but the IDL shows "HANDLE_PTR", indicating some kind of GDI object.
I'd like to be able to extract video frames and modify them for my own purpose.