msdkh264enc
H264 video encoder based on Intel MFX
Example launch line
gst-launch-1.0 videotestsrc num-buffers=90 ! msdkh264enc ! h264parse ! filesink location=output.h264
Hierarchy
GObject ╰──GInitiallyUnowned ╰──GstObject ╰──GstElement ╰──GstVideoEncoder ╰──GstMsdkEnc ╰──msdkh264enc
Factory details
Authors: – Josep Torra
Classification: – Codec/Encoder/Video/Hardware
Rank – none
Plugin – msdk
Package – GStreamer Bad Plug-ins
Pad Templates
sink
video/x-raw
format: { NV12, YUY2, UYVY, BGRA }
width: [ 1, 2147483647 ]
height: [ 1, 2147483647 ]
framerate: [ 0/1, 2147483647/1 ]
interlace-mode: progressive
video/x-raw(memory:DMABuf)
format: NV12
width: [ 1, 2147483647 ]
height: [ 1, 2147483647 ]
framerate: [ 0/1, 2147483647/1 ]
interlace-mode: progressive
src
video/x-h264
framerate: [ 0/1, 2147483647/1 ]
width: [ 1, 2147483647 ]
height: [ 1, 2147483647 ]
stream-format: byte-stream
alignment: au
profile: { (string)high, (string)main, (string)baseline, (string)constrained-baseline }
Properties
b-pyramid
“b-pyramid” gboolean
Enable B-Pyramid Reference structure
Flags : Read / Write
Default value : false
frame-packing
“frame-packing” Msdk-h264enc-frame-packing *
Set frame packing mode for Stereoscopic content
Flags : Read / Write
Default value : none (-1)
intra-refresh-type
“intra-refresh-type” GstMsdkEncIntraRefreshType *
Set intra refresh type
Flags : Read / Write
Default value : no (0)
low-power
“low-power” gboolean
Enable low power mode (DEPRECATED, use tune instead)
Flags : Read / Write
Default value : false
max-qp
“max-qp” guint
Maximum quantizer scale for I/P/B frames
Flags : Read / Write
Default value : 0
max-slice-size
“max-slice-size” guint
Maximum slice size in bytes (if enabled MSDK will ignore the control over num-slices)
Flags : Read / Write
Default value : 0
min-qp
“min-qp” guint
Minimal quantizer scale for I/P/B frames
Flags : Read / Write
Default value : 0
p-pyramid
“p-pyramid” gboolean
Enable P-Pyramid Reference structure
Flags : Read / Write
Default value : false
rc-lookahead-ds
“rc-lookahead-ds” Msdk-enc-rclook-ahead-downsampling *
Down sampling mode in look ahead bitrate control
Flags : Read / Write
Default value : default (0)
trellis
“trellis” Msdk-enc-trellis-quantization *
Enable Trellis Quantization
Flags : Read / Write
Default value : None (0x00000000)
tune
“tune” GstMsdkEncTuneMode *
Encoder tuning option
Flags : Read / Write
Default value : auto (0)
Named constants
Msdk-enc-rclook-ahead-downsampling
Members
default
(0) – SDK desides what to do
off
(1) – No downsampling
2x
(2) – Down sample 2-times before estimation
4x
(3) – Down sample 4-times before estimation
Msdk-enc-trellis-quantization
Members
None
(0x00000000) – Disable for all frames
i
(0x00000002) – Enable for I frames
p
(0x00000004) – Enable for P frames
b
(0x00000008) – Enable for B frames
Msdk-h264enc-frame-packing
Members
none
(-1) – None (default)
side-by-side
(3) – Side by Side
top-bottom
(7) – Top Bottom
The results of the search are