vertical-shortform

Assembles vertical short videos from clips.json through per-beat encoding, audio-driven timelines, and delivery packaging.

Updated Aug 9, 2026
Ready to run
npx skills add https://github.com/ChenJiangxi/auramate-video --skill vertical-shortform-chenjiangxi
💬 Prompt for ChatGPT / Claude Chat▼
Please help me install this Agent Skill.
Skill: vertical-shortform
Source: https://github.com/ChenJiangxi/auramate-video/tree/main/skills/vertical-shortform
Command: npx skills add https://github.com/ChenJiangxi/auramate-video --skill vertical-shortform-chenjiangxi

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Producing a 1080×1920 vertical short video (Douyin/Xiaohongshu, 40–60s) requires coordinating scripting, voiceover, footage, per-beat encoding, subtitles, cover art, and packaging—steps where audio/video drift, black frames, and mismatched encodings silently break the final cut. This Skill provides the complete executable pipeline with copy-paste ffmpeg scripts and gate checks at every stage. ## Core Features & Use Cases - Audio-driven timeline: Measures each voiceover clip with ffprobe, pads audio with apad/atrim to exact beat boundaries, preventing cumulative A/V drift across concatenated segments. - Four per-beat encoders: card (static/rendered), celeb (horizontal footage to vertical with blurred background), motion (product recordings with camera moves), fit (auto upscale-limit), plus patch encoding for overlays and crops. - Transitions inside silence gaps: xfade transitions placed in the end-of-sentence GAP so total duration and per-sentence start frames stay identical to the hard-cut version. - End-to-end gates: script linter, compliance checker, audio verification, shots preview contact sheets, and delivery packaging with a full checklist. - Use Case: Given a clips.json voiceover script and mixed footage (product recordings, external clips, HTML motion cards), run lib/build-vertical.sh with a shots.tsv to produce a muxed, subtitled 1080×1920 H.264 video plus a packaged delivery zip. ## Quick Start Initialize a project with lib/init-project.sh, write clips.json and shots.tsv, generate voiceovers, then run lib/build-vertical.sh to assemble the vertical video.

Frequently Asked Questions about vertical-shortform

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I make a vertical short video for Douyin with ffmpeg?▼

Write a clips.json voiceover script, generate per-clip audio, then encode each beat to 1080×1920 with uniform parameters (fps=30, yuv420p, CRF 19) and concatenate. The build-vertical.sh script automates this from a shots.tsv file mapping clips to footage.

How to convert horizontal video to vertical 1080x1920 with ffmpeg?▼

Use a split filter: scale one copy to fill 1080×1920 with crop and boxblur as background, scale the other to fit 1080×820 as sharp foreground, then overlay centered. The enc_celeb function in this pipeline implements exactly this pattern.

Why does audio drift out of sync after concatenating video clips?▼

Per-clip encoding rounds durations up to whole frames, and the error accumulates across beats. Fix it by padding each audio clip with apad and trimming with atrim to the exact beat duration (voiceover length plus gap) before concatenation.

Why does ffmpeg concat fail with Non-monotonous DTS errors?▼

The concat demuxer requires all segments to share identical encoding parameters: resolution, fps, pixel format, and SAR. Re-encode each segment through a common filter chain like fps=30,setsar=1,format=yuv420p before concatenating.

Can I add crossfade transitions without changing total video duration?▼

Yes, by placing the xfade transition inside the silence gap at the end of the previous sentence so it ends exactly when the next sentence starts. Total duration and each sentence's opening frame remain identical to the hard-cut version.

What causes a black frame segment in the assembled video?▼

The source footage is shorter than the beat duration assigned from the voiceover. Either choose longer footage or slow the clip with setpts; the fit-vertical.sh script detects the shortfall and reports how many seconds are missing.