Fehu_visualize.SinkSourceCreate a sink from a push callback and optional close action.
Stream frames to an ffmpeg process producing a video file.
Stream frames to ffmpeg configured for GIF output.
Capture frames, encode to MP4, and log to Weights & Biases via Python.
Push a single frame to the sink.
with_sink create f creates a sink via create, runs f, and guarantees the sink is closed afterwards.
Convenience wrapper around ffmpeg that automatically closes the sink.
Convenience wrapper around gif that automatically closes the sink.