input_with_dictionary

Function input_with_dictionary 

Source
pub fn input_with_dictionary<P: AsRef<Path> + ?Sized>(
    path: &P,
    options: Dictionary<'_>,
) -> Result<Input, Error>
Expand description

Opens a media file for reading with options dictionary.

Like input() but allows passing format-specific options (e.g., timeouts, buffer sizes, protocol options).

ยงParameters

  • path - Path to the media file
  • options - Dictionary of format/protocol options