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