com.aliyun.svideosdk.common.struct.encoder

## Class EncoderInfo

- java.lang.Object
- - com.aliyun.svideosdk.common.struct.encoder.EncoderInfo

-     public class EncoderInfo
      extends java.lang.Object

  编码信息类

- - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `long` | `avgUseTime` 编码一张图像消耗时间，单位微秒
    `long` | `bitrateDiff` 编码码率误差
    `long` | `duration` 编码时长
    `long` | `encoderType` 编码器类型：0-软编码，1-硬编码
    `long` | `fps` 编码平均帧率
    `long` | `height` 视频高
    `long` | `keyframeDelay` 编码器强制关键帧的平均延迟，单位帧
    `long` | `maxCacheFrame` 编码器瞬时最大的缓存帧数
    `long` | `width` 视频宽

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `EncoderInfo()`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `java.lang.String` | `toString()`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- - ### Field Detail

    - #### encoderType

          public long encoderType

      编码器类型：0-软编码，1-硬编码

    - #### width

          public long width

      视频宽

    - #### height

          public long height

      视频高

    - #### duration

          public long duration

      编码时长

    - #### fps

          public long fps

      编码平均帧率

    - #### bitrateDiff

          public long bitrateDiff

      编码码率误差

    - #### keyframeDelay

          public long keyframeDelay

      编码器强制关键帧的平均延迟，单位帧

    - #### avgUseTime

          public long avgUseTime

      编码一张图像消耗时间，单位微秒

    - #### maxCacheFrame

          public long maxCacheFrame

      编码器瞬时最大的缓存帧数

  - ### Constructor Detail

    - #### EncoderInfo

          public EncoderInfo()

  - ### Method Detail

    - #### toString

          public java.lang.String toString()

      Overrides:
        `toString` in class `java.lang.Object`