Cut a clip
extract_clipCut a precise segment from a remote archive.org video into a verified H.264 MP4 with provenance JSON and three check frames. Repeating the same cut returns the existing clip.
Instructions
Cut start_s..start_s+duration_s from a remote archive.org video into a verified H.264 MP4 under BROLL_HOME/clips, with a provenance JSON beside it. Returns 3 check frames. Repeating the same cut returns the existing clip.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | Yes | ||
| audio | No | B-roll is usually silent; false strips audio. | |
| brief | No | The brief this clip answers; stored in the provenance record. | |
| label | No | Short name used in the output file name. | |
| start_s | Yes | ||
| duration_s | Yes | ||
| identifier | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| cache | Yes | ||
| clip_id | Yes | ||
| verified | Yes | ||
| provenance | Yes | ||
| provenance_path | Yes | ||
| upstream_requests | Yes |