---
title: hi_venc_chn_param
description: 定义Venc通道参数字典。
url: "https://www.hiascend.com/document/detail/zh/Atlas200IDKA2DeveloperKit/23.0.RC2/Application%20Development%20Guide/aadgp/aclpythondevg_01_0650.html"
---

# hi_venc_chn_param

#### 说明

定义Venc通道参数字典。


#### 定义

```
hi_venc_chn_param = {"color_to_grey_en": color_to_grey_en,
"priority": priority,
"max_stream_cnt": max_stream_cnt,
"poll_wake_up_frame_cnt": poll_wake_up_frame_cnt,
"crop_info":
hi_crop_info
,
"frame_rate":
hi_frame_rate_ctrl
}
```


#### 成员

| 成员名称 | 描述 |
| --- | --- |
| color\_to\_grey\_en | 整型，开启或关闭一个通道的彩转灰功能。 |
| priority | 整型，编码通道优先级参数，默认为0，数字越大优先级越高。 取值范围：[0, 2)。 |
| max\_stream\_cnt | 整型，最大码流缓存帧数，暂不支持。 |
| poll\_wake\_up\_frame\_cnt | 整型，当通道使用超时或阻塞获取码流，编码指定的帧poll\_wake\_up\_frame\_cnt 之后唤醒阻塞接口，暂不支持。 取值范围：大于0 默认值：1 |
| crop\_info | 字典，预留参数，暂不支持。 |
| frame\_rate | 字典，通道帧率控制参数，暂不支持。 |
