ez-ffmpeg 0.11.0

A safe and ergonomic Rust interface for FFmpeg integration, designed for ease of use.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# detect_streaming

The streaming, lower-level side of the analysis API: attach a
`MetadataEventFilter` to an output frame pipeline and receive `MetadataEvent`s
live on a channel *while the transcode runs* — as opposed to the one-shot
`Analysis` runner in the `media_analysis` example, which decodes once and
returns a folded report.

```bash
cargo run --example detect_streaming
```

Expects a `test.mp4`; writes `output.mp4` and prints each black-frame start as
it is detected. Drain the channel on a separate thread: the filter's default
backpressure policy aborts the run if the sink stalls.