Encode
Function Usage
Video encoding API of the VideoEncoder class.
Prototype
1 | APP_ERROR VideoEncoder::Encode(const Image &inputImage, const uint32_t frameId, void* userData); |
Parameters
Parameter |
Input/Output |
Description |
|---|---|---|
inputImage |
Input |
Image class before encoding |
frameId |
Input |
Video frame index. |
userData |
Input/Output |
User-defined data, which is transferred to the user-defined callback function and is used to obtain the encoding result. |
Response Parameters
Data Structure |
Description |
|---|---|
APP_ERROR |
For details about the returned error codes, see APP_ERROR Description. |
Parent topic: VideoEncoder