Function: venc_set_frame_config_force_i_frame
Applicability
Product |
Supported (√/x) |
|---|---|
x |
|
x |
|
x |
|
√ |
|
√ |
Function Usage
Sets a single-frame encoding configuration.
Prototype
- C Prototype
1aclError aclvencSetFrameConfigForceIFrame(aclvencFrameConfig *config, uint8_t forceIFrame);
- Python Function
1ret = acl.media.venc_set_frame_config_force_i_frame(config, force_i_frame)
Parameter Description
Parameter |
Description |
|---|---|
config |
Int, pointer address of the single-frame encoding configuration. Call acl.media.venc_create_frame_config to create data of the aclvencFrameConfig type in advance. |
force_i_frame |
Int, whether to forcibly restart the I-frame interval.
|
Return Value Description
Return Value |
Description |
|---|---|
ret |
Int, error code: 0 on success; else, failure. |
Parent topic: VENC