ffmpeg_sidecar::iter

Function spawn_stdout_thread

Source
pub fn spawn_stdout_thread(
    stdout: ChildStdout,
    tx: SyncSender<FfmpegEvent>,
    output_streams: Vec<Stream>,
    outputs: Vec<FfmpegOutput>,
) -> JoinHandle<()>
Expand description

Spawn a thread to read raw output frames from ffmpeg’s stdout.