pub struct PackageOptions {
pub out_dir: PathBuf,
pub segment_duration: f64,
pub dash: bool,
pub hls: bool,
pub encryption: Option<EncryptionSpec>,
}Expand description
Options controlling a package run.
Fields§
§out_dir: PathBufDirectory to write segments and manifests into (created if missing).
segment_duration: f64Target segment duration in seconds (segments cut on keyframes).
dash: boolEmit a DASH manifest (manifest.mpd).
hls: boolEmit HLS playlists (master.m3u8 + per-track media playlists).
encryption: Option<EncryptionSpec>Content encryption; None produces clear output.
Trait Implementations§
Source§impl Clone for PackageOptions
impl Clone for PackageOptions
Source§fn clone(&self) -> PackageOptions
fn clone(&self) -> PackageOptions
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for PackageOptions
impl Debug for PackageOptions
Auto Trait Implementations§
impl Freeze for PackageOptions
impl RefUnwindSafe for PackageOptions
impl Send for PackageOptions
impl Sync for PackageOptions
impl Unpin for PackageOptions
impl UnsafeUnpin for PackageOptions
impl UnwindSafe for PackageOptions
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more