# msdkh265enc

H265 video encoder based on Intel MFX

## Example launch line

    gst-launch-1.0 videotestsrc num-buffers=90 ! msdkh265enc ! h265parse ! filesink location=output.h265

## Hierarchy

    GObject
        ╰──GInitiallyUnowned
            ╰──GstObject
                ╰──GstElement
                    ╰──GstVideoEncoder
                        ╰──GstMsdkEnc
                            ╰──msdkh265enc

## Factory details

Authors: – Josep Torra <jtorra@oblong.com></jtorra@oblong.com>

Classification: – `Codec/Encoder/Video/Hardware`

Rank – none

Plugin – msdk

Package – GStreamer Bad Plug-ins

## Pad Templates

### `sink`

    video/x-raw
            format: { NV12, YUY2, BGRA, BGR10A2_LE, P010_10LE, VUYA, Y410, Y210, P012_LE }
             width: [ 1, 2147483647 ]
            height: [ 1, 2147483647 ]
         framerate: [ 0/1, 2147483647/1 ]
    interlace-mode: progressive
    video/x-raw(memory:DMABuf)
            format: { NV12, P010_10LE }
             width: [ 1, 2147483647 ]
            height: [ 1, 2147483647 ]
         framerate: [ 0/1, 2147483647/1 ]
    interlace-mode: progressive

Presence – always

Direction – sink

Object type – GstPad

### `src`

    video/x-h265
         framerate: [ 0/1, 2147483647/1 ]
             width: [ 1, 2147483647 ]
            height: [ 1, 2147483647 ]
     stream-format: byte-stream
         alignment: au
           profile: { (string)main, (string)main-10, (string)main-444, (string)main-444-10, (string)main-422-10, (string)main-12, (string)screen-extended-main, (string)screen-extended-main-10, (string)screen-extended-main-444, (string)screen-extended-main-444-10 }

Presence – always

Direction – src

Object type – GstPad

## Properties

### b-pyramid

    “b-pyramid” gboolean

Enable B-Pyramid Reference structure

Flags : Read / Write

Default value : false

### dblk-idc

    “dblk-idc” guint

Option of disable deblocking idc

Flags : Read / Write

Default value : 0

### intra-refresh-type

    “intra-refresh-type” GstMsdkEncIntraRefreshType *

Set intra refresh type

Flags : Read / Write

Default value : no (0)

### low-power

    “low-power” gboolean

Enable low power mode (DEPRECATED, use tune instead)

Flags : Read / Write

Default value : false

### max-qp

    “max-qp” guint

Maximum quantizer scale for I/P/B frames

Flags : Read / Write

Default value : 0

### max-qp-b

    “max-qp-b” guint

Flags : Read / Write

Default value : 0

Since : 1.24

### max-qp-i

    “max-qp-i” guint

Flags : Read / Write

Default value : 0

Since : 1.24

### max-qp-p

    “max-qp-p” guint

Flags : Read / Write

Default value : 0

Since : 1.24

### max-slice-size

    “max-slice-size” guint

Maximum slice size in bytes (if enabled MSDK will ignore the control over num-slices)

Flags : Read / Write

Default value : 0

### min-qp

    “min-qp” guint

Minimal quantizer scale for I/P/B frames

Flags : Read / Write

Default value : 0

### min-qp-b

    “min-qp-b” guint

Flags : Read / Write

Default value : 0

Since : 1.24

### min-qp-i

    “min-qp-i” guint

Flags : Read / Write

Default value : 0

Since : 1.24

### min-qp-p

    “min-qp-p” guint

Flags : Read / Write

Default value : 0

Since : 1.24

### num-tile-cols

    “num-tile-cols” guint

number of columns for tiled encoding

Flags : Read / Write

Default value : 1

### num-tile-rows

    “num-tile-rows” guint

number of rows for tiled encoding

Flags : Read / Write

Default value : 1

### p-pyramid

    “p-pyramid” gboolean

Enable P-Pyramid Reference structure

Flags : Read / Write

Default value : false

### pic-timing-sei

    “pic-timing-sei” gboolean

Flags : Read / Write

Default value : true

Since : 1.24

### transform-skip

    “transform-skip” Msdk-enc-transform-skip *

Transform Skip option

Flags : Read / Write

Default value : auto (0)

### tune

    “tune” GstMsdkEncTuneMode *

Encoder tuning option

Flags : Read / Write

Default value : auto (0)

## Named constants

### GstMsdkEncIntraRefreshType

#### Members

`no` (0) – No (default)
`vertical` (1) – Vertical
`horizontal` (2) – Horizontal
`slice` (3) – Slice

### Msdk-enc-transform-skip

#### Members

`auto` (0) – SDK desides what to do
`off` (32) – transform_skip_enabled_flag will be set to 0 in PPS
`on` (16) – transform_skip_enabled_flag will be set to 1 in PPS

### GstMsdkEncTuneMode

#### Members

`auto` (0) – Auto
`none` (32) – None
`low-power` (16) – Low power mode

The results of the search are