Open Persite007 opened 1 year ago
If you use the LoadVideo node from this repo, there should be a frame_count
output already. Or you can use the ImageSizeAndBatchSize
node. Batch size is the number of frames. Here's the example vid2vid workflow
You have probably found the solution, but for other visitors:
Add 'Math Expression', connect 'frame_count' to 'a' and fill in a a simple 'a' (without the quotes). You will have to run 'Queue Prompt' to get the result, being the number of frames.
If you found a better solution, please let me know.
Hi, Which node to add to know the number of frames of a imported video? In load_video node there is a link for frame_count but no node for that in AnimateDiff/evolved menus. Not showed in Vid2Vid workflow sample... and no results with Google or Github about that. Thx