Save 4 hours! We auto-setup your workflow! Free!

Drop your workflow.json โ€” we handle every dependency, custom node, and model. Just open the link and run.

Auto-Setup Workflow Json (Free) Now!
ComfyUI > Nodes > ComfyUI-H3-Latent-Relay > ๐Ÿ”— H3 Relay ยท Trim AV

ComfyUI Node: ๐Ÿ”— H3 Relay ยท Trim AV

Class Name

H3RelayTrimAV

Category
H3 Latent Relay
Author
ZenHG (Account age: 3756days)
Extension
ComfyUI-H3-Latent-Relay
Latest Updated
2026-10-12
Github Stars
0.03K

How to Install ComfyUI-H3-Latent-Relay

Install this extension via the ComfyUI Manager by searching for ComfyUI-H3-Latent-Relay
  • 1. Click the Manager button in the main menu
  • 2. Select Custom Nodes Manager button
  • 3. Enter ComfyUI-H3-Latent-Relay 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

๐Ÿ”— H3 Relay ยท Trim AV Description

Specialized node for seamless video/audio transition by trimming overlapping frames, ensuring synchronized playback without artifacts.

๐Ÿ”— H3 Relay ยท Trim AV:

H3RelayTrimAV is a specialized node designed to manage the seamless transition between video and audio segments by trimming overlapping frames at the beginning of a new segment. This node ensures that both video and audio are synchronized and free from noticeable jumps or repetitions at the transition points. The primary purpose of H3RelayTrimAV is to eliminate the redundant frames that result from the model's regeneration of the previous segment's tail, which can cause visible artifacts if not addressed. By focusing on the temporal axis, this node effectively trims the overlapping frames after decoding, ensuring a smooth and continuous playback experience. This functionality is crucial for maintaining the integrity of the visual and auditory experience, especially in projects where multiple segments are stitched together.

๐Ÿ”— H3 Relay ยท Trim AV Input Parameters:

images

This parameter represents the decoded image frames that need to be processed. The function of this parameter is to provide the node with the visual data that will undergo trimming to remove overlapping frames. The images input is crucial for ensuring that the visual continuity is maintained across segments.

audio

The audio parameter provides the corresponding audio data that accompanies the video frames. Its function is to ensure that the audio is trimmed in sync with the video, preventing any desynchronization between the two media types. This parameter is essential for maintaining audio-visual coherence.

trim_frames

This integer parameter specifies the number of frames to be trimmed from the beginning of the segment. It directly impacts the node's execution by determining the extent of overlap removal, ensuring that only the necessary frames are retained for a smooth transition. The default value is typically set based on the overlap duration, with a minimum of 0 and a maximum depending on the segment length.

fps

The frames per second (fps) parameter indicates the frame rate of the video. It is used to calculate the duration of the trimmed segment in seconds, ensuring that the trimming process aligns with the intended playback speed. This parameter is crucial for maintaining the temporal accuracy of the video.

settle_frames

This parameter defines the number of frames to be retained for settling purposes, ensuring that the transition between segments is smooth and free from abrupt changes. A default value of 0 indicates that only the overlapping frames are trimmed, while higher values allow for additional settling frames to be included.

๐Ÿ”— H3 Relay ยท Trim AV Output Parameters:

images

The output images parameter provides the trimmed video frames, ensuring that the visual content is free from overlapping artifacts. This output is crucial for maintaining the visual continuity and quality of the video.

audio

The audio output parameter delivers the synchronized audio data that corresponds to the trimmed video frames. This ensures that the audio remains in sync with the video, providing a seamless auditory experience.

prev_tail

This output parameter represents the last frame of the previous segment, which is used as a reference for ensuring continuity across segments. It is essential for maintaining the visual and auditory coherence of the entire sequence.

๐Ÿ”— H3 Relay ยท Trim AV Usage Tips:

  • Ensure that the trim_frames parameter is set appropriately to match the overlap duration between segments, as this will prevent visible artifacts at transition points.
  • Use the fps parameter to align the trimming process with the intended playback speed, ensuring that the temporal accuracy of the video is maintained.
  • Consider adjusting the settle_frames parameter if you notice abrupt changes at segment transitions, as this can help smooth out the transition.

๐Ÿ”— H3 Relay ยท Trim AV Common Errors and Solutions:

"Required input is missing"

  • Explanation: This error occurs when one or more necessary input parameters are not provided to the node.
  • Solution: Ensure that all required inputs, such as images, audio, and trim_frames, are correctly connected and provided to the node.

"Mismatch in frame rate"

  • Explanation: This error indicates a discrepancy between the specified fps and the actual frame rate of the input video.
  • Solution: Verify that the fps parameter matches the frame rate of the input video to ensure accurate trimming and synchronization.

"Audio desynchronization detected"

  • Explanation: This error suggests that the audio and video are not properly synchronized after trimming.
  • Solution: Double-check the audio input and ensure that it is correctly aligned with the images input, adjusting the trim_frames parameter if necessary.

๐Ÿ”— H3 Relay ยท Trim AV Related Nodes

Go back to the extension to check out more related nodes.
ComfyUI-H3-Latent-Relay
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.

๐Ÿ”— H3 Relay ยท Trim AV