Feat: Add transition_video functionality for infinite video relay (Ref: PR #1946)#1988
Feat: Add transition_video functionality for infinite video relay (Ref: PR #1946)#1988FX-FeiHou wants to merge 0 commit into
Conversation
|
Hi, bro. I've reviewed the code you modified. Based on your work, I've moved it to the WAN image video encode module and it's still under testing. If it works out, I'd like to hand over the final touches to you. Is that okay? TEST-preview,PURE I2V workflow SE_X265.DEU_ItVx3.P1+2._v1.5.2__00039.mp4 |
I'd be glad to help with the final touches. Just a heads-up — my schedule's been quite tight lately, so it might take me another 2–3 weeks before I can start on this part. Would that timeline work for you? |
Thank you for your reply! Sure, bro. I'm not in a hurry. I'll just reply with the code to you later (I don't know how to send files to you on GitHub). Currently, the operation is not very stable. In fast I2V scenarios, it doesn't work well with slightly higher cfg values, especially for activities like running. Then, if there is even a little intensity in the 0123 channels of the latent transferred from image_embed, the image will break down. But if the 0123 channels are fully masked, it's as if there were no reference image, and the image degradation will be more obvious. I still don't know how to handle it. I've tried many methods, but none of them seem reasonable. My own coding skills are very poor, and the code was completed with the help of AI, so it will be very unstandardized. However, the main framework of the entire code, as well as the two files node.py and nodes_simplers.py, were basically written following your logic. Besides, I'm not sure what unexpected impacts it might have on other interfaces. Also, my English is very poor. I have to rely on a translator to reply. Please excuse me if there's anything inappropriate. If you want to see the current code, I can also send it to you. But in any case, there will be some strange and odd problems. DEU_ItVx3.P1+2._v1.5.2__00050.mp4Sometimes, slow-motion situations may occur. At such times, the model will automatically reduce the playback speed (while the control framework (CFG) remains unchanged). DEU_ItVx3.P1+2._v1.5.2__00046.mp4 |
|
哥们,你打中文就可以了。。。。 |
哈哈,那就好说了~ |
原来你也是国人啊 w |
哈哈!原来如此都是国人哈哈,直接传latent我想了想应该这样更合理,我试了好几次,那个latent好像还带着sigma的数据、我之前一直想用连线法实现真转移,后来发现必须上一段的sigma状态和下一段的sigma状态严格对齐,才能正常输出,要不这两段的噪声阶段不一致就不符合它的什么降噪的公式还是曲线,画面就会崩,我现在强制开启了保真的VAE FP32(我把node.py加载vae的部分也给动了)好像也不行,不行的原因是因为遮罩噪点那个部分实际相当于渐变了,数据就变少了还是什么的,就是我上传视频中间闪了一下那个地方。那个就是交界处 |
也许可以参考wan aniamate自带的loop的逻辑,不过这样的话,到后期还是会有劣化。到时候具体的再看吧,我最近比较忙,可能得等1个月左右才会有空,我也不太确定能不能找到能真正延长视频的方案,你先琢磨一下看看。 |
DEU_ItVx3.P1+2+3.Origin._v1.5.2__00033.mp4正好出了一个标志性的结果,1 / 2 段的视频雪花粒传递了过去,到 2 / 3段 就没捕捉到,而且这个视频刚好将劣化显示了出来 |
DEU_ItVx3.P123GNU._v1.5.2__00049.mp4我感觉得换方向,这个视频较好的展示了当传入完整32帧时的采样过程。模型努力捕捉画面,但来不及降噪,融合区就已经结束了,然后剩余的噪声被带到了自然推理的后半段,再然后找不到合理性,数值崩溃,直接甩出来了陌生画面 |


Description
This PR introduces the
transition_videofunctionality to the WanVideo wrapper. This feature is a critical component for advanced long-video workflows, such as infinite video relay.I noticed that @wuwukaka previously submitted a similar PR (#1946) which hasn't been merged yet. My friend and I have been using their modified version to develop a node system that enables infinite video relay generation through simple settings.
Since this functionality is vital for seamless stitching in relay-style workflows, I've integrated the logic from wuwukaka's fork into the current
nodes.pyandnodes_sampler.py. I am resubmitting this to help bring this highly requested feature to the main repository for the benefit of the entire community.Key Features
I have attached a demonstration video below to showcase the seamless final result achieved with this implementation.
default.mp4
Acknowledgements
https://youtube.com/shorts/yB4RMItJ1RM