vtenc_h264_hw
Apple VideoToolbox H264 HW-only encoder (only available on macOS at present).
Example pipeline
gst-launch-1.0 -v videotestsrc ! vtenc_h264_hw ! qtmux ! filesink location=out.mov
Encode a test video pattern and save it as an MOV file
Hierarchy
GObject ╰──GInitiallyUnowned ╰──GstObject ╰──GstElement ╰──GstVideoEncoder ╰──vtenc_h264_hw
Implemented interfaces
Factory details
Authors: – Ole André Vadla Ravnås
Classification: – Codec/Encoder/Video/Hardware
Rank – primary
Plugin – applemedia
Package – GStreamer Bad Plug-ins
Pad Templates
sink
video/x-raw:
format: { AYUV64, UYVY, NV12, I420, RGBA64_LE, ARGB64_BE }
width: [ 1, 2147483647 ]
height: [ 1, 2147483647 ]
framerate: [ 0/1, 2147483647/1 ]
src
video/x-h264:
width: [ 1, 2147483647 ]
height: [ 1, 2147483647 ]
framerate: [ 0/1, 2147483647/1 ]
interlace-mode: { (string)progressive, (string)interleaved }
stream-format: avc
alignment: au
Properties
allow-frame-reordering
“allow-frame-reordering” gboolean
Whether to allow frame reordering or not
Flags : Read / Write / Construct
Default value : true
bitrate
“bitrate” guint
Target video bitrate in kbps (0 = auto)
Flags : Read / Write / Construct
Default value : 0
max-keyframe-interval
“max-keyframe-interval” gint
Maximum number of frames between keyframes (0 = auto)
Flags : Read / Write / Construct
Default value : 0
max-keyframe-interval-duration
“max-keyframe-interval-duration” guint64
Maximum number of nanoseconds between keyframes (0 = no limit)
Flags : Read / Write / Construct
Default value : 0
quality
“quality” gdouble
The desired compression quality
Flags : Read / Write / Construct
Default value : 0.5
realtime
“realtime” gboolean
Configure the encoder for realtime output
Flags : Read / Write / Construct
Default value : false
The results of the search are