nicetoolbox.utils.video.frames_to_video¶
- nicetoolbox.utils.video.frames_to_video(input_folder: str, out_filename: str, fps: float = 30.0, start_frame: int = 0) int[source]¶
Convert a folder of frames to a video using ffmpeg.
- Parameters:
input_folder (str) – Path to the folder containing the frames.
out_filename (str) – Path to the output video file.
fps (float, optional) – Frames per second of the output video. Defaults to 30.0.
- Returns:
Return code of the ffmpeg command.
- Return type:
int