Compress a local H.264 video
abox_video_compressCompress H.264 MP4/MOV videos locally to a target byte size, validating frames and timestamps while preserving supported audio when requested.
Instructions
Decode an admitted H.264 MP4/MOV locally and re-encode a new MP4 toward a byte target using the website engine. Checks sequence headers and slice prefixes before decoding and verifies all generated frames and timestamps. Copies supported audio packets exactly when requested. Check fitted; the target can be missed and size or color can change. Requires an installed browser with native H.264 decode/encode support.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| max_side | No | ||
| 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. | |
| target_bytes | Yes |