Opentoonz Extract Frames
opentoonz_extract_framesExtract video frames into PNG drawings as a level for an OpenToonz scene. Set start/end, fps, max width, or frame caps to control output and avoid filling disk.
Instructions
Extract a video's frames into drawings/<level_name>.%04d.png, as a level.
How outside footage joins a scene: extract, then pass the returned paths to opentoonz_import_images_as_level. fps resamples (default keeps the source rate), start/end are seconds, and max_width downscales so a large source does not fill the workspace. max_frames caps the extraction (default 5000) so a long clip cannot fill the disk; raise it, or use start/end/fps, for more. Previous drawings for the same level are cleared first, so a shorter extract cannot leave orphaned frames.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end | No | ||
| fps | No | ||
| start | No | ||
| video | Yes | ||
| max_width | No | ||
| workspace | Yes | ||
| level_name | Yes | ||
| max_frames | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |