Copyright © 2001-2018 MultiMedia Soft

VideoPlayer.FrameGrabberOutputResizeSet method

Previous pageReturn to chapter overviewNext page

Remarks

 

Predisposes the resizing of pictures generated from frames grabbed from a video clip by a grabbing session that will be started through a later call to one between the VideoPlayer.FrameGrabberExecToFile and VideoPlayer.FrameGrabberExecToMemory methods.

 

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

nPlayer as Integer,

nOutputWidth as Long,

nOutputHeight as Long

) as enumErrorCodes


 

[C++]

short control.VideoPlayer.FrameGrabberOutputResizeSet (

short nPlayer,

long nOutputWidth,

long nOutputHeight

);


 

Parameter

Description

 

 

nPlayer

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

nOutputWidth

The width, expressed in pixels, of the output pictures

nOutputHeight

The height, expressed in pixels, of the output pictures

 

 

Return value

 

Value

Meaning

 

 

Negative value

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

enumErrorCodes.ERR_NOERROR (0)

The method call was successful