Skip to Content
Coming soon!
V2 (beta)Asset PipelineCLI Wizard (vid2ssq)

CLI Wizard (vid2ssq)

The fastest way to transform any video into a production-ready Scrollsequence project is using the interactive CLI wizard:

npx scrollsequence vid2ssq

No flags needed — the wizard interactively guides you through:

  1. Source Selection: Pick a local video file (.mp4, .mov, .webm) or a directory of frames.
  2. Project Destination: Choose a project name (automatically routes to public/<name> if run in Next.js, Vite, or Astro).
  3. Format Selection: jpg (fastest hardware decoding) or webp (with alpha transparency support).
  4. Compression & Sizing: Set image quality, frame step rate, and responsive width tiers (e.g. 1280,1920).
  5. AI Features: Optionally generate 3D depth maps, bounding tracking, and vision scene understanding.

Zero Configuration in Next.js & Vite: When run inside a directory containing ./public, the CLI automatically writes generated frames and the manifest to public/<project-name>, making them immediately accessible via your local dev server.


Non-Interactive & CI/CD Usage

You can automate asset generation in build scripts or CI pipelines by passing arguments directly:

# Standard local processing (100% free, local FFmpeg via WebAssembly) npx scrollsequence vid2ssq input.mp4 --name hero-sequence --sizes 1280,1920 --format jpg --quality 80 # Advanced AI processing with 3D Depth Maps & Subject Tracking (Requires API Key) npx scrollsequence vid2ssq input.mp4 --name car-reveal --sizes 1280,1920 --depth --track "sports car"

CLI Options Reference

OptionFlagDescriptionDefault
[input]ArgumentPath to input video (.mp4, .mov, .webm) or image directory.Prompted
--name-nOutput project name (routes to public/<name> if public/ exists).scrollsequence-project
--sizesComma-separated target widths in pixels.1280,1920
--formatImage format: jpg (fastest decoding) or webp (supports alpha).jpg
--qualityImage quality between 1 and 100.80
--step-sProcess every Nth frame (e.g. 2 skips every other frame).1
--depthGenerate 3D depth maps for WebGL displacement effects (Requires API key).false
--depth-widthResolution width for depth map sequence in pixels.720
--track-pText prompt for AI subject tracking across frames (Requires API key).undefined
--vision-vRun AI vision motion & scene understanding analysis (Requires API key).false
--zipPackage generated assets into a .zip archive upon completion.false
Last updated on
Feedback