Rotate a local video without re-encoding
abox_video_rotateRotate an MP4 or MOV by 90, 180, or 270 degrees by copying packets into a new MP4 with a display matrix and verifying the output without decoding.
Instructions
Copy an admitted MP4/MOV video into a new MP4 with a 90, 180 or 270 degree display matrix rotation. Verifies every packet, timeline, description and matrix without decoding. Standard orientation and unsquashed geometry only; fragmented or edited timelines are refused. Sound must be AAC or explicitly omitted. Pixels are not baked into the new orientation; player support varies. Requires no browser.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"input_path": "<input_path>",
"output_path": "<output_path>"
},
"name": "abox_video_rotate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| degrees | 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. |