irtk.io.write_video¶
- irtk.io.write_video(video_path: str, frames: list, fps: int = 20, kwargs: dict = {}) None ¶
Writes a video from a sequence of frames.
- Parameters:
video_path – The path to the video file.
frames – A list of frames.
fps – The frames per second.
kwargs – Additional keyword arguments for the video writer.