Logo Playback Capture

Playback Capture

Cộng đồng
artemisln
playback-capture

Build one continuous playback video from raw screen recordings, so the creator plays it fullscreen and films their screen in a single phone take instead of start-stopping through a live product demo. Black head and tail act as sync markers, every beat is padded so a long voiceover still has screen under it, and a beatmap gives exact timestamps for the edit. Use when someone wants to film their screen with a phone, record a "phone pointed at laptop" demo, or turn screen recordings into footage for a reel. Usage - /playback-capture <folder-of-screen-recordings> [approved-script.md]

Tổng quan

Nhà phát hànhartemisln
Kho mãedit-reel
Tên kỹ năngplayback-capture
Sao
40
Bản fork
4
Tệp đi kèm
3
Liên kết
  • Hướng dẫn bằng Markdown

    Tệp SKILL.md được mô hình tải khi cần, nên chỉ tốn token khi có yêu cầu thực sự phù hợp.

  • Dùng được với mọi LLM

    Kỹ năng AI dùng hướng dẫn viết bằng Markdown thay vì mã dành riêng cho một nhà cung cấp, nên dùng được với GPT, Claude, Gemini, Grok hoặc mô hình cục bộ.

  • 3 tệp đi kèm

    Các tập lệnh, mẫu và tài liệu tham khảo mà mô hình có thể đọc khi làm việc. Các tệp chỉ cho phép đọc và không bao giờ được thực thi.

  • Mã nguồn mở

    Được artemisln công bố trên GitHub. Hãy đọc các tệp nguồn trước khi cài đặt.

Cài đặt

Cài đặt kỹ năng AI Playback Capture trong TypingMind để dùng với bất kỳ LLM nào, hoặc thêm vào một tác nhân AI khác có thể đọc SKILL.md.

1

Cài đặt trong TypingMind

TypingMind cài đặt kỹ năng trực tiếp từ thư mục GitHub — đọc SKILL.md, đóng gói các tệp tài nguyên và lưu kết quả trên máy.

  1. Mở ứng dụng và vào Plugin → Kỹ năng.
  2. Chọn "Cài đặt từ GitHub".
  3. Dán URL của thư mục kỹ năng được hiển thị bên dưới rồi xác nhận.
    https://github.com/artemisln/edit-reel/tree/main/plugins/edit-reel/skills/playback-capture
  4. Bật kỹ năng trong từng cuộc trò chuyện mà bạn muốn sử dụng kỹ năng đó.
Plugin → Kỹ năng → Thêm kỹ năng → Từ URL GitHub, sau đó dán URL thư mục và nhấn Tiếp tục.
2

Cài đặt trong tác nhân AI khác

Bất kỳ tác nhân AI nào đọc được định dạng Agent Skills đều có thể dùng kỹ năng này — hãy sao chép thư mục vào thư mục kỹ năng của tác nhân AI đó.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/artemisln/edit-reel.git /tmp/edit-reel
mkdir -p .claude/skills
cp -r /tmp/edit-reel/plugins/edit-reel/skills/playback-capture .claude/skills/playback-capture
Khởi động lại Claude Code sau khi sao chép để ứng dụng nhận kỹ năng mới.

Sử dụng trong TypingMind

Bật Playback Capture trong bất kỳ cuộc trò chuyện nào trên TypingMind, mô hình sẽ tự xử lý phần còn lại. Tên và mô tả của kỹ năng nằm trong prompt hệ thống. Ngay khi có yêu cầu phù hợp, mô hình tự tải toàn bộ hướng dẫn — bạn không cần gọi thủ công và kỹ năng không tốn token cho đến khi thực sự được dùng.

Mô hình tự nạp Playback Capture ngay khi có yêu cầu phù hợp.

Dùng được với mọi mô hình AI

Kỹ năng AI là các hướng dẫn Markdown thuần túy, không phải mã dành riêng cho một nhà cung cấp, nên bạn có thể dùng Playback Capture với cả những mô hình khác ngoài mô hình ban đầu. Chỉ cần cài đặt một lần trong TypingMind rồi dùng với GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama hoặc mô hình cục bộ do bạn tự chạy — tất cả đều dùng khóa API của riêng bạn.

  • Chỉ tải khi cần

    Prompt hệ thống chỉ chứa tên và mô tả. Hướng dẫn được tải khi có yêu cầu phù hợp đầu tiên, nên khi kỹ năng chưa được dùng, bạn không tốn token cho phần hướng dẫn.

  • Đổi mô hình ngay trong cuộc trò chuyện

    Vì kỹ năng là hướng dẫn chứ không phải mã, việc đổi mô hình không làm kỹ năng ngừng hoạt động — mô hình tiếp theo vẫn đọc cùng tệp SKILL.md.

