encode(inputImage, frameId)
Function Usage
Video encoding API of the VideoEncoder class.
Input Parameter Description
Parameter |
Type |
Description |
|---|---|---|
inputImage |
Image class |
Image class before encoding |
frameId |
int |
Video frame index |
Return Parameter Description
None
Exception Throwing Interface
If the encoding fails, a runtime exception occurs.
Parent topic: VideoEncoder