Skip to main content

Module encode

Module encode 

Source
Expand description

Video encoding — stitches rendered frame PNGs into a video file via FFmpeg.

Structs§

EncodeConfig
Configuration for the encoding step.

Functions§

build_ffmpeg_args
Constructs FFmpeg CLI argument list from an EncodeConfig.
cleanup_frames
Remove temporary frame directory and its contents.
encode_frames
Encode rendered frames into a video file using FFmpeg.
encode_mp4
Encode rendered PNG frames into an MP4 video file using FFmpeg.