Copyright © 2001-2019 MultiMedia Soft

VideoPlayer.FrameGrabberResultsGetFilePathname method

Previous pageReturn to chapter overviewNext page

Remarks

 

After completing a grabbing session, through a call to the VideoPlayer.FrameGrabberExecToFile method, given the index of a grabbed frame obtains the absolute pathname of the picture file where the frame's bitmap is stored.

 

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.FrameGrabberResultsGetFilePathname (

nPlayer as Integer,

nFrameIndex as Long

) as String


 

[C++]

LPCTSTR control.VideoPlayer.FrameGrabberResultsGetFilePathname (

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.FrameGrabberResultsGetFilesCount method.

 

 

Return value

 

Value

Meaning

 

 

Valid string

Absolute pathname of the picture file where the frame's bitmap is stored

Empty string

An error occurred, check the LastError property value in order to see the error code meaning file