[go: up one dir, main page]

Module iter

Module iter 

Source
Expand description

A stream of events from an FFmpeg process.

Structs§

FfmpegIterator
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 tx channel, 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.