Skip to content

validate

Purpose

Validate a manifest before planning or rendering.

The command auto-detects whether the file is a cut-list manifest, a timeline manifest, or a concat playlist manifest and checks:

  • manifest structure and version
  • basic semantic rules such as cut and section references
  • referenced source files exist

Usage

video-edit validate manifest.json

Examples:

video-edit validate examples/manifests/timeline.v1.json
video-edit validate examples/manifests/concat-playlist.v1.json

Output

On success, the command prints a short summary and exits with code 0.

Example:

Valid timeline manifest: manifest.json (sources=2, cuts=3, sections=3)

If validation fails, the command exits with a non-zero status and prints the error.

Notes

  • Validation does not render media
  • Validation does not probe media duration
  • Use this command before plan, assemble, or concat --playlist
  • See Manifest Formats for the supported manifest shapes