Copyright © 2005-2019 MultiMedia Soft

VideoPlayer.FrameGrabberResultsGetAvailableType method

Previous pageReturn to chapter overviewNext page

Remarks

 

After completing a grabbing session, through a call to one between the VideoPlayer.FrameGrabberExecToFile and VideoPlayer.FrameGrabberExecToMemory methods, returns the type of the latest video frames grabbing session.

 

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 class section.

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

 

 

Syntax

 

[Visual Basic]

Public Function FrameGrabberResultsGetAvailableType (

nPlayerIndex as Int16

) as enumErrorCodes


 

[C#]

public enumErrorCodes FrameGrabberResultsGetAvailableType (

Int16 nPlayerIndex

);


 

[C++]

public: enumErrorCodes FrameGrabberResultsGetAvailableType (

Int16 nPlayerIndex

);


 

Parameter

Description

 

 

nPlayerIndex

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

 

 

Return value

 

Value

Meaning

 

 

Negative value

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

Other values

The type of the latest grabbing session.

Supported values are the following:

Mnemonic value

Value

Meaning

TYPE_OF_GRABBED_FRAME_NONE

0

No grabbing session occurred.

TYPE_OF_GRABBED_FRAME_FILES

1

Frames were grabbed and stored inside output files.

TYPE_OF_GRABBED_FRAME_BITMAPS

2

Frames were grabbed and stored inside memory bitmaps.