---
title: VencStopEncoder
description: "停止视频编码器，但不销毁编码器资源。"
url: https://www.hikunpeng.com/document/detail/zh/kunpengcps/boostcph/instrucstreamengine/kunpengcpsinstruction_17_0023.html
sourcePath: /source/zh/kunpengcps/boostcph/instrucstreamengine/kunpengcpsinstruction_17_0023.html
indexId: b924be38fc7fde3bb23aa58181162002d054a9d795910d671af2c52070745fe185
---
# VencStopEncoder

#### 函数功能

停止视频编码器，但不销毁编码器资源。


#### 函数原型

EncoderRetCode VencStopEncoder(uint32_t encHandle)


#### 参数说明

| 参数名称 | 输入/输出 | 参数类型 | 参数描述 |
| --- | --- | --- | --- |
| encHandle | 输入 | uint32\_t | 编码器对象句柄，用于唯一标识一个编码器实例。 |


#### 返回值说明

EncoderRetCode取值如下：

- VIDEO_ENCODER_SUCCESS：停止编码器成功。
- VIDEO_ENCODER_STOP_FAIL：停止编码器失败。
