---
title: 函数：venc_get_frame_config_force_i_frame
description: "| C函数原型 | uint8\_t aclvencGetFrameConfigForceIFrame(const aclvencFrameConfig \*config); |"
url: https://www.hiascend.com/document/detail/zh/Atlas200IDKA2DeveloperKit/latest/Application%20Development%20Guide/aadgp/aclpythondevg_01_0390.html
sourcePath: /source/zh/Atlas200IDKA2DeveloperKit/23.0.RC2/Application Development Guide/aadgp/aclpythondevg_01_0390.html
indexId: c99355b59e3251c45034b2563b352c9907237d4967f1d35433b3f6c876e5cab6108
---
# 函数：venc_get_frame_config_force_i_frame

| C函数原型 | uint8\_t aclvencGetFrameConfigForceIFrame(const aclvencFrameConfig \*config); |
| --- | --- |
| Python函数 | force\_i\_frame = acl.media.venc\_get\_frame\_config\_force\_i\_frame(config) |
| 函数功能 | 获取单帧编码配置参数。同步接口。 |
| 输入说明 | config：int，表示单帧编码配置数据。 |
| 返回值说明 | force\_i\_frame：int，是否强制重新开始I帧间隔。 0：不强制重新开始。 1：强制重新开始I帧。 |
