showcase-video
它能做什么
这项技能录制模组的游戏画面,并把它制作成短视频。适合想要向他人分享演示或预告片的模组制作者。
适用场景
- ✓当你想为模组制作一段短演示视频,用于社交媒体或 YouTube 的时候。
- ✓当你想把模组的多个片段剪成一段集锦时。
- ✓当每次修改模组后,你需要可重复拍摄的画面时。
技能链接
https://github.com/rehan-remade/universal-modder/blob/main/.agents/skills/showcase-video/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“请帮我录制一段 30 秒的模组演示,保留游戏原声,加上标题,并在结尾渐隐。”
每周 5 个新技能,1 分钟读完。
工作原理
智能体录制游戏窗口及其自身音频,用接触表挑选最精彩的瞬间,然后使用简单的剪辑列表,加上标题、转场、音乐和水印来编辑片段。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
Showcase video
A mod isn't finished until you can show it in 30 seconds. The toolchain is um win record (capture),
um video contact (look), um video compile (edit), all ffmpeg + Pillow.
1. Make the take repeatable
- Script the action. Use a mod-side timeline or command sequence (spawn enemies, fire the weapon, cue the boss), a scenario with triggers and camera moves, or a WinDrive command list. The first clean take should be reproducible exactly, so you can reshoot after a fix.
- Restore the world before each take. Explosions crater worlds; units die. Keep a pristine copy with
um backupand restore it every take. - Clean frame. Hide debug text, fix the camera zoom (the Terraria showcase used 1.5x so 1080p frames
read like a 720p cut), run at full speed when unfocused, and hide the cursor (capture uses
capture_cursor=0).
2. Record the window + the game's own audio
um win record --exe Game.exe --out C:\caps\take1 --seconds 40 # -> take1.mkv, take1.audio.raw, take1.json
um video first-frame C:/caps/take1.mkv # where gameplay starts (skips loading screens)
um video mux C:/caps/take1.mkv C:/caps/take1.audio.raw C:/caps/take1.json take1.mp4 [--offset 0.25]
- Video: ffmpeg gfxcapture of that window only (GPU frames, no desktop). It encodes with NVENC, AMF or
QSV when available. NVENC H.264 maxes out at 4096 px wide, so the recorder scales above that; for
32:9 screens, crop to the centre 16:9 with
--crop. - Audio: WASAPI process loopback of the game's PID (
um/ps1/ProcLoopback.ps1). Only the game is recorded; no Spotify, no notifications. It's timestamped so the file position is wall time. Muxing uses the recorded offset. Fine-tune with a visual/audio sync event (a flash vs its boom) and pass--offset. - Inside a mod (optional): start and stop recording from the mod for frame-exact takes. Never block the
game's main thread while stopping ffmpeg: send
q, then wait off-thread. Write.mkvso a killed recorder still leaves a playable file (seeexamples/terraria-tmodloader/reference/InModRecorder.cs).
3. Look before you cut
um video probe clip.mp4
um video contact clip.mp4 sheet.png --every 1.5 --cols 6 # a timestamped grid; read it, pick in/out points
um video contact clip.mp4 zoom.png --start 20 --end 30 --every 0.5
Pick the peak moments: the explosion, the boss reveal, the unit in formation. Write in/out times into the EDL.
4. Edit with an EDL
um video compile edl.json out.mp4 (--preview renders half size and fast). The full format is in
um video --help.
{
"size": [1920, 1080], "fps": 30,
"theme": {"accent": "#B6FF3B"},
"transition": {"type": "fade", "duration": 0.3},
"clip_volume": 0.8,
"music": {"path": "music.mp3", "volume": 0.5},
"watermark": {"path": "logo.png", "height": 54, "corner": "br"},
"segments": [
{"clip": "take1.mp4", "in": 9.0, "dur": 3.0, "hook": "Terraria, but with a tactical nuke."},
{"clip": "take1.mp4", "in": 24.2, "dur": 4.5, "title": "Tactical Nuke", "transition": {"type": "pixelize"}},
{"clip": "take2.mp4", "in": 3.0, "dur": 5.0, "title": "Drone Mothership boss"},
{"card": {"title": "Fal Arsenal", "sub": "a Terraria mod"}, "dur": 2.5}
]
}
- Transitions: any ffmpeg xfade type (fade, pixelize, slideleft, smoothleft, circleopen, zoomin,
radial...) or
cut. - Fills: for non-16:9 clips,
fill: blur(blurred backdrop),croporpad. - Per clip:
speedandvolume,zoomto punch in past UI,crop[x, y, w, h] to reframe. - Music:
um fal music "..." --seconds 60makes a bed. Setbpmand usebeatsinstead ofdurto cut on the beat;um video beats music.mp3estimates tempo and first beat.
Style that works (from real feedback)
- Titles: one line naming what's on screen ("Wonder: the Transamerica Pyramid", "Robotaxis and Delivery Drones"). No small explanatory captions about how it was made; that goes in the post text.
- Pace: get into gameplay within 2-3 s; menus and setup stay under 3 s. Clips run 3-5 s each. End on the mod name or URL and fade out.
- Sound: keep the game's audio. It sells impacts. Music under a compilation, clip audio around 0.5-0.8.
- Compilations of other people's clips: credit every creator on screen (
credit: "@handle") and in the post, and ask permission when it's promotional. Don't imply their clips were made with your to
常见问题
它只录制游戏窗口吗?
是的。它只捕捉游戏窗口,不录制整个桌面。
修复之后能重拍同一场景吗?
可以。这项技能建议用脚本设置操作,并在每次拍摄前恢复游戏世界。
需要哪些工具?
它使用 ffmpeg 和 Pillow,以及工具包中的捕获和合成命令。
详情
作者的原始描述
Record and cut a short showcase video of a game mod, or a compilation of clips, ready to post on X/YouTube. Records the game window with only the game's own audio, picks moments from contact sheets, and edits with one-line animated titles, creator credits, transitions, music, watermark and fade-out via an EDL JSON. Use when the user wants a demo video, trailer, clip or montage of a mod, or wants to combine existing clips into a styled video.
热度
- GitHub 星标
- 9.3k
- 排名
- #12294
- 许可证
- MIT
- 更新时间
- 2026/11/2
评论
- …
同一仓库的更多技能
asset-pipeline
9.3k帮你的智能体把生成的或手绘的美术素材,转换为游戏引擎所需的准确尺寸、帧布局、调色板和文件格式。
blitz3d-decomp
9.3k帮你的智能体把 Blitz3D 游戏反编译为可读的源代码,并规划移植到其他引擎的方案,同时保留原游戏作为参考。
fal-assets
9.3k帮你的智能体使用 fal.ai 生成游戏美术、音效、音乐和 3D 模型,涵盖精灵、纹理、语音台词和视频。
game-automation
9.3k帮你的智能体启动真实的游戏、截图、在菜单中点击和输入、读取日志,从而测试它自己制作的游戏模组。