# svtav1enc

Scalable Video Technology for AV1 Encoder (SVT-AV1 Encoder)

## Hierarchy

    GObject
        ╰──GInitiallyUnowned
            ╰──GstObject
                ╰──GstElement
                    ╰──GstVideoEncoder
                        ╰──svtav1enc

## Implemented interfaces

    GstPreset

## Factory details

Authors: – Jun Tian <jun.tian@intel.com> Xavier Hallade <xavier.hallade@intel.com></xavier.hallade@intel.com></jun.tian@intel.com>

Classification: – `Codec/Encoder/Video`

Rank – secondary

Plugin – svtav1

Package – GStreamer Bad Plug-ins

## Pad Templates

### `sink`

    video/x-raw:
             format: { I420, I420_10LE }
              width: [ 64, 16384 ]
             height: [ 64, 8704 ]
          framerate: [ 0/1, 2147483647/1 ]

Presence – always

Direction – sink

Object type – GstPad

### `src`

    video/x-av1:
      stream-format: obu-stream
          alignment: tu
              width: [ 64, 16384 ]
             height: [ 64, 8704 ]
          framerate: [ 0/1, 2147483647/1 ]

Presence – always

Direction – src

Object type – GstPad

## Properties

### cqp

    “cqp” gint

Quantization parameter used in CQP mode (-1 is disabled)

Flags : Read / Write

Default value : -1

### crf

    “crf” gint

Quantization parameter used in CRF mode (-1 is disabled)

Flags : Read / Write

Default value : 35

### intra-period-length

    “intra-period-length” gint

Period of Intra Frames insertion (-2 is auto, -1 no updates)

Flags : Read / Write

Default value : -2

### intra-refresh-type

    “intra-refresh-type” GstSvtAv1EncIntraRefreshType *

CRA (open GOP)or IDR frames (closed GOP)

Flags : Read / Write

Default value : IDR (2)

### logical-processors

    “logical-processors” guint

Number of logical CPU cores to be used. Deprecated and replaced with level-of-parallelism in SVT-AV1 3.0.0. 0: auto

Flags : Read / Write

Default value : 0

### max-bitrate

    “max-bitrate” guint

Maximum bitrate in kbits/sec. Enables VBR mode if a different target-bitrate is provided

Flags : Read / Write

Default value : 0

### max-qp-allowed

    “max-qp-allowed” guint

Maximum QP value allowed for rate control use Only used in CBR and VBR mode.

Flags : Read / Write

Default value : 63

### maximum-buffer-size

    “maximum-buffer-size” guint

Maximum buffer size in milliseconds. Only used in CBR mode.

Flags : Read / Write

Default value : 1000

### min-qp-allowed

    “min-qp-allowed” guint

Minimum QP value allowed for rate control use Only used in CBR and VBR mode.

Flags : Read / Write

Default value : 1

### parameters-string

    “parameters-string” gchararray

Colon-delimited list of key=value pairs of additional parameters to set

Flags : Read / Write

Default value : NULL

### preset

    “preset” guint

Quality vs density tradeoff point that the encoding is to be performed at (0 is the highest quality, 13 is the highest speed)

Flags : Read / Write

Default value : 10

### target-bitrate

    “target-bitrate” guint

Target bitrate in kbits/sec. Enables CBR or VBR mode

Flags : Read / Write

Default value : 0

### target-socket

    “target-socket” gint

Target CPU socket to run on. -1: all available

Flags : Read / Write

Default value : -1

## Named constants

### GstSvtAv1EncIntraRefreshType

#### Members

`CRA` (1) – Open GOP
`IDR` (2) – Closed GOP

The results of the search are