[][src]Function shepherd::run

pub fn run(
    input: impl AsRef<Path>,
    output: impl AsRef<Path>,
    hosts: Vec<&str>,
    seconds: Option<&str>,
    tmp_dir: Option<&str>,
    keep: bool
) -> Result<()>

Starts the whole operation and cleans up afterwards.

Arguments

  • input - The path to the input file.
  • output - The path to the output file.
  • hosts - Comma-separated list of hosts.
  • seconds - The video chunk length.
  • tmp_dir - The path to the local temporary directory.
  • keep - Whether to keep temporary files on hosts (no cleanup).