Comfy-Org / Comfy-Org/ComfyUI

LatentConcat extra frames when adding by time

Open
#9,752 0 comments 1 reaction 0 assignees View on GitHub
Potential Bug
Dominant language
Python
Stars
133k
Forks
15.7k
Avg merge
1d 10h
Merged PRs (30d)
153

Description

### Custom Node Testing

- [ ] I have tried disabling custom nodes and the issue persists (see [how to disable custom nodes](https://docs.comfy.org/troubleshooting/custom-node-issues#step-1%3A-test-with-all-custom-nodes-disabled) if you need help)

### Expected Behavior

if I add two videos, I should get as many frames as they have

### Actual Behavior

when I use the latentconcat node for adding two WAN2.2 videos, 3 frames are inserted between them for some reason, it is unknown where they come from and they are of poor quality

Image

### Steps to Reproduce

I just create two WAN2.2 videos in one workspace and combine them using latentconcat

### Debug Logs

```powershell
s1.shape=torch.Size([1, 16, 21, 49, 90]), s2.shape=torch.Size([1, 16, 21, 49, 90]), dim=t
```

### Other

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.