ComfyUI/comfy_api/latest/_util
bymyself 86317e32b8 feat: enhance SaveVideo with DynamicCombo for codec-specific options
Major changes:
- SaveVideo now uses DynamicCombo to show codec-specific encoding options
- When selecting h264 or vp9, quality and speed inputs appear dynamically
- Each codec has unique ADVANCED options (shown in 'Show Advanced' section):
  - h264: Profile (baseline/main/high), Tune (film/animation/grain/etc.)
  - vp9: Row Multi-threading, Tile Columns
- Quality maps to CRF internally with codec-appropriate ranges
- Speed presets map to FFmpeg presets

New types:
- VideoSpeedPreset enum with user-friendly names
- quality_to_crf() helper function

This demonstrates both DynamicCombo (codec-specific inputs) and advanced
widgets (profile/tune/row_mt/tile_columns hidden by default).

Amp-Thread-ID: https://ampcode.com/threads/T-019bce44-e743-7349-8bad-d3027d456fb1
Co-authored-by: Amp <amp@ampcode.com>
2026-01-17 17:09:19 -08:00
..
__init__.py feat: enhance SaveVideo with DynamicCombo for codec-specific options 2026-01-17 17:09:19 -08:00
geometry_types.py convert hunyuan3d.py to V3 schema (#10664) 2025-11-19 14:49:01 -08:00
image_types.py [V3] converted nodes_images.py to V3 schema (#11206) 2025-12-26 19:39:02 -08:00
video_types.py feat: enhance SaveVideo with DynamicCombo for codec-specific options 2026-01-17 17:09:19 -08:00