Hướng dẫn của kỹ năng

Đây là nội dung SKILL.md mà mô hình tải. Hãy đọc trước khi cài đặt — kỹ năng là những hướng dẫn mà mô hình của bạn sẽ làm theo.

Playback Capture

You are turning raw screen recordings into one video the creator plays fullscreen and films in a single take. This replaces driving a live product on camera.

Input: $ARGUMENTS

Requirements

  • ffmpeg and ffprobe on PATH
  • Python 3.9+ with numpy and Pillow (pip3 install numpy pillow), used by find_offset.py
  • A phone and a tripod for the filmed take

Bundled scripts live in ${CLAUDE_SKILL_DIR}/lib/.


Why this exists

Filming a live product means hitting record, doing a step, checking it worked, stopping, redoing it. That easily produces 5+ minutes of footage for 30 seconds of usable screen, plus beats where the screen does not show what the voiceover claims.

With a playback video the product work is already done and verified. The creator films a screen for about 35 seconds, once. The edit gets clean beats at known timestamps instead of a haystack.

It also sidesteps bot protection. Some sites hard-block scripted browsers, so Claude cannot drive them, but Claude can still assemble footage of them from ordinary screen recordings.


The five things that make it work

  1. Black at the head and tail. 1.5 seconds each. The creator hits record before pressing play and stops after the black returns, and those two black stretches are how you find the sync offset later. This is the whole trick. Do not skip it (build_playback.py adds them if you forget).
  2. Every beat held ~50% longer than its voiceover line needs. If a line runs long when it is recorded, there is still screen footage covering it. Nothing gets reshot for timing.
  3. Native screen resolution. Export at the same pixel size as the screen recording so it plays back 1:1 fullscreen with no upscaling softness.
  4. One beat per voiceover line, hard cuts between them. The cuts land where you will cut anyway.
  5. Write a beatmap. Save the exact in/out of every beat to JSON while building. That file is what makes the edit trivial.

Phase 1: plan the beats from the approved script

One beat per line that needs screen. For each, note what must be visibly true at that moment (e.g. "prompt text visible in the box, not empty", "the result has actually rendered").

Then find those moments in the raw recordings. Grid each recording at intervals, read the frames, and pick windows by content. Verify the window is stable across its whole duration, not just at the frame you sampled. A page that is mid-scroll at the in-point will clip when punched in later.

Watch for gaps. Recordings often start with the site already open while the script says "open the site" or "type the URL". When a beat has no footage that shows it, say so plainly and ask for a short pickup recording rather than papering over it.

Phase 2: build the playback video

Write a beat config (copy ${CLAUDE_SKILL_DIR}/lib/beats_example.json into the recordings folder and edit it), then run:

python3 ${CLAUDE_SKILL_DIR}/lib/build_playback.py <folder>/beats.json

Beat durations: take the expected voiceover length for that line and add roughly half again. A 3 second line gets a 4.5 second beat.

Leave width/height as null to use the native size of the first recording. It writes the video and beatmap.json next to the config. Keep the beatmap.

Phase 3: write filming instructions

Write a short HOW_TO_FILM.md alongside the video. It needs:

  • Play fullscreen, pause on the first black frame, start the phone recording, wait ~2 seconds, press play, do not touch anything until the black returns
  • Room lights off, one warm lamp behind or beside you, screen the brightest thing in frame. This is the single biggest quality factor: it alone can take a shot from unusable to good
  • Phone on a tripod, rear camera not front (the front camera mirrors on-screen text)
  • Screen filling roughly 60 percent of frame height
  • Do not move the phone during the take
  • On a fumble, redo the whole take, it is only about 35 seconds

Phase 4: find the sync offset from the black markers

Do not hunt for it frame by frame. Measure the screen band only, so the lit room does not skew the average, and find the dark stretches:

python3 ${CLAUDE_SKILL_DIR}/lib/find_offset.py <filmed.mov> <beatmap.json> "crop=2160:1300:0:1100"

The crop is the laptop-screen band in the filmed frame (adjust per framing; omit it to measure the whole frame). The script samples every 0.1s, thresholds the band brightness at the 20th percentile, takes the first long dark run as the lead-in and the last as the tail, then computes:

OFFSET = filmed_lead_in_end - playback_lead_in_end
filmed_time = playback_time + OFFSET

Verify it at both ends. The script compares the filmed content duration against the playback content duration. A drift like 0.07s over 32 seconds is sampling noise and a single constant offset is safe. If the two differ by more than about 0.15s, derive the offset per beat instead.

Then spot-check every beat at its predicted timestamp and actually look at the grid before cutting.

Phase 5: hand off

