vaapivp9enc

vaapivp9enc — A VA-API based VP9 video encoder

Properties

guint bitrate Read / Write
guint keyframe-period Read / Write
guint loop-filter-level Read / Write
GstVaapiRateControlVP9 rate-control Read / Write
GstVaapiEncoderVP9RefPicMode ref-pic-mode Read / Write
guint sharpness-level Read / Write
GstVaapiEncoderTuneVP9 tune Read / Write
guint yac-qi Read / Write

Description

Encodes raw video streams into VP9 bitstreams.

Example launch line

1
gst-launch-1.0 -ev videotestsrc num-buffers=60 ! timeoverlay ! vaapivp9enc ! matroskamux ! filesink location=test.mkv

Functions

Types and Values

Property Details

The “bitrate” property

  “bitrate”                  guint

The desired bitrate expressed in kbps (0: auto-calculate).

Flags: Read / Write

Allowed values: <= 102400

Default value: 0


The “keyframe-period” property

  “keyframe-period”          guint

Maximal distance between two keyframes (0: auto-calculate).

Flags: Read / Write

Allowed values: [1,300]

Default value: 30


The “loop-filter-level” property

  “loop-filter-level”        guint

Controls the deblocking filter strength.

Flags: Read / Write

Allowed values: <= 63

Default value: 10


The “rate-control” property

  “rate-control”             GstVaapiRateControlVP9

Rate control mode.

Flags: Read / Write

Default value: Constant QP


The “ref-pic-mode” property

  “ref-pic-mode”             GstVaapiEncoderVP9RefPicMode

Reference Picture Selection Modes.

Flags: Read / Write

Default value: Use Keyframe(Alt & Gold) and Previousframe(Last) for prediction


The “sharpness-level” property

  “sharpness-level”          guint

Controls the deblocking filter sensitivity.

Flags: Read / Write

Allowed values: <= 7

Default value: 0


The “tune” property

  “tune”                     GstVaapiEncoderTuneVP9

Encoder tuning option.

Flags: Read / Write

Default value: None


The “yac-qi” property

  “yac-qi”                   guint

Quantization Table index for Luma AC Coefficients.

Flags: Read / Write

Allowed values: <= 255

Default value: 60