ComfyUI Node
Create360SweepVideoFramesNode
Generate rotational frames from 360° equirectangular images and save them into <output_dir>/video_frames/.
Create360SweepVideoFramesNode
- images
◄output_dir/tmp/ComfyUI/output►
◄filename_prefixsweep360►
◄width1920►
◄height1080►
◄fps60►
◄duration_per_image5.00►
◄total_duration0.00►
◄fov_h120.00►
◄fov_w100.00►
◄speed_profileconstant►
◄interpolation_modebilinear►
◄vertical_modenone►
◄vertical_amplitude_deg15.00►
◄vertical_patternsine►
◄vertical_pole_fraction0.50►
◄start_yaw_deg0.00►
◄end_yaw_deg360.00►
◄save_formatpng►
Categorypytorch360convert/video
Inputs (19)
| Name | Type | Default | Description |
|---|---|---|---|
| images | IMAGE | Input equirectangular images (BHWC tensor). | |
| output_dir | STRING | /tmp/ComfyUI/output | Where to save frames (video_frames subfolder added). |
| filename_prefix | STRING | sweep360 | Prefix for saved frames |
| width | INT | 1920 | Output frame width (pixels). Should match fov_w:fov_h ratio for best results. |
| height | INT | 1080 | Output frame height (pixels). Should match fov_w:fov_h ratio for best results. |
| fps | INT | 60 | Frames per second. |
| duration_per_image | FLOAT | 5.00 | Seconds per 360° sweep (per input image). |
| total_duration | FLOAT | 0.00 | Total duration for all images (overrides duration_per_image if >0). |
| fov_h | FLOAT | 120.00 | Horizontal FOV (degrees). Should match width:height ratio for best results. |
| fov_w | FLOAT | 100.00 | Vertical FOV (degrees). Should match width:height ratio for best results. |
| speed_profile | COMBO | constant | Yaw speed profile. |
| interpolation_mode | COMBO | bilinear | Sampling mode for equirectangular to projection. |
| vertical_mode | COMBO | none | Vertical movement mode. Only used if vertical_mode is not set to None. |
| vertical_amplitude_deg | FLOAT | 15.00 | Amplitude in degrees for vertical motion. Only used if vertical_mode is not set to None. |
| vertical_pattern | COMBO | sine | Pattern for vertical motion. Only used if vertical_mode is not set to None. |
| vertical_pole_fraction | FLOAT | 0.50 | Fraction of frames for separate pole sweep. Only used if vertical_mode is not set to None. |
| start_yaw_deg | FLOAT | 0.00 | Starting yaw angle (degrees). |
| end_yaw_deg | FLOAT | 360.00 | Ending yaw angle (degrees). |
| save_format | COMBO | png | Image format for saved frames. |
Outputs (0)
No outputs