ComfyUI > Nodes > IAMCCS-nodes > Two Segment Planner (stable 2SEG)

ComfyUI Node: Two Segment Planner (stable 2SEG)

Class Name

IAMCCS_TwoSegmentPlanner

Category
IAMCCS/LTX-2
Author
IAMCCS (Account age: 2204days)
Extension
IAMCCS-nodes
Latest Updated
2026-03-27
Github Stars
0.08K

How to Install IAMCCS-nodes

Install this extension via the ComfyUI Manager by searching for IAMCCS-nodes
  • 1. Click the Manager button in the main menu
  • 2. Select Custom Nodes Manager button
  • 3. Enter IAMCCS-nodes in the search bar
After installation, click the Restart button to restart ComfyUI. Then, manually refresh your browser to clear the cache and access the updated list of nodes.

Visit ComfyUI Online for ready-to-use ComfyUI environment

  • Free trial available
  • 16GB VRAM to 80GB VRAM GPU machines
  • 400+ preloaded models/nodes
  • Freedom to upload custom models/nodes
  • 200+ ready-to-run workflows
  • 100% private workspace with up to 200GB storage
  • Dedicated Support

Run ComfyUI Online

Two Segment Planner (stable 2SEG) Description

Divides media into two segments for focused content manipulation and effect application.

Two Segment Planner (stable 2SEG):

The IAMCCS_TwoSegmentPlanner is a specialized node designed to facilitate the planning and segmentation of media content, particularly in scenarios where a two-segment division is optimal. This node is part of the IAMCCS suite of tools, which are tailored for creative professionals working with video and audio content. The primary function of this node is to divide a given media duration into two distinct segments, allowing for more manageable and focused content manipulation. This segmentation is particularly beneficial for artists and creators who need to apply different effects or transitions to separate parts of their media. By using the IAMCCS_TwoSegmentPlanner, you can ensure that your content is divided in a stable and predictable manner, which is crucial for maintaining the integrity and flow of your creative projects.

Two Segment Planner (stable 2SEG) Input Parameters:

song_duration_s

This parameter specifies the total duration of the media content in seconds. It is crucial for determining how the content will be divided into segments. The value should be a positive float representing the total length of the song or video. There are no explicit minimum or maximum values, but it should logically correspond to the actual duration of the media being processed.

fps

The frames per second (fps) parameter defines the frame rate of the media content. This is important for calculating the number of frames in each segment and ensuring smooth transitions. The fps should be a positive float, typically ranging from 24 to 60 for most video content, depending on the desired quality and smoothness.

segment_duration_s

This parameter indicates the desired duration of each segment in seconds. It helps in determining how the media will be split into two segments. The value should be a positive float, and it should logically be less than or equal to half of the song_duration_s to ensure that the content can be divided into two segments.

planning_mode

The planning mode parameter allows you to specify the strategy or method used for segment planning. This could include options like equal, custom, or other predefined modes that dictate how the segments are calculated. The exact options available are not specified, but they should align with the intended use case and creative goals.

content_profile

This parameter defines the content profile, which may include settings or presets that influence how the segments are processed. It could affect aspects like color grading, audio levels, or other artistic elements. The exact options are not detailed, but they should be chosen based on the desired outcome for the media content.

overlap_frames

Overlap frames specify the number of frames that will overlap between the two segments. This is useful for creating smooth transitions or effects that span both segments. The value should be a non-negative integer, with a typical range depending on the fps and the desired transition effect.

ltx_round_mode

The ltx round mode parameter determines the rounding method used when calculating segment boundaries. This can affect the precision and alignment of the segments. The exact options are not specified, but they should be chosen based on the need for precision or artistic effect.

segment_index

This parameter specifies which segment is being referenced or manipulated. It is an integer value, typically 0 or 1, indicating the first or second segment, respectively. This is important for operations that need to target a specific segment.

Two Segment Planner (stable 2SEG) Output Parameters:

segment_plan

The segment plan output provides a detailed breakdown of how the media content is divided into two segments. It includes information such as the start and end times of each segment, the number of frames, and any overlap details. This output is crucial for further processing and ensures that the segmentation aligns with the intended creative vision.

Two Segment Planner (stable 2SEG) Usage Tips:

  • Ensure that the song_duration_s accurately reflects the total length of your media to avoid misalignment in segment planning.
  • Choose the fps value that matches your media's frame rate to maintain consistency and avoid frame dropping or duplication.
  • Use the overlap_frames parameter to create seamless transitions between segments, especially if applying effects that span both segments.

Two Segment Planner (stable 2SEG) Common Errors and Solutions:

Invalid segment duration

  • Explanation: The segment_duration_s is greater than half of the song_duration_s, making it impossible to divide the content into two segments.
  • Solution: Adjust the segment_duration_s to be less than or equal to half of the song_duration_s.

Unsupported planning mode

  • Explanation: The planning_mode specified is not recognized by the node.
  • Solution: Verify the available planning modes and select a valid option that aligns with your project requirements.

Frame rate mismatch

  • Explanation: The fps value does not match the actual frame rate of the media, leading to incorrect frame calculations.
  • Solution: Ensure that the fps parameter matches the frame rate of your media content to maintain synchronization.

Two Segment Planner (stable 2SEG) Related Nodes

Go back to the extension to check out more related nodes.
IAMCCS-nodes
RunComfy
Copyright 2025 RunComfy. All Rights Reserved.

RunComfy is the premier ComfyUI platform, offering ComfyUI online environment and services, along with ComfyUI workflows featuring stunning visuals. RunComfy also provides AI Models, enabling artists to harness the latest AI tools to create incredible art.

Two Segment Planner (stable 2SEG)