Struct ac_ffmpeg::format::muxer::OutputFormat
source · pub struct OutputFormat { /* private fields */ }
Expand description
FFmpeg output format.
Implementations§
source§impl OutputFormat
impl OutputFormat
sourcepub fn find_by_name(name: &str) -> Option<OutputFormat>
pub fn find_by_name(name: &str) -> Option<OutputFormat>
Try to find an output format by its name.
sourcepub fn find_by_mime_type(mime_type: &str) -> Option<OutputFormat>
pub fn find_by_mime_type(mime_type: &str) -> Option<OutputFormat>
Try to find an output format by the MIME type.
sourcepub fn guess_from_file_name(file_name: &str) -> Option<OutputFormat>
pub fn guess_from_file_name(file_name: &str) -> Option<OutputFormat>
Try to guess an output format from a file name.