showcase-video
Skill này làm gì
Skill này ghi lại lối chơi của một mod và biến nó thành một video ngắn. Nó dành cho modder muốn có bản demo hoặc trailer để chia sẻ với người khác.
Khi nào nên dùng
- ✓Khi bạn muốn một video demo ngắn về mod của mình cho mạng xã hội hoặc YouTube.
- ✓Khi bạn muốn một đoạn ghép từ nhiều clip của mod.
- ✓Khi bạn cần các lần quay lặp lại được sau mỗi lần sửa mod.
Liên kết skill
https://github.com/rehan-remade/universal-modder/blob/main/.agents/skills/showcase-video/SKILL.mdSao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.
Cách dùng
Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.
Tin nhắn có sẵn để dán
Dành cho Claude Code, Codex hoặc Cursor: chạy lệnh trong thư mục dự án của bạn và skill sẽ được cài đặt.
Tải tệp SKILL.md về và thả vào thư mục skill của agent.
Ví dụ cách nhờ AI
“Ghi một video demo 30 giây của mod tôi, với âm thanh của game, thêm tiêu đề và mờ dần ở cuối.”
5 skill mới mỗi tuần. Đọc chỉ 1 phút.
Cách hoạt động
Agent ghi lại cửa sổ game cùng âm thanh của nó, dùng các bảng ảnh thu nhỏ để chọn những khoảnh khắc đẹp nhất, rồi chỉnh các clip với tiêu đề, chuyển cảnh, nhạc và watermark bằng một danh sách chỉnh sửa đơn giản.
Nội dung kỹ thuật (SKILL.md gốc)
Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.
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
Câu hỏi thường gặp
Nó có chỉ ghi cửa sổ game không?
Có. Nó chỉ thu cửa sổ game, không thu toàn bộ màn hình máy tính.
Tôi có thể lặp lại cùng một cảnh sau khi sửa lỗi không?
Có. Skill gợi ý viết kịch bản cho hành động và khôi phục thế giới trước mỗi lần quay.
Nó cần những công cụ nào?
Nó dùng ffmpeg và Pillow, cùng các lệnh capture và compile của bộ công cụ.
Chi tiết
Mô tả gốc của tác giả
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.
Độ phổ biến
- Sao GitHub
- 9.3k
- Vị trí xếp hạng
- #12294
- Giấy phép
- MIT
- Cập nhật
- 2/11/2026
Bình luận
- …
Thêm skill từ kho mã này
asset-pipeline
9.3kGiúp agent của bạn chuyển tác phẩm tạo ra hoặc vẽ tay thành đúng kích thước, khung hình, bảng màu và định dạng mà game engine tải được.
blitz3d-decomp
9.3kGiúp agent của bạn giải mã một game Blitz3D thành source code dễ đọc và lên kế hoạch port sang engine khác, giữ game gốc làm tài liệu tham chiếu.
fal-assets
9.3kGiúp agent của bạn tạo tác phẩm, hiệu ứng âm thanh, nhạc và mô hình 3D cho game bằng fal.ai, từ sprite và texture đến lời thoại và video.
game-automation
9.3kGiúp agent của bạn chạy một game thật, chụp ảnh màn hình, nhấp chuột và gõ phím trong menu, rồi đọc log, để kiểm thử các mod game của chính nó.
Skill tương tự
taste-application
280kGiúp agent tạo video theo phong cách cụ thể: sao chép nhịp dựng từ video mẫu, tạo cảnh mới, chỉnh màu và ghép với các đoạn có sẵn.
taste-distillation
280kGiúp agent phân tích video để tạo style pack gồm màu sắc, nhịp cắt và yếu tố hình ảnh, tái sử dụng để tạo video mới cùng phong cách.
ui-demo
280kGiúp agent ghi lại video demo giao diện chỉn chu. Hữu ích để tạo hướng dẫn hoặc cho thấy một ứng dụng web hoạt động ra sao.