ffmpeg_sidecar

Module iter

Source
Expand description

A stream of events from an FFmpeg process.

Structs§

  • An iterator over events from an ffmpeg process, including parsed metadata, progress, and raw video frames.

Functions§

  • Spawn a thread which reads and parses lines from ffmpeg’s stderr channel. The cadence is controlled by the synchronous tx channel, which blocks until a receiver is ready to receive the next event.
  • Spawn a thread to read raw output frames from ffmpeg’s stdout.