render_video
Render the scene's frame range to a single video file, with sound.
Instructions
Render the scene's frame range to a single video file, with sound.
Sequencer strips are used when there are any, so frames already rendered with render_animation can be assembled with a sound strip in seconds. With an empty sequencer the 3D scene is rendered. Playback speed follows the scene fps.
Args: filepath: Output path, in a directory that exists. Empty means the system temp directory. The extension must match the container: .mp4 for MPEG4, .mkv for MKV, .webm for WEBM. container: Video container. One of: MPEG4, MKV, WEBM. quality: Encoder quality preset, from LOWEST to LOSSLESS. audio_codec: Audio codec, or NONE for a silent video. WEBM accepts only OPUS or NONE.
Returns: Dict with the output path, frame range, and fps.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| quality | No | HIGH | |
| filepath | No | ||
| container | No | MPEG4 | |
| audio_codec | No | AAC |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||