render_video
Renders a Blender scene's frame range to a single video file with sound. It uses sequencer strips if available or renders the 3D scene, following the scene's fps.
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. 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 | /tmp/render.mp4 | |
| container | No | MPEG4 | |
| audio_codec | No | AAC |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||