Subprocess adapter for rendering generated scenes with 3Blue1Brown ManimGL.
Source: screencastgen/providers/visualization/manimgl.py
ManimGLRenderer.render():
manimgl command for the generated scene file/class.HOME with a minimal safe environment.max_output_bytes.VisualizationRenderResult with command, logs, return code, and output metadata.manimgl generated_visualization.py GeneratedVisualizationScene \
-w \
--video_dir <output_dir> \
--resolution <height>,<width> \
--fps <fps>
ManimGL expects resolution as height,width.
| Condition | Result |
|---|---|
manimgl not found on PATH |
success=False, renderer executable error |
| Subprocess timeout | success=False, timeout error with log excerpts |
| Non-zero exit | success=False, return code and logs |
| No MP4 found | success=False, missing-output error |
| Output too large | success=False, size guardrail error |