Trim local video without re-encoding
abox_video_trimCopies selected MP4/MOV time ranges into a new MP4 and verifies copied packets and edit lists. Use it to extract clips; non-keyframe starts require allow_preroll=true.
Instructions
Copy selected MP4/MOV ranges into a new MP4 using the existing website sample-copy engine. Verifies every copied packet and output edit list. First non-keyframe cuts require explicit allow_preroll:true; later sections must start on keyframes. Encoded boundary footage can remain hidden by edit lists, so this is not redaction. Incoming edited timelines are refused. Requires no browser.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ranges | Yes | ||
| input_path | Yes | Absolute local filesystem path. URLs and network shares are refused. | |
| keep_audio | No | ||
| output_path | Yes | Absolute local filesystem path. URLs and network shares are refused. | |
| allow_preroll | No |