Skip to main content

Module basic_generation

Module basic_generation 

Source
Expand description

Example: Basic proxy generation.

use oximedia_proxy::{ProxyGenerator, ProxyPreset};

let generator = ProxyGenerator::new();

// Generate a quarter-resolution proxy
generator
    .generate("input.mov", "proxy.mp4", ProxyPreset::QuarterResH264)
    .await?;

Functionsยง

generate_custom_proxy
Generate a proxy with custom settings.
generate_simple_proxy
Generate a single proxy with default settings.