Opentoonz Render Video
opentoonz_render_videoRender a scene to an MP4 video by muxing frames with ffmpeg, optionally adding AAC audio, and setting CRF/scale for quality and size.
Instructions
Render a scene and mux the frames into an MP4 with ffmpeg.
audio (optional) is a path to an external soundtrack (mp3, wav, ...). It is encoded as AAC and cut to the video's length. OpenToonz's own audio columns cannot be reached from the scripting API, so audio always comes from a file. crf (0-51, lower is better) trades quality for file size, and scale (a positive factor, e.g. 0.5) resizes the video.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| crf | No | ||
| fps | No | ||
| audio | No | ||
| scale | No | ||
| scene | Yes | ||
| out_name | No | video | |
| workspace | Yes |