Used to grab video frames generated with the FBRenderer.
See samples: codecExamples.py, render.py, RenderLayers.py, JpegRender.py.
Public Member Functions |
|
FBVideoGrabber () | |
Constructor. |
|
bool | BeginGrab () |
BeginGrab. |
|
EndGrab () | |
EndGrab. |
|
str | GetLastErrorMsg () |
GetLastErrorMsg. |
|
FBVideoGrabOptions | GetOptions () |
GetOptions give you a copy of current
grabbing options. |
|
FBVideoGrabStats | GetStatistics () |
GetStatistics. |
|
Grab () | |
Grab. |
|
FBImage | RenderSnapshot (int pWidth=-1, int pHeight=-1, bool pCameraLabel=False, bool pTimeCode=False, bool pSafeArea=False, bool pAxis=False, bool pGrid=False, bool pFrontPlate=False, bool pBackPlate=False) |
Render a snapshot of the actual display.
|
|
ResetOptions () | |
SetDefaultOptions. |
|
SetOptions (FBVideoGrabOptions pOptions) | |
SetOptions. |
FBVideoGrabber | ( | ) |
Constructor.
bool BeginGrab | ( | ) |
BeginGrab.
Begin video grabbing session.
EndGrab | ( | ) |
EndGrab.
Close video grabbing session.
str GetLastErrorMsg | ( | ) |
GetLastErrorMsg.
FBVideoGrabOptions GetOptions | ( | ) |
GetOptions give you a copy of current grabbing options.
FBVideoGrabStats GetStatistics | ( | ) |
GetStatistics.
Grab | ( | ) |
Grab.
Grab all specified video frames.
FBImage RenderSnapshot | ( | int | pWidth = -1 , |
|
int | pHeight = -1 , |
|||
bool | pCameraLabel =
False , |
|||
bool | pTimeCode = False , |
|||
bool | pSafeArea = False , |
|||
bool | pAxis = False , |
|||
bool | pGrid = False , |
|||
bool | pFrontPlate =
False , |
|||
bool | pBackPlate = False |
|||
) |
Render a snapshot of the actual display.
ResetOptions | ( | ) |
SetDefaultOptions.
This function reset all grabbing options to the default value.
SetOptions | ( | FBVideoGrabOptions | pOptions | ) |
SetOptions.
pOptions | Struct that contain all grabbing options. |