Trait gstreamer_video::prelude::VideoEncoderExt [−][src]
pub trait VideoEncoderExt: 'static {}Show methods
fn allocate_output_buffer(&self, size: usize) -> Result<Buffer, BoolError>; fn max_encode_time(&self, frame: &VideoCodecFrame<'_>) -> ClockTimeDiff; fn min_force_key_unit_interval(&self) -> Option<ClockTime>; fn is_qos_enabled(&self) -> bool; fn merge_tags(&self, tags: Option<&TagList>, mode: TagMergeMode); fn proxy_getcaps(&self, caps: Option<&Caps>, filter: Option<&Caps>) -> Caps; fn set_headers(&self, headers: &[&Buffer]); fn set_min_force_key_unit_interval(
&self,
interval: impl Into<Option<ClockTime>>
); fn set_min_pts(&self, min_pts: impl Into<Option<ClockTime>>); fn set_qos_enabled(&self, enabled: bool); fn is_qos(&self) -> bool; fn set_qos(&self, qos: bool); fn connect_min_force_key_unit_interval_notify<F: Fn(&Self) + Send + Sync + 'static>(
&self,
f: F
) -> SignalHandlerId; fn connect_qos_notify<F: Fn(&Self) + Send + Sync + 'static>(
&self,
f: F
) -> SignalHandlerId;
Required methods
fn max_encode_time(&self, frame: &VideoCodecFrame<'_>) -> ClockTimeDiff
fn max_encode_time(&self, frame: &VideoCodecFrame<'_>) -> ClockTimeDiff
This is supported on crate feature
v1_14
only.fn min_force_key_unit_interval(&self) -> Option<ClockTime>
fn min_force_key_unit_interval(&self) -> Option<ClockTime>
This is supported on crate feature
v1_18
only.fn is_qos_enabled(&self) -> bool
fn is_qos_enabled(&self) -> bool
This is supported on crate feature
v1_14
only.fn set_headers(&self, headers: &[&Buffer])
fn set_min_force_key_unit_interval(
&self,
interval: impl Into<Option<ClockTime>>
)
fn set_min_force_key_unit_interval(
&self,
interval: impl Into<Option<ClockTime>>
)
This is supported on crate feature
v1_18
only.fn set_min_pts(&self, min_pts: impl Into<Option<ClockTime>>)
fn set_qos_enabled(&self, enabled: bool)
fn set_qos_enabled(&self, enabled: bool)
This is supported on crate feature
v1_14
only.fn connect_min_force_key_unit_interval_notify<F: Fn(&Self) + Send + Sync + 'static>(
&self,
f: F
) -> SignalHandlerId
fn connect_min_force_key_unit_interval_notify<F: Fn(&Self) + Send + Sync + 'static>(
&self,
f: F
) -> SignalHandlerId
This is supported on crate feature
v1_18
only.fn connect_qos_notify<F: Fn(&Self) + Send + Sync + 'static>(
&self,
f: F
) -> SignalHandlerId