Expand description
A stream of events from an FFmpeg process.
Structs§
- Ffmpeg
Iterator - An iterator over events from an ffmpeg process, including parsed metadata, progress, and raw video frames.
Functions§
- spawn_
stderr_ thread - Spawn a thread which reads and parses lines from ffmpeg’s stderr channel.
The cadence is controlled by the synchronous
txchannel, which blocks until a receiver is ready to receive the next event. - spawn_
stdout_ thread - Spawn a thread to read raw output frames from ffmpeg’s stdout.