## vp8enc vp8enc — Encode VP8 video streams |

## Synopsis

    struct              GstVP8Enc;

## Object Hierarchy

      GObject
       +----GstObject
             +----GstElement
                   +----GstBaseVideoCodec
                         +----GstBaseVideoEncoder
                               +----GstVP8Enc

## Implemented Interfaces

GstVP8Enc implements GstTagSetter and GstPreset.

## Properties

      "bitrate"                  gint                  : Read / Write
      "error-resilient"          gboolean              : Read / Write
      "max-keyframe-distance"    gint                  : Read / Write
      "max-latency"              gint                  : Read / Write
      "mode"                     GstVP8EncMode         : Read / Write
      "quality"                  gdouble               : Read / Write
      "speed"                    gint                  : Read / Write
      "threads"                  gint                  : Read / Write
      "multipass-cache-file"     gchar*                : Read / Write
      "multipass-mode"           GstVP8EncMultipassMode  : Read / Write
      "auto-alt-ref-frames"      gboolean              : Read / Write
      "max-quantizer"            gint                  : Read / Write
      "min-quantizer"            gint                  : Read / Write
      "drop-frame"               gint                  : Read / Write
      "lag-in-frames"            guint                 : Read / Write
      "maxsection-pct"           guint                 : Read / Write
      "minsection-pct"           guint                 : Read / Write
      "noise-sensitivity"        gint                  : Read / Write
      "resize-allowed"           gboolean              : Read / Write
      "sharpness"                gint                  : Read / Write
      "static-threshold"         gint                  : Read / Write
      "token-parts"              gint                  : Read / Write
      "tune"                     GstVP8EncTune         : Read / Write

## Description

## Synopsis

### Element Information

plugin | vp8
author | David Schleef <ds@entropywave.com>
class | Codec/Encoder/Video

### Element Pads

name | sink
direction | sink
presence | always
details | video/x-raw-yuv, format=(fourcc)I420, width=(int)[ 1, 2147483647 ], height=(int)[ 1, 2147483647 ], framerate=(fraction)[ 0/1, 2147483647/1 ]

name | src
direction | source
presence | always
details | video/x-vp8

## Details

### struct GstVP8Enc

    struct GstVP8Enc;

## Property Details

### The `"bitrate"` property

      "bitrate"                  gint                  : Read / Write

Bit rate (in bits/sec).

Allowed values: [0,1000000000]

Default value: 0

### The `"error-resilient"` property

      "error-resilient"          gboolean              : Read / Write

Encode streams that are error resilient.

Default value: FALSE

### The `"max-keyframe-distance"` property

      "max-keyframe-distance"    gint                  : Read / Write

Maximum distance between key frames.

Allowed values: [0,9999]

Default value: 60

### The `"max-latency"` property

      "max-latency"              gint                  : Read / Write

Number of frames in encoder queue.

Allowed values: [0,25]

Default value: 10

### The `"mode"` property

      "mode"                     GstVP8EncMode         : Read / Write

Mode.

Default value: Variable Bit Rate (VBR) mode

### The `"quality"` property

      "quality"                  gdouble               : Read / Write

Quality. This parameter sets a constant quantizer.

Allowed values: [0,10]

Default value: 5

### The `"speed"` property

      "speed"                    gint                  : Read / Write

Speed.

Allowed values: [0,7]

Default value: 0

### The `"threads"` property

      "threads"                  gint                  : Read / Write

Threads.

Allowed values: [1,64]

Default value: 1

### The `"multipass-cache-file"` property

      "multipass-cache-file"     gchar*                : Read / Write

Multipass cache file.

Default value: "multipass.cache"

### The `"multipass-mode"` property

      "multipass-mode"           GstVP8EncMultipassMode  : Read / Write

Multipass encode mode.

Default value: One pass encoding (default)

### The `"auto-alt-ref-frames"` property

      "auto-alt-ref-frames"      gboolean              : Read / Write

Automatically create alternative reference frames.

Default value: FALSE

### The `"max-quantizer"` property

      "max-quantizer"            gint                  : Read / Write

Maximum (worst) quantizer.

Allowed values: [0,63]

Default value: 63

### The `"min-quantizer"` property

      "min-quantizer"            gint                  : Read / Write

Minimum (best) quantizer.

Allowed values: [0,63]

Default value: 0

### The `"drop-frame"` property

      "drop-frame"               gint                  : Read / Write

Drop Frame.

Allowed values: [0,100]

Default value: 0

### The `"lag-in-frames"` property

      "lag-in-frames"            guint                 : Read / Write

If set, this value allows the encoder to consume a number of input frames before producing output frames.

Allowed values: <= 64

Default value: 0

### The `"maxsection-pct"` property

      "maxsection-pct"           guint                 : Read / Write

The numbers represent a percentage of the average allocation per section (frame).

Allowed values: [200,800]

Default value: 800

### The `"minsection-pct"` property

      "minsection-pct"           guint                 : Read / Write

The numbers represent a percentage of the average allocation per section (frame).

Allowed values: <= 20

Default value: 5

### The `"noise-sensitivity"` property

      "noise-sensitivity"        gint                  : Read / Write

Noise Sensitivity.

Allowed values: [0,6]

Default value: 0

### The `"resize-allowed"` property

      "resize-allowed"           gboolean              : Read / Write

Resize Allowed.

Default value: TRUE

### The `"sharpness"` property

      "sharpness"                gint                  : Read / Write

Sharpness.

Allowed values: [0,7]

Default value: 0

### The `"static-threshold"` property

      "static-threshold"         gint                  : Read / Write

Static Threshold.

Allowed values: [0,1000]

Default value: 0

### The `"token-parts"` property

      "token-parts"              gint                  : Read / Write

Token Parts.

Allowed values: [0,3]

Default value: 0

### The `"tune"` property

      "tune"                     GstVP8EncTune         : Read / Write

Tune.

Default value: Tune for PSNR