-
Notifications
You must be signed in to change notification settings - Fork 109
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
added initial scaffolding for SaveImageSequence node #7
base: main
Are you sure you want to change the base?
Conversation
Timestamp will be implemented in a later commit after being merged with the fix for timestamp formatting.
A search_folder option has been added to Load Video to allow for video files to be loaded directly from temp, or output directories The date formatting support available on the Image save node has been added to the Video Combine node A typo in extension name, and several debugging lines have been cleaned
This also adds the client side logic for timestamp_directory I had hoped to find a solution that would grey out, or hide directory_name when timestamp_directory is checked, but this should be sufficiently unambiguous
I've implemented the SaveImageSequence node as true to your specs as possible. I've got date formatting hooked up and able to output dates in year first format (yyyy-MM-ddThh:mm:ss / 2023‐09‐29T12:50:27). Currently, this extra parsing functionality is only to the Video Combine node and Save Image Sequence I'm still pondering viability of a copy node. As a potential alternative, I've added a 'search_folder' option to Load Video to let it instead load videos from the output or temp directory. As best I can tell folders written in the filename_prefix for the Combine Video node work with no changes needed. So the issue of output management seems to come down to a question of how to expose this information to the user. I've considered implementing a I've got a short list of things I that need work/testing:
|
Awesome, I'll test later today/tomorrow and I can pick up from here |
Hey, sorry I have not had a chance to check things out in VideoHelperSuite, I took a few days break from coding last weekend and then had my hands full with implementing HotshotXL into AnimateDiff and investigating some Mac and lowvram issues. At some point this weekend I'll merge the PRs in and do some edits. I'll kinda use this to set some goals I think want for this repo:
|
What's the intended way to use the date format here? |
I agree with the mindset of both points. I shall keep them in mind in future contributions. Regarding dates, the vanilla 'Save Image' node has a builtin plugin (web/extensions/core/saveImageExtraOutput.js) that will take a string like %date:yyyy-MM-ddThh:mm:ss% where everything between the colon and closing percent describes the desired format for the date. My best guess for the reasoning of this being done in javascript is so multiple nodes in a single workflow will have the same timestamp of when the workflow is queued instead of individual timestamps of when the node was executed. The existing plugin was hard coded to only use the saveImage node, so just the interesting part (date formatting) was reimplemented here. This format is more complex than it should have to be for the end user (I was completely unaware that the vanilla functionality existed), so the save image sequence node also has a toggle that will lock directory_name to an appropriate format string. My intent is to have parity with the builtin date formatting for those who are familiar (like fizzledorf) without requiring the average user understands esoteric format strings. |
Updated AnimateDiff Loader with proper handling of axes_factor (no longer exposed)
Hey, some of the remaining big features I think we need to support are:
I want to spend tomorrow looking into some fixes/improvements to Advanced-ControlNet and AnimateDiff, so if you'd have the time to look into this, that would be amazing!
Fizz worked on an initial version of the node for AnimateDiff repo, so that might be a good place to look for the formatted timestamp impl: Kosinkadink/ComfyUI-AnimateDiff-Evolved#11