Video encoding API of the VideoEncoder class.
1 | encode(inputImage: Image, frameId: int) |
Parameter |
Type |
Description |
|---|---|---|
inputImage |
Image class |
Image class before encoding |
frameId |
int |
Video frame index |
If the encoding fails, a runtime exception is thrown.