Skip to main content

transcode_file

Function transcode_file 

Source
pub fn transcode_file(
    input: impl AsRef<Path>,
    output: impl AsRef<Path>,
) -> Result<TranscodeOutcome>
Expand description

Read input, transcode to AV1/MP4, and write the result to output.

Returns the TranscodeOutcome; outcome.output_bytes also holds the bytes that were written to disk.