You now have beat-accurate timestamps in the filmed footage. Cut against the voiceover as usual, then hand off to your captioning and SFX pass (for example the edit-reel skill in this plugin).


What not to do

  • Do not skip the black head and tail. Without them the sync is guesswork
  • Do not pad beats by a fixed 1 second. Pad proportionally, long lines need more slack
  • Do not export at 1080p if the screen recording is 3024 wide. It plays back soft
  • Do not burn any guide text, countdowns or markers into the playback video. The phone films the whole frame, so anything you overlay ends up in the footage
  • Do not fill a missing beat with unrelated footage and hope. Ask for the pickup

Tệp đi kèm

Khi kỹ năng đã được tải, mô hình có thể đọc các tệp này nếu cần. Các tệp này chỉ dùng để đọc và không bao giờ được thực thi.

Câu hỏi thường gặp

Kỹ năng AI Playback Capture làm được gì?

Build one continuous playback video from raw screen recordings, so the creator plays it fullscreen and films their screen in a single phone take instead of start-stopping through a live product demo. Black head and tail act as sync markers, every beat is padded so a long voiceover still has screen under it, and a beatmap gives exact timestamps for the edit. Use when someone wants to film their screen with a phone, record a "phone pointed at laptop" demo, or turn screen recordings into footage for a reel. Usage - /playback-capture <folder-of-screen-recordings> [approved-script.md]

Vì sao nên dùng Playback Capture trên TypingMind?

Vì bạn chỉ cần cài một lần rồi dùng với bất kỳ mô hình nào. Playback Capture là nội dung Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên cùng một kỹ năng có thể chạy trên GPT-5, Claude, Gemini, Grok hoặc mô hình trên thiết bị — và bạn có thể đổi mô hình ngay trong cuộc trò chuyện mà kỹ năng vẫn hoạt động. TypingMind dùng khóa API riêng của bạn, nên bạn thanh toán trực tiếp cho nhà cung cấp thay vì trả phí thuê bao theo suất người dùng, đồng thời kỹ năng và các cuộc trò chuyện vẫn nằm trong bộ lưu trữ của bạn.

Làm thế nào để cài Playback Capture trong TypingMind?

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/artemisln/edit-reel/tree/main/plugins/edit-reel/skills/playback-capture. TypingMind đọc tệp SKILL.md, đóng gói các tệp đi kèm rồi cài đặt cả gói dưới dạng một kỹ năng mà bạn có thể bật cho từng cuộc trò chuyện.

Những mô hình AI nào có thể dùng Playback Capture?

Bất kỳ mô hình nào bạn kết nối trong TypingMind. Kỹ năng AI là các hướng dẫn bằng Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên GPT, Claude, Gemini, Grok và các mô hình chạy trên thiết bị đều có thể tải kỹ năng này khi có yêu cầu phù hợp.

Có thể dùng Playback Capture với bao nhiêu mô hình AI?

Bao nhiêu cũng được. Miễn là mô hình hỗ trợ kỹ năng, bạn có thể dùng Playback Capture với mô hình đó — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama và nhiều mô hình khác — tất cả đều trên TypingMind với khóa API riêng của bạn.

Kỹ năng AI Playback Capture có miễn phí không?

Kỹ năng này được artemisln phát hành trên GitHub. Hãy xem điều khoản giấy phép trong kho mã. Bạn chỉ trả tiền cho nhà cung cấp AI của mình theo số token đã dùng.

Kỹ năng AI là gì?

Kỹ năng AI là một gói hướng dẫn có thể tái sử dụng, chỉ cho mô hình AI cách thực hiện một tác vụ cụ thể. Kỹ năng tuân theo định dạng mở Agent Skills: một tệp SKILL.md chứa tên và mô tả, cùng các tập lệnh, mẫu hoặc tệp tham khảo mà mô hình có thể cần. Mô hình chỉ đọc hướng dẫn khi yêu cầu của bạn phù hợp với kỹ năng, nên kỹ năng đã cài đặt không phát sinh chi phí cho đến khi được sử dụng.

Kỹ năng AI khác gì với plugin hoặc máy chủ MCP?

Plugin hoặc máy chủ MCP cung cấp các công cụ mới mà mô hình có thể gọi. Khi mô hình gọi một công cụ, mã của công cụ đó chạy ở đâu đó và trả về kết quả. Còn kỹ năng AI cung cấp kiến thức và quy trình: cách tiếp cận tác vụ, các bước cần thực hiện và những tiêu chí mà kết quả cần đáp ứng. Kỹ năng chỉ là nội dung Markdown, nên không cần máy chủ, khóa API hay môi trường thực thi và hoạt động với mọi mô hình.

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