Stage edit
Work on real footage with ffmpeg: trim, join, reframe, mix, burn subtitles, overlay, extract frames.
Safety check
- Not rated by Claude yet. We only sell skills Claude has read and rated 7 out of 10 or higher, so this one is a free link to its author.
An automated scan lowers risk but cannot promise zero risk. How we check skills
Preview
The first lines of SKILL.md
---
name: stage-edit
description: Work on real footage with ffmpeg: trim, join, reframe, mix, burn subtitles, overlay, extract frames.
---
# stage-edit
The user's footage stays untouched: every operation writes a new file. An uploaded clip arrives as an attachment marked `model_readable="false"`. That means it is not vision input, not that it is unusable. `ovs timeline import --production <folder> --inputs '["<file>"]'` copies it into the production's `media/` folder; use that copy from then on. Never ask the user to upload it again.
## Calling
```bash
ovs edit probe media/clip.mp4
ovs edit trim media/clip.mp4 --start 12 --duration 8 --out cuts/seg-1.mp4
ovs edit concat --inputs cuts/seg-1.mp4,cuts/seg-2.mp4 --out render/edited.mp4
ovs edit extract-frame media/clip.mp4 --at 3 --out frames/at-3s.png
ovs edit reframe media/clip.mp4 --aspect 9:16 --out render/clip-9x16.mp4
```
Other ops: `burnsubs` (`--srt x.srt`), `overlay`, `mix`, `loudness`, `normalize-loudness`, `trim-silence`, `remove-fillers`. Scripts return JSON; a non-zero exit means it failed. Use `ovs transcribe` for speech timing.
`reframe` writes the standard canvas for the aspect. `--mode pad` keeps the whole frame on bars, `blur` fills them with a blurred copy, `crop` cuts the edges (`--focus-x`/`--focus-y` choose what stays). Keep `pad` or `blur` when the frame carries text or a UI. To follow whoever is speaking, `--plan` crops on a different point per stretch (`[{"start": 0, "centre_x": 0.3}, …]`, fractions of the source); `ovs activity --regions` measures motion in a box around each mouth and returns turns and a ready plan. `ovs beats` lists a track's beats with their frames; on a cut video it also says how far each cut lands from its beat.
`concat` joins clips of different sizes and rates by moving them all onto the largest canvas and highest rate, adding silence to silent clips. So reframe first: a 9:16 clip joined to a 16:9 clip becomes a letterboxed box.
`ovs speech-capabilities` and `ovs narration fit` govern synthesis; follow [audio guidance](../video-studio/references/audio.md). Mark speech mixes with `--narration`.
`mix` lays narration or music over a clip (`--base <clip> --segments '[{"path": "voice/1.mp3", "start_sec": 0}, …]'`, each entry placed at its own start, in seconds). If the clip already has sound, pass `--on-existing-audio mix` to keep it or `--on-existing-audio replace` to drop it; `replace` over sound returns a `warning`, because it drops every line of dialogue with it. With `mix`, add `--duck` to lower the original sound only while the added sound plays, such as narration over a scene's ambience. Narration never plays over someone talking in the clip: delivery reports it. For a narration-only recap revision, mix from the saved pre-narration cut with its original dialogue (for example, `render/pre-narration.mp4`). Reuse unchanged voice files at their existing offsets and replace only the changed lines. For fixed-picture dubbing, `--segments` entries may declare an `end_sec` as well as `start_sec`; all entries then need ordered picture windows. The script measures existing speech before mixing and refuses a line that exceeds its window without generating audio or shortening the picture. Before processing localization audio, read [localization guidance](references/transcript-and-screen-grounded-editing.md); it owns picture timing, reuse and bounded re-voicing.
Write the intended characters directly into a UTF-8 subtitle file and pass its path to `burnsubs --srt`. Preserve explicitly requested literal escape notation and keep caption text out of inline filters.
`burnsubs` raises plain dialogue captions on vertical video so platform buttons do not cover them. This default is not a layout for independently placed text: simultaneous SRT cues can stack over the subject. Inspect source frames before choosing text positions. Honor requested placement; otherwise choose stable positions clear of other text and important faces, products, labels and controls. Check moving content across its relevant motion. Adjust text position, wrapping and readable size without changing the source framing to make room. An authored `.ass` keeps its own placement; designed text and price cards use the page render. When the picture already has captions burned in, as when making another language's version, `--cover '{"top":0.75,"bottom":0.9}'` (the old captions' band, as fractions of the height read off a frame) lays an opaque bar over them and puts the new captions on it.
When no op covers it (rotate, speed change, GIF), run the bundled `ffmpeg` from bash; use `OVS_FFMPEG_PATH` when the runtime is not on PATH. Write to a new file, pass `-nostdin`, bound every input, then `probe` and `extract-frame` to look at the result. Never draw words with `drawtext`: without the right font, Chinese comes out as empty boxes. Burn captions through `burnsubs`; other words on screen go through the page render.
## Which tool
- One step (trim 0:10–0:35, make it 9:16, compress): do it, then `ovs timeline ship` with a JSON `--expect` containing durationSec, aspect and audio.
- Finding what to keep (remove dead air, fillers or retakes, pick the best take, pick highlights, cut 40 minutes to 2): read `stage-decide` first, however short the clip.
- Designed text, price cards or motion: use the page render. For a long cut that needs only a designed title, render just the title with `ovs timeline render` and `concat` it on.
...From Orkas-AI's repository, MIT licence.
Related skills
-
Checked
Remotion video renderer
Builds and renders finished MP4 videos in Remotion with word by word captions, transitions and overlays.
7/101 credit -
Checked
HTML to MP4 recorder
Records HTML and CSS animations to MP4 with a headless browser and ffmpeg, so your videos render cleanly.
8/101 credit -
Checked
Shorts script and edit
Turns a topic or long video into a shot by shot script, hook options and an edit plan that holds viewers.
8/101 credit -
Checked
Video meme maker
Makes video and GIF memes by tracking a logo or face onto moving objects in a clip, then exports MP4 and GIF.
7/101 credit -
Checked
Cut to the beat
Plans video edits that cut to the beat, with transitions, speed ramps and pacing for your editor or Remotion.
8/101 credit -
Checked
Podcast clip finder
Pulls 8 to 12 ranked short clips from a long video or podcast, each with a hook, timestamps and captions.
7/101 credit