Change or render the video
edit_videoChange the camera path and render it as video: add or delete keyframes, clear path, generate an aerial orbit, adjust fps/speed, and write a Motion-JPEG AVI file.
Instructions
Change the video camera path, or render it. add {cam? | x?,y?,z?,yaw?,pitch?,fov?, i?} appends a keyframe (missing values from the visitor); delete {i}; clear; orbit {z?,n?} replaces the path with an aerial tour; set {fps?,speed?}; render {path .avi, w?,h?} writes a Motion-JPEG video. cm, degrees, m/s. The path itself is the video tool.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| h | No | Video height, px | |
| i | No | Keyframe index (`delete`, or insert position for `add`) | |
| n | No | Keyframes for `orbit` | |
| w | No | Video width, px | |
| x | No | Keyframe eye position on the plan, cm | |
| y | No | Keyframe eye position on the plan, cm (y grows down) | |
| z | No | Keyframe eye height, cm | |
| cam | No | Stored view index to add as keyframe | |
| fov | No | Keyframe horizontal field of view, degrees | |
| fps | No | Frames per second of the rendered video | |
| yaw | No | Keyframe direction, degrees clockwise on the plan | |
| path | No | Output `.avi` for `render` | |
| pitch | No | Keyframe tilt, degrees down | |
| speed | No | Camera speed m/s | |
| action | No | `add`, `delete`, `clear`, `orbit`, `set` or `render` |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| v | No | Plan version written to, when there are several | |
| ok | No | Always true | |
| ids | No | Ids created or touched | |
| rev | No | Plan revision | |
| secs | No | action=render: length in seconds | |
| text | No | The reply as written | |
| bytes | No | action=render: file size | |
| frames | No | action=render: frames written |