关于 make-product-video
使用可运行的应用制作带旁白的产品视频,例如演示、操作介绍、宣传短片、发布视频或功能公告。画面来自 agent-browser 录制或 Remotion;旁白(Eleven v4)、音乐和音效由 ElevenLabs CLI 提供。涵盖三种风格、v4 配音指导、混音和交付。
安装
复制下面的命令,在终端中运行。
npx skills add https:/ / github.com/ gitethanwoo/ video-editing --skill make-product-video安装后在 Claude Code 中输入/make-product-video确认已加载。
包含的文件
除 SKILL.md 外,安装时一起下载的参考资料和脚本。
agents/openai.yamlreferences/mix-and-delivery.mdstyles.mdvoice-music-sfx.mdscripts/fit_size.pymix.pyvoiceover.pyREADME 原文English
来自项目 READMEREADME 暂无中文译文,以下为英文原文;中文介绍见上方。
Make a product video
This skill helps produce narrated product videos. It leans on two other skills:
record-agent-browser-demo(this repository) for recording real UI with theagent-browserCLI.video-editing(this repository) for contact sheets, the Remotion starter (video_workbench.py init-motion) and validating the final file (video_workbench.py validate).
Styles
There are three. They differ in where the picture comes from, how long they run, and what drives the timing.
| Style | What the viewer sees | Typical length | Picture source | Timing follows |
|---|---|---|---|---|
| Walkthrough | Whole real screens, flows played start to finish, a title card per act | 2 to 6 minutes | Screen recordings of the running app | Each recorded segment is sped up or held to fit its narration line |
| Sizzle reel | Real screens inside a designed frame, camera moves, a few title lines | 60 to 90 seconds | Screen recordings composited in Remotion | Scenes sit on the music's phrases; voice lines are placed in them |
| Element film | One thing at a time, centered on a plain background: a line of text or a single UI element lifted out of the product | 20 to 60 seconds | The element rebuilt as React/SVG in Remotion | Every animation is keyed to a word in the voiceover |
references/styles.md describes how each one is built.
Order of work
- One sentence. What the viewer should believe afterwards, and who the viewer is.
- Script. About 150 to 160 spoken words per minute. Share it with the user.
- Silent cut. Picture only: a rough Remotion render, or a contact sheet of recorded takes for a walkthrough. A sizzle reel also gets a draft music cue here, since its scenes cut on the music's phrases.
- Voice sample. 15 to 20 seconds of the script in the chosen voice, for the user to hear.
- Voiceover.
scripts/voiceover.pygenerates it and checks it against the script by transcription. - Re-time the picture to the voiceover.
- Music at the final length.
- Mix and master with
scripts/mix.py. - Deliver the master and any smaller copies the destination needs.
Agents can't hear the result. The user's ears are the check on voice, music and effects, so send them the voice sample and the first full mix.
Voice
Voiceover uses eleven_v4. v4 has no speed setting and no SSML; pace, pauses and delivery are written into the text as tags. references/voice-music-sfx.md covers tags, music and sound effects.
Timing
Timings come from the generated audio. voiceover.py writes each clip's length to manifest.json and its word times to <id>.words.json. Keep scene times, clip start times and the total length in one timeline file, and generate both the picture's timing and the mix file from it.
Scripts
Plain Python 3, in this skill's scripts/ folder. They need ffmpeg; voiceover.py also needs the elevenlabs CLI, logged in. Each docstring describes its input file.
python3 scripts/voiceover.py vo.json vo/ # generate, transcribe, check, write word timings
python3 scripts/mix.py mix mix.json # stems and premix
python3 scripts/mix.py master mix.json picture.mp4 output/film.mp4 # loudness, limiter, mux
python3 scripts/fit_size.py output/film.mp4 output/film-10mb.mp4 --mb 10 # a copy under a size limit
references/mix-and-delivery.md has starting levels, validation and file sizes.