Skip to content
This SDK only works with devices released within the past 3 years. We regularly optimize and update the SDK to ensure compatibility and performance. We do not guarantee compatibility or provide technical support for devices older than 3 years.

# DD_VIDEO_ENCODE_FORMAT

### Enum Definition

C++C#

    1
    2
    3
    4
    5
    6
    7
    8
    typedef enum _dd_video_encode_format_
    {
        DD_VIDEO_ENCODE_FORMAT_H264 = 0x0,
        DD_VIDEO_ENCODE_FORMAT_H265 = 0x01,
        DD_VIDEO_ENCODE_FORMAT_MJPEG = 0x02,
        DD_VIDEO_ENCODE_FORMAT_H264PLUS = 0x03,
        DD_VIDEO_ENCODE_FORMAT_H265PLUS = 0x04,
    } DD_VIDEO_ENCODE_FORMAT;

    1
    2
    3
    4
    5
    6
    7
    8
    public enum DD_VIDEO_ENCODE_FORMAT
    {
        DD_VIDEO_ENCODE_FORMAT_H264 = 0x0,
        DD_VIDEO_ENCODE_FORMAT_H265 = 0x01,
        DD_VIDEO_ENCODE_FORMAT_MJPEG = 0x02,
        DD_VIDEO_ENCODE_FORMAT_H264PLUS = 0x03,
        DD_VIDEO_ENCODE_FORMAT_H265PLUS = 0x04,
    }

### Function Description

Video encoding format.

### Member Description

Enum name | Value | Remark
--- | --- | ---
DD_VIDEO_ENCODE_FORMAT_H264 | 0x0 | H264
DD_VIDEO_ENCODE_FORMAT_H265 | 0x01 | H265
DD_VIDEO_ENCODE_FORMAT_MJPEG | 0x02 | MJPEG
DD_VIDEO_ENCODE_FORMAT_H264PLUS | 0x03 | H264+
DD_VIDEO_ENCODE_FORMAT_H265PLUS | 0x04 | H265+

Error Code