I want to create a short educational video.
First, create script.md to track everything.
Ask me one question at a time and update
script.md after each answer:
1. Topic / title of the video
2. Number of slides
3. Slide language (Chinese or English)
4. Voiceover language (Chinese or English)
5. Target audience
6. Auto-generate after script is ready,
or wait for confirmation first?
Tools to use:
- python-pptx + LibreOffice -> PNG slides
- edge-tts -> MP3
- ffprobe -> measure audio duration
- ffmpeg -> assemble final MP4
Generation order (per slide):
1. edge-tts -> mp3
2. ffprobe -> get duration
3. ffmpeg -loop 1 -t {duration} -> clip.mp4
Then concat all clips into final MP4.
⚠️ 需要先安裝:Claude Code、Node.js、Python、LibreOffice、python-pptx、edge-tts、ffmpeg