Copyright © 2001-2018 MultiMedia Soft

VideoPlayer.FrameGrabberResultsGetBitmap method

Previous pageReturn to chapter overviewNext page

Remarks

 

After completing a grabbing session, through a call to the VideoPlayer.FrameGrabberExecToMemory method, given the index of a grabbed frame obtains the handle (HBITMAP) of the related memory bitmap.

 

For further details about frames grabbing see the How to grab frames from video files tutorial.

For further details about the use of the embedded video player see the VideoPlayer object section.

For details about video clips rendering refer to the How to play video files through DirectShow tutorial.

 

 

Syntax

 

[Visual Basic]

control.VideoPlayer.FrameGrabberResultsGetBitmap (

nPlayer as Integer,

nFrameIndex as Long

) as OLE_HANDLE


 

[C++]

OLE_HANDLE control.VideoPlayer.FrameGrabberResultsGetBitmap (

short nPlayer,

long nFrameIndex

);


 

 

 

Parameter

Description

 

 

nPlayer

Number representing the zero-based index of the player that will use the video player.

nFrameIndex

Number representing the zero-based index of the grabbed frame. You can obtain the total number of grabbed frames through the VideoPlayer.FrameGrabberResultsGetBitmapsCount method.

 

 

Return value

 

Value

Meaning

 

 

0

An error occurred, check the LastError property value in order to get the error code

Other values

The handle (HBITMAP) of the memory bitmap