Nodes/ComfyUI-AusBoss/Video Crop + Rotate + Pad β†’ Frame πŸ†Ž
ComfyUI Node

Video Crop + Rotate + Pad β†’ Frame πŸ†Ž

Picks ONE frame out of a video and applies the same visual rotate, crop, and pad transform as the image node. The output is a single image, not a clip β€” the editor's timeline is there to find the frame, not to trim a range.

By ausbossΒ·Created about a month agoΒ·Updated 7 days agoΒ· 2
Video Crop + Rotate + Pad β†’ Frame πŸ†Ž
    • image
    • mask
    β—„videoβ–Ύβ–Ί
    β—„source_modeinput folderβ–Ί
    β—„local_pathβ–Ί
    β—„seek_modeframe indexβ–Ί
    β—„frame_index0β–Ί
    β—„frame_time0.000β–Ί
    β—„rotation_degrees0.0β–Ί
    β—„crop_aspect_ratiofreeβ–Ί
    β—„crop_x0β–Ί
    β—„crop_y0β–Ί
    β—„crop_width0β–Ί
    β—„crop_height0β–Ί
    β—„pad_left0β–Ί
    β—„pad_top0β–Ί
    β—„pad_right0β–Ί
    β—„pad_bottom0β–Ί
    β—„feather24β–Ί
    β—„canvas_multiple1β–Ί
    β—„fill_color#808080β–Ί
    CategoryπŸ†Ž AusBoss/Video

    Inputs (19)

    NameTypeDefaultDescription
    videoCOMBOChoose a video in ComfyUI's input folder or use the upload button.
    source_modeCOMBOinput folderLocal path mode avoids copying large videos.
    local_pathSTRINGAbsolute local video path used only in local path mode. Queued runs always read it; editor previews need AUSBOSS_TRANSFORM_LOCAL_PREVIEW=1.
    seek_modeCOMBOframe index2 options: frame index, time seconds
    frame_indexINT00–100000000Zero-based target frame.
    frame_timeFLOAT0.0000–86400Target seconds in time mode.
    rotation_degreesFLOAT0.0-180–180Clockwise rotation applied before crop and padding.
    crop_aspect_ratioCOMBOfreeLocks crop handles to a ratio; free allows any rectangle.
    crop_xINT00–65536β€”
    crop_yINT00–65536β€”
    crop_widthINT00–655360 keeps the full available width.
    crop_heightINT00–655360 keeps the full available height.
    pad_leftINT00–32768β€”
    pad_topINT00–32768β€”
    pad_rightINT00–32768β€”
    pad_bottomINT00–32768β€”
    featherINT240–4096Feathers the mask into kept pixels and fades the image edge into the fill color.
    canvas_multipleINT11–4096Rounds output up by adding the minimum extra pixels to right and bottom.
    fill_colorSTRING#808080Color for rotation voids and padding; accepts #RGB/#RRGGBB hex, R, G, B (0-255 or 0..1 floats), one grayscale number, or a CSS color name. Unparseable values fall back to mid-gray.

    Outputs (2)

    NameTypeDescription
    imageIMAGEThe selected and transformed frame as a one-image BHWC batch.
    maskMASKBHW generated-area mask: rotation corners and padding.