GstH264Encoder
GObject ╰──GInitiallyUnowned ╰──GstObject ╰──GstElement ╰──GstVideoEncoder ╰──GstH264Encoder
Opaque GstH264Encoder data structure.
Since : 1.28
Properties
b-frames
“b-frames” guint
Maximum number of consecutive B-Frames. B-Frames refer to both, the previous and the following I-Frame (or P-Frame). This way B-Frames can compress even more efficient that P-Frames.
The availability of B-frames depends on the driver.
Flags : Read / Write / Construct
Default value : 0
Since : 1.28
b-pyramid
“b-pyramid” gboolean
Enable the b-pyramid reference structure in GOP. It allows to make references non-linearly in order to improve bitrate usage and quality. This way B-Frames can refer to B-Frames.
It only works with "high" profile.
Flags : Read / Write / Construct
Default value : false
Since : 1.28
i-frames
“i-frames” guint
Force the number of i-frames insertion within one GOP. More I-Frames will increase the size of the video, but it will be more resilient to data lose.
Flags : Read / Write / Construct
Default value : 0
Since : 1.28
idr-period
“idr-period” guint
Maximum number of frames between two IDR frames. A higher value will result in a lager IDR frame interval and thus slowdown seeking; a lower value will result in a shorter IDR frame interval and thus improve seeking. As a rule of thumb, the IDR period shouldn't be lower than the framerate of the video multiplied by a factor between the range 1..10
Set 0 for auto-calculate it.
Flags : Read / Write / Construct
Default value : 0
Since : 1.28
num-ref-frames
“num-ref-frames” gint
The number of frames can be referenced by P-Frames and B-Frames. Higher values will usually result in a more efficient compression, which means better visual quality at the same file size, but it may require encoding time.
Flags : Read / Write / Construct
Default value : 3
Since : 1.28
The results of the search are