# qsvav1enc

Intel Quick Sync AV1 encoder

## Example launch line

    gst-launch-1.0 videotestsrc ! qsvav1enc ! av1parse ! matroskamux ! filesink location=out.mkv

## Hierarchy

    GObject
        ╰──GInitiallyUnowned
            ╰──GstObject
                ╰──GstElement
                    ╰──GstVideoEncoder
                        ╰──GstQsvEncoder
                            ╰──qsvav1enc

## Implemented interfaces

    GstPreset

## Factory details

Authors: – Seungha Yang

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

Rank – primary

Plugin – qsv

Package – GStreamer Bad Plug-ins

## Pad Templates

### `sink`

    video/x-raw(memory:D3D11Memory):
             format: { NV12, P010_10LE }
              width: [ 16, 8192 ]
             height: [ 16, 8192 ]

    video/x-raw(memory:D3D12Memory):
             format: { NV12, P010_10LE }
              width: [ 16, 8192 ]
             height: [ 16, 8192 ]

    video/x-raw(memory:VAMemory):
             format: { NV12, P010_10LE }
              width: [ 16, 8192 ]
             height: [ 16, 8192 ]
    video/x-raw:
             format: { NV12, P010_10LE }
              width: [ 16, 8192 ]
             height: [ 16, 8192 ]

Presence – always

Direction – sink

Object type – GstPad

### `src`

    video/x-av1:
              width: [ 16, 8192 ]
             height: [ 16, 8192 ]
      stream-format: obu-stream
          alignment: tu

Presence – always

Direction – src

Object type – GstPad

## Properties

### bitrate

    “bitrate” guint

Target bitrate in kbit/sec, Ignored when selected rate-control mode is constant QP variants (i.e., "cqp" and "icq")

Flags : Read / Write

Default value : 2000

### gop-size

    “gop-size” guint

Number of pictures within a GOP (0: unspecified)

Flags : Read / Write

Default value : 0

### max-bitrate

    “max-bitrate” guint

Maximum bitrate in kbit/sec, Ignored when selected rate-control mode is constant QP variants (i.e., "cqp" and "icq")

Flags : Read / Write

Default value : 0

### qp-i

    “qp-i” guint

Constant quantizer for I frames (0: default)

Flags : Read / Write

Default value : 0

### qp-p

    “qp-p” guint

Constant quantizer for P frames (0: default)

Flags : Read / Write

Default value : 0

### rate-control

    “rate-control” Qsv-av1enc-rate-control *

Rate Control Method

Flags : Read / Write

Default value : vbr (2)

### ref-frames

    “ref-frames” guint

Number of reference frames (0: unspecified)

Flags : Read / Write

Default value : 1

## Named constants

### Qsv-av1enc-rate-control

#### Members

`cbr` (1) – Constant Bitrate
`vbr` (2) – Variable Bitrate
`cqp` (3) – Constant Quantizer

Since : 1.22

The results of the search are