HKUDS/DeepTutor · error · ManimRenderError

Failed to extract review frames:

Error message

Failed to extract review frames: 

What it means

Error "Failed to extract review frames: " thrown in HKUDS/DeepTutor.

Source

Thrown at deeptutor/agents/math_animator/visual_review.py:85

                f"{timestamp:.3f}",
                "-i",
                str(video_path),
                "-frames:v",
                "1",
                str(frame_path),
            ]
            await self._emit_progress(
                f"Extracting review frame {idx}/{len(timestamps)} at {timestamp:.1f}s.",
                raw=True,
            )
            process = await asyncio.create_subprocess_exec(
                *command,
                stdout=asyncio.subprocess.PIPE,
                stderr=asyncio.subprocess.PIPE,
            )
            _stdout, stderr = await process.communicate()
            if process.returncode != 0 or not frame_path.exists():
                raise ManimRenderError(
                    "Failed to extract review frames: " + stderr.decode(errors="ignore").strip()
                )
            frame_paths.append(frame_path)
        return frame_paths

    async def _probe_duration(self, video_path: Path) -> float:
        command = [
            "ffprobe",
            "-v",
            "error",
            "-show_entries",
            "format=duration",
            "-of",
            "default=noprint_wrappers=1:nokey=1",
            str(video_path),
        ]
        process = await asyncio.create_subprocess_exec(
            *command,

View on GitHub (pinned to 3e82f13042)

When it happens

Trigger: Thrown at deeptutor/agents/math_animator/visual_review.py:85 when the library encounters an invalid state.

Common situations: See trigger scenarios.


AI-assisted analysis of HKUDS/DeepTutor@3e82f13042 (2026-08-27). Data as JSON: /api/errors/ef077b289553ae79. Report an issue: GitHub.