pub fn spawn_stderr_thread(
stderr: ChildStderr,
tx: SyncSender<FfmpegEvent>,
) -> JoinHandle<()>
Expand description
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.