Skip to main content

Headless, project-agnostic video-editing CLI with atomic subcommands for AI agents.

Project description

video-edit-cli

Headless, project-agnostic video-editing workbench for AI agents. One video-edit-cli CLI exposes atomic, non-interactive subcommands that inspect and transform media deterministically; the agent plans the edit and composes the primitives.

Contract:

  • Machine-readable JSON on stdout (one result envelope per command), diagnostics on stderr, meaningful non-zero exit codes on failure.
  • Source media is immutable. Every derived file is new and gets a *.provenance.json sidecar recording inputs, hashes, tool versions, parameters, and the exact tool commands.
  • Requires ffmpeg and ffprobe on PATH; commands fail with the stable error code missing-binary when absent.

Install the base CLI with uv tool install video-edit-cli. For local Apple Silicon transcription, install uv tool install 'video-edit-cli[mlx]'. FFmpeg and FFprobe must be installed separately and available on PATH.

Usage discovery: video-edit-cli --help and --help on every subcommand. Inside this repository, prefix commands with uv run.

Example:

uv run video-edit-cli workspace init --root /tmp/ep1 --source recording.mp4
uv run video-edit-cli probe --input recording.mp4
uv run video-edit-cli filmstrip create --input recording.mp4 \
  --start 60 --end 90 --output /tmp/ep1/analysis/strip.png --workspace /tmp/ep1

The companion skill in skills/video-editor/ teaches agents the editing method; this package owns the mechanics. Tests generate small deterministic fixtures at runtime (tests/generate_fixtures.py); no media is committed.

Quality gates (run from this directory):

uv run ruff check .
uv run ruff format --check .
uv run ty check
uv run pytest

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

video_edit_cli-0.1.0.tar.gz (31.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

video_edit_cli-0.1.0-py3-none-any.whl (46.0 kB view details)

Uploaded Python 3

File details

Details for the file video_edit_cli-0.1.0.tar.gz.

File metadata

  • Download URL: video_edit_cli-0.1.0.tar.gz
  • Upload date:
  • Size: 31.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.17 {"installer":{"name":"uv","version":"0.11.17","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for video_edit_cli-0.1.0.tar.gz
Algorithm Hash digest
SHA256 a9786e5d5d1c998082018d2e3df68862caeeb1407f80da4ee1f3a3f0ecd2b068
MD5 f20c3f37638933f9d2a2a449148a5f5d
BLAKE2b-256 a51205ed66876b1770b5b82376a1570b7519cc87398e540d1fe697e1f399aec1

See more details on using hashes here.

File details

Details for the file video_edit_cli-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: video_edit_cli-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 46.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.17 {"installer":{"name":"uv","version":"0.11.17","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for video_edit_cli-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 97a1d57308feeed9c1c670885d24c0a48662f31b06eff44d99a0750daf254c65
MD5 176a42ff35781979392c22bb2083e438
BLAKE2b-256 9b69913516372f8b60eca432553e64795082baa034870f17fa036becd90b59f7

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page