Communitygithub.com

ai-explainer-video

단일 장면 구성을 지정된 시간 범위에 걸쳐 MP4(또는 QA 스틸 이미지 세트)로 렌더링합니다. explainer-video-from-coursework의 7단계로, 핵심 렌더링 기본 요소입니다.

ai-explainer-video란 무엇인가요?

이 스킬은 `explainer-video-from-coursework` 파이프라인의 7단계(총 8단계)로, 개별 장면 구성을 MP4 동영상 또는 QA 스틸 이미지로 렌더링하는 핵심 프리미티브입니다. 단일 `host?scene=<config>` URL을 입력으로 받아 헤드리스 Chromium을 통해 CDP(Chrome DevTools Protocol)로 PNG 프레임 시퀀스를 캡처한 후, ffmpeg로 H.264 동영상으로 인코딩합니다. 다중 장면 비디오는 이 스킬을 호출하는 상위 어셈블 단계가 각 장면별로 반복 실행하여 구성됩니다. `--shots` 옵션으로 특정 프레임의 QA 스틸 이미지를 생성하거나, `--keep-frames`로 PNG 시퀀스를 보존할 수 있습니다. 이 스킬은 Claude Code, Cursor, Codex와 같은 AI 에이전트 및 개발 도구에서 사용하도록 설계되었으며, `render.mjs` 스크립트 하나로 동작합니다. 주요 전제 조건은 `ffmpeg`와 헤드리스 Chromium이 시스템에 설치되어 있어야 하며, 타임라인 데이터가 필요합니다. 실행이 완료되면 `[done] …<name>.mp4` 메시지와 함께 종료 코드 0을 반환합니다.

지원 대상~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/akshayDev17/ai-explainer-video/tree/HEAD/skills/craft-video-render

즐겨 사용하는 AI에게 물어보기

이 에이전트 스킬이 미리 로드된 새 채팅을 엽니다.

문서

craft-video-render — 프레임을 MP4로 변환

explainer-video-from-coursework 파이프라인의 일부 — 8단계 중 7단계. 핵심 렌더링 프리미티브입니다. 어셈블 단계가 세그먼트별로 이를 구동합니다. 장면 저작 중 QA 스틸 이미지를 위해 단독으로 실행할 수도 있습니다.

파이프라인의 도구와 장면 호스트는 같은 부모 스킬인 explainer-video-from-coursework에 있습니다: 이 스킬의 폴더를 기준으로 node ../explainer-video-from-coursework/tools/<tool>.mjs 명령어로 실행하세요. 프로젝트에서 실행해야 하므로 out/ 스크래치 디렉토리가 노트 옆에 생성됩니다.

전제 조건: 장면 구성 파일과, 시간 윈도우 렌더링을 위한 out/<name>/<NN>/timeline.json 파일; 시스템에 ffmpeg와 헤드리스 Chromium이 설치되어 있어야 합니다 (SETUP.md 참조).

[node] / [setup] / Playwright cache not found 오류는 전제 조건이 누락되었음을 의미합니다. 사용자에게 해당 SETUP.md 단계를 안내하고 다시 실행하세요.

node ../explainer-video-from-coursework/tools/render.mjs --scene "src/scene-diagram.html?scene=<name>" \
                      --range <t0>,<t1> --outdir out/<name>/<NN>/parts --name part-<key>

하나의 장면 구성을 하나의 시간 윈도우로 렌더링합니다 — 헤드리스 Chromium을 CDP로 제어하여 PNG 시퀀스를 생성한 후 ffmpeg로 H.264 인코딩합니다. 전체 비디오 렌더러가 아닙니다: --scene은 단일 host?scene=<config> URL을 받으므로, 다중 장면 비디오는 윈도우별로 렌더링됩니다. --narration 없이 렌더링된 윈도우는 음소거로 출력되며, 이는 어셈블 단계에서 원하는 동작입니다.

--shots 6,20,34는 전체 시퀀스 대신 QA 스틸 이미지를 렌더링하고, --keep-frames는 PNG 시퀀스를 유지합니다.

완료 시점: 실행이 종료 코드 0으로 종료되고 [done] …<name>.mp4가 출력됩니다.

유지보수

이 파일을 수정하거나 사용자가 이 단계를 변경하도록 요청하면, 주 explainer-video-from-coursework 스킬의 "7단계 — /render" 섹션도 일치하도록 조정해야 한다고 사용자에게 알리고, 해당 섹션 이름을 답변에 포함시키세요.

Individual skills in this repo

This repo contains 8 individual skills — each has its own dedicated page.

akshayDev17/ai-explainer-video

Assemble one video from its segments — render each window silent, concatenate, mux the narration once, and verify. Stage 8 of explainer-video-from-coursework.

akshayDev17/ai-explainer-video

Synthesize narration and build the measured timeline for one video. Stage 4 of explainer-video-from-coursework — the one-shot TTS primitive.

akshayDev17/ai-explainer-video

Retitle and curate the videos in an explainer-video plan — write enrichment.json and merge it. Stage 2 of explainer-video-from-coursework; run it alone to retitle an existing plan.

akshayDev17/ai-explainer-video

Decompose a coursework notes directory into an explainer-video plan and prove no content-bearing section is dropped. Stage 1 of explainer-video-from-coursework; run it alone to (re)plan a directory.

akshayDev17/ai-explainer-video

Generate YouTube chapters and English captions for one finished video. Stage 6 of explainer-video-from-coursework.

akshayDev17/ai-explainer-video

Author and iterate the animated visuals for one video's segments. Stage 5 of explainer-video-from-coursework; it re-invokes the audio stage when a beat needs a hold.

akshayDev17/ai-explainer-video

Write and validate the spoken narration for one explainer-video. Stage 3 of explainer-video-from-coursework; run it alone to (re)write a video's script.

akshayDev17/ai-explainer-video

Plan an explainer-video series from a directory of coursework notes — decompose into videos (proving nothing is dropped), retitle and curate, write the narration, synthesize the audio, author the visuals, then render and assemble the finished cut. Use when the user wants to turn structured coursework notes into explainer videos.

관련 스킬