Update Frames parameter documentation across Clone-Video.md, Create-Clip.md, Get-FramesRange.md and SKILL.md to clarify range validation behavior (start-end format rejects reversed ranges and out-of-bounds ends with exit code 1, single positive numbers clamp to last frame instead of erroring), add encoder/filter prerequisites table to SKILL.md listing libx264/libx265/libvpx-vp9/libopus/libmp3lame/libaom-av1/libwebp requirements per script with task-specific check guidance using ffmpeg -encoders,

This commit is contained in:
guru committed 2026-11-02 06:54:20 -05:00
1 parent 1227c6e153
commit 50c9d831e9
4 files changed
+26 -8

No files matched your search

+2 -2
View File
@@ -8,8 +8,8 @@ Sources carrying a `.skip` marker keep that marker last: `P01.skip.mp4` becomes
- **`-Video`** (required): Path to the input video file. Can be absolute or relative to current directory. Accepted containers: `.mp4`, `.webm`, `.mkv`. If the path has no extension the script tries `.mp4`, `.webm`, then `.mkv` in turn and uses the first match to determine the target filename extension.
- **`-Frames`** (required): 0-based frame range to clip. Supported formats:
- `start-end`: Clip frames from `start` to `end` (e.g., `"100-200"`)
- `positive_number`: Clip frames from 0 to that number (e.g., `"50"`)
- `start-end`: Clip frames from `start` to `end` (e.g., `"100-200"`). Both ends must lie inside the video, and `start` must not be greater than `end`. Otherwise the script stops with exit code `1`.
- `positive_number`: Clip frames from 0 to that number (e.g., `"50"`). A single number past the last frame is clamped to the last frame (`"150"` on a 100-frame video gives frames 0 to 99).
- `-N`: Clip the last N frames (e.g., `"-10"` clips frames 90 to 99 of a 100-frame video; `"-1"` clips the last frame only)
- `%`: The last frame index. Alone (`"%"`) it selects only the last frame. In a range (e.g., `"10-%"`) it is the end of the range
- `-%` is not supported and is rejected with exit code `1`