pub(crate) trait OutputFormatExt {
// Required methods
fn encoding_params(&self) -> (&'static str, &'static str, &'static str);
fn extra_args(&self) -> &'static [&'static str];
fn has_alpha(&self) -> bool;
fn supports_eq_filter(&self) -> bool;
}Available on non-
target_family=wasm and crate feature render only.Expand description
Extension trait providing ffmpeg encoding parameters for OutputFormat.
Required Methods§
Sourcefn encoding_params(&self) -> (&'static str, &'static str, &'static str)
fn encoding_params(&self) -> (&'static str, &'static str, &'static str)
Returns (video_codec, pixel_format, file_extension).
Sourcefn extra_args(&self) -> &'static [&'static str]
fn extra_args(&self) -> &'static [&'static str]
Returns extra codec arguments for ffmpeg.
Sourcefn supports_eq_filter(&self) -> bool
fn supports_eq_filter(&self) -> bool
Whether the eq video filter is compatible with this format.