# mfvp9enc

This element encodes raw video into VP9 compressed data.

## Example pipelines

     gst-launch-1.0 -v videotestsrc ! mfvp9enc ! matroskamux ! filesink location=videotestsrc.mkv

This example pipeline will encode a test video source to VP9 using Media Foundation encoder, and muxes it in a mkv container.

## Hierarchy

    GObject
        ╰──GInitiallyUnowned
            ╰──GstObject
                ╰──GstElement
                    ╰──GstVideoEncoder
                        ╰──GstMFVideoEncoder
                            ╰──mfvp9enc

## Implemented interfaces

    GstPreset

## Factory details

Authors: – Seungha Yang <seungha></seungha>

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

Rank – secondary

Plugin – mediafoundation

Package – GStreamer Bad Plug-ins

## Pad Templates

### `sink`

    video/x-raw(memory:D3D11Memory):
             format: NV12
              width: [ 64, 8192 ]
             height: [ 64, 8192 ]
    video/x-raw:
             format: NV12
              width: [ 64, 8192 ]
             height: [ 64, 8192 ]

Presence – always

Direction – sink

Object type – GstPad

### `src`

    video/x-vp9:
              width: [ 64, 8192 ]
             height: [ 64, 8192 ]

Presence – always

Direction – src

Object type – GstPad

## Properties

### adapter-luid

    “adapter-luid” gint64

DXGI Adapter LUID for this elemenet

Flags : Read

Default value : 0

Since : 1.20

### bitrate

    “bitrate” guint

Bitrate in kbit/sec

Flags : Read / Write

Default value : 2048

### d3d11-aware

    “d3d11-aware” gboolean

Whether element supports Direct3D11 texture as an input or not

Flags : Read

Default value : true

Since : 1.20

### gop-size

    “gop-size” gint

Flags : Read / Write

Default value : -1

Since : 1.18

### low-latency

    “low-latency” gboolean

Flags : Read / Write

Default value : false

Since : 1.18

### max-bitrate

    “max-bitrate” guint

Flags : Read / Write

Default value : 0

Since : 1.18

### rc-mode

    “rc-mode” Mfvp9enc-rcmode *

Flags : Read / Write

Default value : cbr (0)

Since : 1.18

## Named constants

### Mfvp9enc-rcmode

#### Members

`cbr` (0) – Constant bitrate
`qvbr` (1) – Quality-based variable bitrate

Since : 1.22

The results of the search are