Video editing CLI for AI agents. Load videos, fuzzy-search transcripts, trim, and export with FFmpeg.
Project description
moviestar
Video editing CLI for AI agents. Give your coding agent the ability to edit video.
Your agent loads a video, fuzzy-searches the transcript, trims to result-time ranges, snaps cuts to word boundaries, and renders with FFmpeg. All output is structured JSON. Source files are never modified — edits are described in a declarative spec and applied at render time.
Quick start
Make sure FFmpeg is on PATH (brew install ffmpeg on Mac), create a Python 3.10+ venv, then paste this into Claude Code, Cursor, or any coding agent:
Create a Python 3.10+ virtual environment, then:
pip install moviestar
moviestar --help
Read the --help output — it's your operational briefing.
Then load the video at ~/Downloads/podcast.mp4. Find the moment where
the host says "the bottom line, here's what I think." Trim to just
that sentence with --snap-to-words so the cuts don't land mid-word.
Export the result to ~/Desktop/clip.mp4 and tell me how long it is.
The agent will work through load → find → trim → export, returning structured JSON at every step. No GUI, no timeline, no manual scrubbing.
What's in v0.1
Browse:
moviestar load— index a video, transcribe with local Whisper.moviestar skim— fast browse: thumbnails + transcript over a range.moviestar inspect— dense thumbnails on demand at a configurable interval.moviestar watch— extract an MP4 segment for multimodal model analysis.moviestar status— current project state at a glance.
Edit:
moviestar trim— append a trim to the edit spec (result-time semantics; stacks compose).moviestar undo— pop the last operation.moviestar spec— show the current spec (or--editto replace).moviestar find— fuzzy-search the transcript for a phrase.
Output:
moviestar export— render the spec's effective timeline to MP4.moviestar screenshot— single frame at a timecode (project-aware:--atis in result-time).
Always-available:
moviestar probe— ffprobe metadata as JSON.--dry-runon every expensive command (load,inspect,watch,export,spec --edit).
Run moviestar --help for the full command list.
Why moviestar
Video editing tools are built for humans with GUIs. Agents don't have hands on a timeline or eyes on a canvas. moviestar is the hands; the agent is the brain.
- Verbose by default. Every command returns rich structured JSON — agents can discard what they don't need, but can't invent data the CLI didn't provide.
- Deterministic. Same input + same parameters = same output. No randomness, no hidden model calls.
- Result-time semantics. A second trim narrows the current result, not the original source.
findmatches resolve to both source-time and result-time so screenshots and exports compose cleanly. - Non-destructive. Source files are never modified.
Full design and product principles in the project docs.
Requirements
- Python 3.10+
- FFmpeg on
PATH(brew install ffmpeg/apt install ffmpeg)
The package weighs ~210MB on install — faster-whisper ships local transcription out of the box (no API keys, no cloud round-trip). Diarization is opt-in: pip install moviestar[diarize].
Status
v0.1 — first public release. Core loop is working: load → browse → edit → export. The roadmap of what's next lives with the project.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file moviestar-0.1.0.tar.gz.
File metadata
- Download URL: moviestar-0.1.0.tar.gz
- Upload date:
- Size: 123.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7761d69261a3ea228f59b13f14b0835d573d998d4165ed5e3456db6cf58ead19
|
|
| MD5 |
a5de762dc6a67ba5ef7579cdae3d99c0
|
|
| BLAKE2b-256 |
8c9a5012b4bec4359ff6c5ea3e72c387d27c143e26090a4df86ebcf61131c006
|
Provenance
The following attestation bundles were made for moviestar-0.1.0.tar.gz:
Publisher:
publish.yml on jdilla1277/moviestar
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
moviestar-0.1.0.tar.gz -
Subject digest:
7761d69261a3ea228f59b13f14b0835d573d998d4165ed5e3456db6cf58ead19 - Sigstore transparency entry: 1445837624
- Sigstore integration time:
-
Permalink:
jdilla1277/moviestar@06034a45a6bfda693d00f237c25f52dd44b8e7b5 -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/jdilla1277
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@06034a45a6bfda693d00f237c25f52dd44b8e7b5 -
Trigger Event:
release
-
Statement type:
File details
Details for the file moviestar-0.1.0-py3-none-any.whl.
File metadata
- Download URL: moviestar-0.1.0-py3-none-any.whl
- Upload date:
- Size: 55.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4242a4d8e8f3da03adaca9bf2ac2647e52e85047de3a0ccc301c49839378da1c
|
|
| MD5 |
565ccbc70ef03bb0c2c0fe843fac6b82
|
|
| BLAKE2b-256 |
51041ba6801c889bfceec567414ff24316c42c178313f9211059bc50dab81921
|
Provenance
The following attestation bundles were made for moviestar-0.1.0-py3-none-any.whl:
Publisher:
publish.yml on jdilla1277/moviestar
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
moviestar-0.1.0-py3-none-any.whl -
Subject digest:
4242a4d8e8f3da03adaca9bf2ac2647e52e85047de3a0ccc301c49839378da1c - Sigstore transparency entry: 1445837708
- Sigstore integration time:
-
Permalink:
jdilla1277/moviestar@06034a45a6bfda693d00f237c25f52dd44b8e7b5 -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/jdilla1277
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@06034a45a6bfda693d00f237c25f52dd44b8e7b5 -
Trigger Event:
release
-
Statement type: