docs.rs failed to build ff-stream-0.7.1
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Visit the last successful build:
ff-stream-0.7.3
ff-stream
Produce HLS and DASH adaptive bitrate output from any video source. Define a rendition ladder, point it at an input file, and receive a standards-compliant package ready for CDN delivery.
Installation
[]
= "0.6"
HLS Output
use ;
let ladder = new
.rendition
.rendition
.rendition
.rendition;
let output = new;
output.run?;
// Writes hls_output/master.m3u8 and per-rendition segment directories.
DASH Output
use ;
let ladder = new
.rendition
.rendition;
let output = new;
output.run?;
// Writes dash_output/manifest.mpd and per-rendition segment directories.
Rendition Ladder
AbrLadder defines the set of quality levels to produce. Each Rendition specifies the
output resolution and target bitrate. The ladder is shared by both HlsOutput and DashOutput.
| Field | Type | Description |
|---|---|---|
width |
u32 |
Output frame width in pixels |
height |
u32 |
Output frame height in pixels |
bitrate |
u64 |
Target video bitrate in bits per second |
Error Handling
| Variant | When it occurs |
|---|---|
StreamError::InvalidConfig |
Missing input, empty ladder, or conflicting options |
StreamError::Encode |
Wrapped EncodeError from a rendition encode stage |
StreamError::Io |
Write failure on the output directory |
MSRV
Rust 1.93.0 (edition 2024).
License
MIT OR Apache-2.0