---
title: 函数：venc_set_frame_config_eos
description: "| C函数原型 | aclError aclvencSetFrameConfigEos(aclvencFrameConfig \\*config, uint8\\_t eos) |"
url: "https://www.hiascend.com/document/detail/zh/Atlas200IDKA2DeveloperKit/23.0.RC2/Application%20Development%20Guide/aadgp/aclpythondevg_01_0389.html"
---

# 函数：venc_set_frame_config_eos

| C函数原型 | aclError aclvencSetFrameConfigEos(aclvencFrameConfig \*config, uint8\_t eos) |
| --- | --- |
| Python函数 | ret = acl.media.venc\_set\_frame\_config\_eos(config, eos) |
| 函数功能 | 设置单帧编码配置参数。同步接口。 |
| 输入说明 | config：int，表示单帧编码配置数据。 eos：uint8\_t，是否为结束帧。 0：不是结束帧。 1：是结束帧。 |
| 返回值说明 | ret：int，错误码。 返回0表示成功。 返回其它值表示失败。 |
