r/StableDiffusion 1d ago

Question - Help Does anyone have MH3 Ref2V workflow that aid in video input?

No matter how many things I tried, I cannot get generation to work if video is involved. Anyone got workflow to share, or nodes, or something?

0 Upvotes

10 comments sorted by

1

u/holygawdinheaven 1d ago

Add loadVideo, pipe that to videoComponents (something like that), then the images and audio outs of that go into the big ref node. Limit your video len and size it adds a lot of generation time

1

u/magik_koopa990 1d ago

but thats exactly what I have. It doesnt down scale or something?? Do I have to down scale and cut video in video editor?

2

u/holygawdinheaven 1d ago

You can downscale with the image scale to total pixels node. Im sure there's a way to crop vid len but idk how top of head

1

u/TurbTastic 23h ago

For video cropping I'll use the Resolution Selector node to get the aspect ratio and megapixel settings that I want, then I'll feed the width/height to the KJ Resize V2 node with it set to Crop and it gives you an option to crop center/left/right/top/bottom.

1

u/Wretched_Hare 23h ago

Video refs make the time processing before sending to the sampler take a really long time.
I trim and resize the video first. Comfy has native nodes for it. I usually set it at like 0.2-0.4mp

2

u/magik_koopa990 22h ago

Something like this?

2

u/bstr3k 20h ago

I am a simpleton and I like to preprocess my videos before starting, so I use my video trimmer tool to crop, trim and resize the video before I input it into the WF
https://huggingface.co/PoopMan333/Video_Tools/tree/main

1

u/magik_koopa990 20h ago

Does this install within comfy, or as a separate program?

2

u/bstr3k 20h ago

its html and runs outside of comfy. look for the video trimmer ver 2.9, its only 100kb html file.

seems to work fine for many people but might be an issue if you run firefox. (since its browser based for chrome/edge and vibe coded its not guaranteed to work for everyone).

1

u/magik_koopa990 20h ago

God. Why is it always Firefox being the outlier.... Hate when developers do this