Top |
gint | arnr-maxframes | Read / Write |
gint | arnr-strength | Read / Write |
gint | arnr-type | Read / Write |
gboolean | auto-alt-ref | Read / Write |
gint | buffer-initial-size | Read / Write |
gint | buffer-optimal-size | Read / Write |
gint | buffer-size | Read / Write |
gint | cpu-used | Read / Write |
gint | cq-level | Read / Write |
gint64 | deadline | Read / Write |
gint | dropframe-threshold | Read / Write |
GstVP8EncEndUsage | end-usage | Read / Write |
GstVP8EncErFlags | error-resilient | Read / Write |
gint | lag-in-frames | Read / Write |
gint | max-quantizer | Read / Write |
gint | min-quantizer | Read / Write |
gchar * | multipass-cache-file | Read / Write |
GstVP8EncMultipassMode | multipass-mode | Read / Write |
gint | noise-sensitivity | Read / Write |
gboolean | resize-allowed | Read / Write |
gint | resize-down-threshold | Read / Write |
gint | resize-up-threshold | Read / Write |
gint | sharpness | Read / Write |
gint | static-threshold | Read / Write |
gint | target-bitrate | Read / Write |
gint | threads | Read / Write |
GstVP8EncTokenPartitions | token-partitions | Read / Write |
GstVP8EncTuning | tuning | Read / Write |
GstVP8EncScalingMode | horizontal-scaling-mode | Read / Write |
gint | keyframe-max-dist | Read / Write |
GstVP8EncKfMode | keyframe-mode | Read / Write |
gint | max-intra-bitrate | Read / Write |
gint | overshoot | Read / Write |
GValueArray * | temporal-scalability-layer-id | Read / Write |
gint | temporal-scalability-number-layers | Read / Write |
gint | temporal-scalability-periodicity | Read / Write |
GValueArray * | temporal-scalability-rate-decimator | Read / Write |
GValueArray * | temporal-scalability-target-bitrate | Read / Write |
gint | twopass-vbr-bias | Read / Write |
gint | twopass-vbr-maxsection | Read / Write |
gint | twopass-vbr-minsection | Read / Write |
gint | undershoot | Read / Write |
GstVP8EncScalingMode | vertical-scaling-mode | Read / Write |
GstFraction | timebase | Read / Write |
GObject ╰── GInitiallyUnowned ╰── GstObject ╰── GstElement ╰── GstVideoEncoder ╰── GstVPXEnc ╰── GstVP8Enc
This element encodes raw video into a VP8 stream.
VP8 is a royalty-freevideo codec maintained by Google . It's the successor of On2 VP3, which was the base of the Theora video codec.
To control the quality of the encoding, the “target-bitrate”, “min-quantizer”, “max-quantizer” or “cq-level” properties can be used. Which one is used depends on the mode selected by the “end-usage” property. See Encoder Parameters for explanation, examples for useful encoding parameters and more details on the encoding parameters.
1 |
gst-launch-1.0 -v videotestsrc num-buffers=1000 ! vp8enc ! webmmux ! filesink location=videotestsrc.webm |
plugin |
vpx |
author |
David Schleef <ds@entropywave.com>, Sebastian Dröge <sebastian.droege@collabora.co.uk> |
class |
Codec/Encoder/Video |
“arnr-maxframes”
property “arnr-maxframes” gint
AltRef maximum number of frames.
Flags: Read / Write
Allowed values: [0,15]
Default value: 0
“arnr-strength”
property “arnr-strength” gint
AltRef strength.
Flags: Read / Write
Allowed values: [0,6]
Default value: 3
“arnr-type”
property “arnr-type” gint
AltRef type.
Flags: Read / Write
Allowed values: [1,3]
Default value: 3
“auto-alt-ref”
property “auto-alt-ref” gboolean
Automatically generate AltRef frames.
Flags: Read / Write
Default value: FALSE
“buffer-initial-size”
property “buffer-initial-size” gint
Initial client buffer size (ms).
Flags: Read / Write
Allowed values: >= 0
Default value: 4000
“buffer-optimal-size”
property “buffer-optimal-size” gint
Optimal client buffer size (ms).
Flags: Read / Write
Allowed values: >= 0
Default value: 5000
“buffer-size”
property “buffer-size” gint
Client buffer size (ms).
Flags: Read / Write
Allowed values: >= 0
Default value: 6000
“cpu-used”
property “cpu-used” gint
CPU used.
Flags: Read / Write
Allowed values: [-16,16]
Default value: 0
“cq-level”
property “cq-level” gint
Constrained quality level.
Flags: Read / Write
Allowed values: [0,63]
Default value: 10
“deadline”
property “deadline” gint64
Deadline per frame (usec, 0=disabled).
Flags: Read / Write
Allowed values: >= 0
Default value: 0
“dropframe-threshold”
property “dropframe-threshold” gint
Temporal resampling threshold (buf %).
Flags: Read / Write
Allowed values: [0,100]
Default value: 0
“end-usage”
property “end-usage” GstVP8EncEndUsage
Rate control mode.
Flags: Read / Write
Default value: Variable Bit Rate (VBR) mode
“error-resilient”
property “error-resilient” GstVP8EncErFlags
Error resilience flags.
Flags: Read / Write
“lag-in-frames”
property “lag-in-frames” gint
Maximum number of frames to lag.
Flags: Read / Write
Allowed values: [0,25]
Default value: 0
“max-quantizer”
property “max-quantizer” gint
Maximum Quantizer (worst).
Flags: Read / Write
Allowed values: [0,63]
Default value: 63
“min-quantizer”
property “min-quantizer” gint
Minimum Quantizer (best).
Flags: Read / Write
Allowed values: [0,63]
Default value: 4
“multipass-cache-file”
property “multipass-cache-file” gchar *
Multipass cache file. If stream caps reinited, multiple files will be created: file, file.1, file.2, ... and so on.
Flags: Read / Write
Default value: "multipass.cache"
“multipass-mode”
property “multipass-mode” GstVP8EncMultipassMode
Multipass encode mode.
Flags: Read / Write
Default value: One pass encoding (default)
“noise-sensitivity”
property “noise-sensitivity” gint
Noise sensisivity (frames to blur).
Flags: Read / Write
Allowed values: [0,6]
Default value: 0
“resize-allowed”
property “resize-allowed” gboolean
Allow spatial resampling.
Flags: Read / Write
Default value: FALSE
“resize-down-threshold”
property “resize-down-threshold” gint
Downscale threshold (buf %).
Flags: Read / Write
Allowed values: [0,100]
Default value: 60
“resize-up-threshold”
property “resize-up-threshold” gint
Upscale threshold (buf %).
Flags: Read / Write
Allowed values: [0,100]
Default value: 30
“sharpness”
property “sharpness” gint
Filter sharpness.
Flags: Read / Write
Allowed values: [0,7]
Default value: 0
“static-threshold”
property “static-threshold” gint
Motion detection threshold.
Flags: Read / Write
Allowed values: >= 0
Default value: 0
“target-bitrate”
property “target-bitrate” gint
Target bitrate (in bits/sec).
Flags: Read / Write
Allowed values: >= 0
Default value: 256000
“threads”
property “threads” gint
Number of threads to use.
Flags: Read / Write
Allowed values: [0,64]
Default value: 0
“token-partitions”
property “token-partitions” GstVP8EncTokenPartitions
Number of token partitions.
Flags: Read / Write
Default value: One token partition
“tuning”
property “tuning” GstVP8EncTuning
Tuning.
Flags: Read / Write
Default value: Tune for PSNR
“horizontal-scaling-mode”
property “horizontal-scaling-mode” GstVP8EncScalingMode
Horizontal scaling mode.
Flags: Read / Write
Default value: Normal
“keyframe-max-dist”
property “keyframe-max-dist” gint
Maximum distance between keyframes (number of frames).
Flags: Read / Write
Allowed values: >= 0
Default value: 128
“keyframe-mode”
property “keyframe-mode” GstVP8EncKfMode
Keyframe placement.
Flags: Read / Write
Default value: Determine optimal placement automatically
“max-intra-bitrate”
property “max-intra-bitrate” gint
Maximum Intra frame bitrate.
Flags: Read / Write
Allowed values: >= 0
Default value: 0
“overshoot”
property “overshoot” gint
Datarate overshoot (max) target (%).
Flags: Read / Write
Allowed values: [0,1000]
Default value: 100
“temporal-scalability-layer-id”
property “temporal-scalability-layer-id” GValueArray *
Sequence defining coding layer membership.
Flags: Read / Write
“temporal-scalability-number-layers”
property “temporal-scalability-number-layers” gint
Number of coding layers to use.
Flags: Read / Write
Allowed values: [1,5]
Default value: 1
“temporal-scalability-periodicity”
property “temporal-scalability-periodicity” gint
Length of sequence that defines layer membership periodicity.
Flags: Read / Write
Allowed values: [0,16]
Default value: 0
“temporal-scalability-rate-decimator”
property “temporal-scalability-rate-decimator” GValueArray *
Rate decimation factors for each layer.
Flags: Read / Write
“temporal-scalability-target-bitrate”
property “temporal-scalability-target-bitrate” GValueArray *
Target bitrates for coding layers (one per layer, decreasing).
Flags: Read / Write
“twopass-vbr-bias”
property “twopass-vbr-bias” gint
CBR/VBR bias (0=CBR, 100=VBR).
Flags: Read / Write
Allowed values: [0,100]
Default value: 50
“twopass-vbr-maxsection”
property “twopass-vbr-maxsection” gint
GOP maximum bitrate (% target).
Flags: Read / Write
Allowed values: >= 0
Default value: 0
“twopass-vbr-minsection”
property “twopass-vbr-minsection” gint
GOP minimum bitrate (% target).
Flags: Read / Write
Allowed values: >= 0
Default value: 0
“undershoot”
property “undershoot” gint
Datarate undershoot (min) target (%).
Flags: Read / Write
Allowed values: [0,1000]
Default value: 100
“vertical-scaling-mode”
property “vertical-scaling-mode” GstVP8EncScalingMode
Vertical scaling mode.
Flags: Read / Write
Default value: Normal