1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
//! HLS (HTTP Live Streaming) packaging.
//!
//! This module provides comprehensive HLS packaging support including:
//!
//! - Master playlist generation (multi-variant)
//! - Media playlist generation (per-variant)
//! - TS and fMP4 segment formats
//! - Variant stream management
//! - Encryption support (AES-128, SAMPLE-AES)
//! - Live and VOD packaging
//!
//! # Example
//!
//! ```ignore
//! use oximedia_packager::hls::{HlsPackager, HlsPackagerBuilder};
//! use std::time::Duration;
//!
//! # async fn example() -> Result<(), Box<dyn std::error::Error>> {
//! // Create HLS packager
//! let mut packager = HlsPackagerBuilder::new()
//! .with_segment_duration(Duration::from_secs(6))
//! .with_output_directory("output/hls".into())
//! .build()?;
//!
//! // Package video to HLS
//! packager.package("input.mkv").await?;
//! # Ok(())
//! # }
//! ```
pub use ;
pub use ;
pub use ;