Nodes/ComfyUI_AIMZ/AIMZ Video Duration Selector
ComfyUI Node

AIMZ Video Duration Selector

A ComfyUI node in AIMZ/Workflow with 7 inputs and 5 outputs.

By AIMZ-GFX·Created 8 days ago·Updated 5 days ago· 3
AIMZ Video Duration Selector
    • total_frames
    • final_seconds
    • effective_fps
    • raw_frames
    • source_seconds
    modeSource Video (V2V)
    custom_seconds6.0
    default_fps24
    minimax_aligntrue
    source_frames
    source_duration
    source_fps
    CategoryAIMZ/Workflow

    Inputs (7)

    NameTypeDefaultDescription
    modeCOMBOSource Video (V2V)2 options: Source Video (V2V), Custom Seconds (R2V)
    custom_secondsFLOAT6.00.1–600Desired duration in seconds for R2V mode
    default_fpsFLOAT241–240Default FPS used when source_fps is not connected
    minimax_alignBOOLEANtrueAlign frame count to MiniMax H3 formula: max(5, round(sec * fps)) + (5 - (max(...) % 17)) % 17
    source_framesoptINTConnect Get_length or video frame_count directly (Optional, None-safe)
    source_durationoptFLOATConnect source video duration in seconds (Optional, None-safe)
    source_fpsoptFLOATConnect Get_FPS (Optional, None-safe)

    Outputs (5)

    NameTypeDescription
    total_framesINT
    final_secondsFLOAT
    effective_fpsFLOAT
    raw_framesINT
    source_secondsFLOAT