yijin928 commited on
Commit
b4e8d50
·
verified ·
1 Parent(s): f48afbb

Upload 63 files

Browse files
This view is limited to 50 files because it contains too many changes.   See raw diff
Files changed (50) hide show
  1. custom_nodes/ComfyUI-VideoHelperSuite/.github/workflows/publish.yml +24 -0
  2. custom_nodes/ComfyUI-VideoHelperSuite/.gitignore +162 -0
  3. custom_nodes/ComfyUI-VideoHelperSuite/LICENSE +674 -0
  4. custom_nodes/ComfyUI-VideoHelperSuite/README.md +110 -0
  5. custom_nodes/ComfyUI-VideoHelperSuite/__init__.py +9 -0
  6. custom_nodes/ComfyUI-VideoHelperSuite/__pycache__/__init__.cpython-311.pyc +0 -0
  7. custom_nodes/ComfyUI-VideoHelperSuite/__pycache__/__init__.cpython-312.pyc +0 -0
  8. custom_nodes/ComfyUI-VideoHelperSuite/pyproject.toml +15 -0
  9. custom_nodes/ComfyUI-VideoHelperSuite/requirements.txt +2 -0
  10. custom_nodes/ComfyUI-VideoHelperSuite/testframework/README.md +5 -0
  11. custom_nodes/ComfyUI-VideoHelperSuite/testframework/__init__.py +6 -0
  12. custom_nodes/ComfyUI-VideoHelperSuite/testframework/server.py +60 -0
  13. custom_nodes/ComfyUI-VideoHelperSuite/testframework/web/js/testRunner.js +93 -0
  14. custom_nodes/ComfyUI-VideoHelperSuite/tests/README.md +1 -0
  15. custom_nodes/ComfyUI-VideoHelperSuite/tests/batch4x4.json +535 -0
  16. custom_nodes/ComfyUI-VideoHelperSuite/tests/converted-format-input.json +253 -0
  17. custom_nodes/ComfyUI-VideoHelperSuite/tests/converted-input.json +307 -0
  18. custom_nodes/ComfyUI-VideoHelperSuite/tests/loop.json +178 -0
  19. custom_nodes/ComfyUI-VideoHelperSuite/tests/old-vae-conversion.json +229 -0
  20. custom_nodes/ComfyUI-VideoHelperSuite/tests/simple.json +134 -0
  21. custom_nodes/ComfyUI-VideoHelperSuite/video_formats/16bit-png.json +9 -0
  22. custom_nodes/ComfyUI-VideoHelperSuite/video_formats/8bit-png.json +7 -0
  23. custom_nodes/ComfyUI-VideoHelperSuite/video_formats/ProRes.json +11 -0
  24. custom_nodes/ComfyUI-VideoHelperSuite/video_formats/av1-webm.json +15 -0
  25. custom_nodes/ComfyUI-VideoHelperSuite/video_formats/ffmpeg-gif.json +8 -0
  26. custom_nodes/ComfyUI-VideoHelperSuite/video_formats/gifski.json +10 -0
  27. custom_nodes/ComfyUI-VideoHelperSuite/video_formats/h264-mp4.json +14 -0
  28. custom_nodes/ComfyUI-VideoHelperSuite/video_formats/h265-mp4.json +16 -0
  29. custom_nodes/ComfyUI-VideoHelperSuite/video_formats/nvenc_h264-mp4.json +12 -0
  30. custom_nodes/ComfyUI-VideoHelperSuite/video_formats/nvenc_hevc-mp4.json +13 -0
  31. custom_nodes/ComfyUI-VideoHelperSuite/video_formats/webm.json +14 -0
  32. custom_nodes/ComfyUI-VideoHelperSuite/videohelpersuite/__pycache__/batched_nodes.cpython-311.pyc +0 -0
  33. custom_nodes/ComfyUI-VideoHelperSuite/videohelpersuite/__pycache__/batched_nodes.cpython-312.pyc +0 -0
  34. custom_nodes/ComfyUI-VideoHelperSuite/videohelpersuite/__pycache__/documentation.cpython-311.pyc +0 -0
  35. custom_nodes/ComfyUI-VideoHelperSuite/videohelpersuite/__pycache__/documentation.cpython-312.pyc +0 -0
  36. custom_nodes/ComfyUI-VideoHelperSuite/videohelpersuite/__pycache__/image_latent_nodes.cpython-311.pyc +0 -0
  37. custom_nodes/ComfyUI-VideoHelperSuite/videohelpersuite/__pycache__/image_latent_nodes.cpython-312.pyc +0 -0
  38. custom_nodes/ComfyUI-VideoHelperSuite/videohelpersuite/__pycache__/latent_preview.cpython-311.pyc +0 -0
  39. custom_nodes/ComfyUI-VideoHelperSuite/videohelpersuite/__pycache__/latent_preview.cpython-312.pyc +0 -0
  40. custom_nodes/ComfyUI-VideoHelperSuite/videohelpersuite/__pycache__/load_images_nodes.cpython-311.pyc +0 -0
  41. custom_nodes/ComfyUI-VideoHelperSuite/videohelpersuite/__pycache__/load_images_nodes.cpython-312.pyc +0 -0
  42. custom_nodes/ComfyUI-VideoHelperSuite/videohelpersuite/__pycache__/load_video_nodes.cpython-311.pyc +0 -0
  43. custom_nodes/ComfyUI-VideoHelperSuite/videohelpersuite/__pycache__/load_video_nodes.cpython-312.pyc +0 -0
  44. custom_nodes/ComfyUI-VideoHelperSuite/videohelpersuite/__pycache__/logger.cpython-311.pyc +0 -0
  45. custom_nodes/ComfyUI-VideoHelperSuite/videohelpersuite/__pycache__/logger.cpython-312.pyc +0 -0
  46. custom_nodes/ComfyUI-VideoHelperSuite/videohelpersuite/__pycache__/nodes.cpython-311.pyc +0 -0
  47. custom_nodes/ComfyUI-VideoHelperSuite/videohelpersuite/__pycache__/nodes.cpython-312.pyc +0 -0
  48. custom_nodes/ComfyUI-VideoHelperSuite/videohelpersuite/__pycache__/server.cpython-311.pyc +0 -0
  49. custom_nodes/ComfyUI-VideoHelperSuite/videohelpersuite/__pycache__/server.cpython-312.pyc +0 -0
  50. custom_nodes/ComfyUI-VideoHelperSuite/videohelpersuite/__pycache__/utils.cpython-311.pyc +0 -0
custom_nodes/ComfyUI-VideoHelperSuite/.github/workflows/publish.yml ADDED
@@ -0,0 +1,24 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ name: Publish to Comfy registry
2
+ on:
3
+ workflow_dispatch:
4
+ push:
5
+ branches:
6
+ - main
7
+ paths:
8
+ - "pyproject.toml"
9
+
10
+ permissions:
11
+ issues: write
12
+
13
+ jobs:
14
+ publish-node:
15
+ name: Publish Custom Node to registry
16
+ runs-on: ubuntu-latest
17
+ if: ${{ github.repository_owner == 'Kosinkadink' }}
18
+ steps:
19
+ - name: Check out code
20
+ uses: actions/checkout@v4
21
+ - name: Publish Custom Node
22
+ uses: Comfy-Org/publish-node-action@v1
23
+ with:
24
+ personal_access_token: ${{ secrets.REGISTRY_ACCESS_TOKEN }} ## Add your own personal access token to your Github Repository secrets and reference it here.
custom_nodes/ComfyUI-VideoHelperSuite/.gitignore ADDED
@@ -0,0 +1,162 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Byte-compiled / optimized / DLL files
2
+ __pycache__/
3
+ *.py[cod]
4
+ *$py.class
5
+
6
+ # C extensions
7
+ *.so
8
+
9
+ # Distribution / packaging
10
+ .Python
11
+ build/
12
+ develop-eggs/
13
+ dist/
14
+ downloads/
15
+ eggs/
16
+ .eggs/
17
+ lib/
18
+ lib64/
19
+ parts/
20
+ sdist/
21
+ var/
22
+ wheels/
23
+ share/python-wheels/
24
+ *.egg-info/
25
+ .installed.cfg
26
+ *.egg
27
+ MANIFEST
28
+
29
+ # PyInstaller
30
+ # Usually these files are written by a python script from a template
31
+ # before PyInstaller builds the exe, so as to inject date/other infos into it.
32
+ *.manifest
33
+ *.spec
34
+
35
+ # Installer logs
36
+ pip-log.txt
37
+ pip-delete-this-directory.txt
38
+
39
+ # Unit test / coverage reports
40
+ htmlcov/
41
+ .tox/
42
+ .nox/
43
+ .coverage
44
+ .coverage.*
45
+ .cache
46
+ nosetests.xml
47
+ coverage.xml
48
+ *.cover
49
+ *.py,cover
50
+ .hypothesis/
51
+ .pytest_cache/
52
+ cover/
53
+
54
+ # Translations
55
+ *.mo
56
+ *.pot
57
+
58
+ # Django stuff:
59
+ *.log
60
+ local_settings.py
61
+ db.sqlite3
62
+ db.sqlite3-journal
63
+
64
+ # Flask stuff:
65
+ instance/
66
+ .webassets-cache
67
+
68
+ # Scrapy stuff:
69
+ .scrapy
70
+
71
+ # Sphinx documentation
72
+ docs/_build/
73
+
74
+ # PyBuilder
75
+ .pybuilder/
76
+ target/
77
+
78
+ # Jupyter Notebook
79
+ .ipynb_checkpoints
80
+
81
+ # IPython
82
+ profile_default/
83
+ ipython_config.py
84
+
85
+ # pyenv
86
+ # For a library or package, you might want to ignore these files since the code is
87
+ # intended to run in multiple environments; otherwise, check them in:
88
+ # .python-version
89
+
90
+ # pipenv
91
+ # According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control.
92
+ # However, in case of collaboration, if having platform-specific dependencies or dependencies
93
+ # having no cross-platform support, pipenv may install dependencies that don't work, or not
94
+ # install all needed dependencies.
95
+ #Pipfile.lock
96
+
97
+ # poetry
98
+ # Similar to Pipfile.lock, it is generally recommended to include poetry.lock in version control.
99
+ # This is especially recommended for binary packages to ensure reproducibility, and is more
100
+ # commonly ignored for libraries.
101
+ # https://python-poetry.org/docs/basic-usage/#commit-your-poetrylock-file-to-version-control
102
+ #poetry.lock
103
+
104
+ # pdm
105
+ # Similar to Pipfile.lock, it is generally recommended to include pdm.lock in version control.
106
+ #pdm.lock
107
+ # pdm stores project-wide configurations in .pdm.toml, but it is recommended to not include it
108
+ # in version control.
109
+ # https://pdm.fming.dev/#use-with-ide
110
+ .pdm.toml
111
+
112
+ # PEP 582; used by e.g. github.com/David-OConnor/pyflow and github.com/pdm-project/pdm
113
+ __pypackages__/
114
+
115
+ # Celery stuff
116
+ celerybeat-schedule
117
+ celerybeat.pid
118
+
119
+ # SageMath parsed files
120
+ *.sage.py
121
+
122
+ # Environments
123
+ .env
124
+ .venv
125
+ env/
126
+ venv/
127
+ ENV/
128
+ env.bak/
129
+ venv.bak/
130
+
131
+ # Spyder project settings
132
+ .spyderproject
133
+ .spyproject
134
+
135
+ # Rope project settings
136
+ .ropeproject
137
+
138
+ # mkdocs documentation
139
+ /site
140
+
141
+ # mypy
142
+ .mypy_cache/
143
+ .dmypy.json
144
+ dmypy.json
145
+
146
+ # Pyre type checker
147
+ .pyre/
148
+
149
+ # pytype static type analyzer
150
+ .pytype/
151
+
152
+ # Cython debug symbols
153
+ cython_debug/
154
+
155
+ # PyCharm
156
+ # JetBrains specific template is maintained in a separate JetBrains.gitignore that can
157
+ # be found at https://github.com/github/gitignore/blob/main/Global/JetBrains.gitignore
158
+ # and can be added to the global gitignore or merged into this file. For a more nuclear
159
+ # option (not recommended) you can uncomment the following to ignore the entire idea folder.
160
+ #.idea/
161
+ # VIM swap files
162
+ *.swp
custom_nodes/ComfyUI-VideoHelperSuite/LICENSE ADDED
@@ -0,0 +1,674 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ GNU GENERAL PUBLIC LICENSE
2
+ Version 3, 29 June 2007
3
+
4
+ Copyright (C) 2007 Free Software Foundation, Inc. <https://fsf.org/>
5
+ Everyone is permitted to copy and distribute verbatim copies
6
+ of this license document, but changing it is not allowed.
7
+
8
+ Preamble
9
+
10
+ The GNU General Public License is a free, copyleft license for
11
+ software and other kinds of works.
12
+
13
+ The licenses for most software and other practical works are designed
14
+ to take away your freedom to share and change the works. By contrast,
15
+ the GNU General Public License is intended to guarantee your freedom to
16
+ share and change all versions of a program--to make sure it remains free
17
+ software for all its users. We, the Free Software Foundation, use the
18
+ GNU General Public License for most of our software; it applies also to
19
+ any other work released this way by its authors. You can apply it to
20
+ your programs, too.
21
+
22
+ When we speak of free software, we are referring to freedom, not
23
+ price. Our General Public Licenses are designed to make sure that you
24
+ have the freedom to distribute copies of free software (and charge for
25
+ them if you wish), that you receive source code or can get it if you
26
+ want it, that you can change the software or use pieces of it in new
27
+ free programs, and that you know you can do these things.
28
+
29
+ To protect your rights, we need to prevent others from denying you
30
+ these rights or asking you to surrender the rights. Therefore, you have
31
+ certain responsibilities if you distribute copies of the software, or if
32
+ you modify it: responsibilities to respect the freedom of others.
33
+
34
+ For example, if you distribute copies of such a program, whether
35
+ gratis or for a fee, you must pass on to the recipients the same
36
+ freedoms that you received. You must make sure that they, too, receive
37
+ or can get the source code. And you must show them these terms so they
38
+ know their rights.
39
+
40
+ Developers that use the GNU GPL protect your rights with two steps:
41
+ (1) assert copyright on the software, and (2) offer you this License
42
+ giving you legal permission to copy, distribute and/or modify it.
43
+
44
+ For the developers' and authors' protection, the GPL clearly explains
45
+ that there is no warranty for this free software. For both users' and
46
+ authors' sake, the GPL requires that modified versions be marked as
47
+ changed, so that their problems will not be attributed erroneously to
48
+ authors of previous versions.
49
+
50
+ Some devices are designed to deny users access to install or run
51
+ modified versions of the software inside them, although the manufacturer
52
+ can do so. This is fundamentally incompatible with the aim of
53
+ protecting users' freedom to change the software. The systematic
54
+ pattern of such abuse occurs in the area of products for individuals to
55
+ use, which is precisely where it is most unacceptable. Therefore, we
56
+ have designed this version of the GPL to prohibit the practice for those
57
+ products. If such problems arise substantially in other domains, we
58
+ stand ready to extend this provision to those domains in future versions
59
+ of the GPL, as needed to protect the freedom of users.
60
+
61
+ Finally, every program is threatened constantly by software patents.
62
+ States should not allow patents to restrict development and use of
63
+ software on general-purpose computers, but in those that do, we wish to
64
+ avoid the special danger that patents applied to a free program could
65
+ make it effectively proprietary. To prevent this, the GPL assures that
66
+ patents cannot be used to render the program non-free.
67
+
68
+ The precise terms and conditions for copying, distribution and
69
+ modification follow.
70
+
71
+ TERMS AND CONDITIONS
72
+
73
+ 0. Definitions.
74
+
75
+ "This License" refers to version 3 of the GNU General Public License.
76
+
77
+ "Copyright" also means copyright-like laws that apply to other kinds of
78
+ works, such as semiconductor masks.
79
+
80
+ "The Program" refers to any copyrightable work licensed under this
81
+ License. Each licensee is addressed as "you". "Licensees" and
82
+ "recipients" may be individuals or organizations.
83
+
84
+ To "modify" a work means to copy from or adapt all or part of the work
85
+ in a fashion requiring copyright permission, other than the making of an
86
+ exact copy. The resulting work is called a "modified version" of the
87
+ earlier work or a work "based on" the earlier work.
88
+
89
+ A "covered work" means either the unmodified Program or a work based
90
+ on the Program.
91
+
92
+ To "propagate" a work means to do anything with it that, without
93
+ permission, would make you directly or secondarily liable for
94
+ infringement under applicable copyright law, except executing it on a
95
+ computer or modifying a private copy. Propagation includes copying,
96
+ distribution (with or without modification), making available to the
97
+ public, and in some countries other activities as well.
98
+
99
+ To "convey" a work means any kind of propagation that enables other
100
+ parties to make or receive copies. Mere interaction with a user through
101
+ a computer network, with no transfer of a copy, is not conveying.
102
+
103
+ An interactive user interface displays "Appropriate Legal Notices"
104
+ to the extent that it includes a convenient and prominently visible
105
+ feature that (1) displays an appropriate copyright notice, and (2)
106
+ tells the user that there is no warranty for the work (except to the
107
+ extent that warranties are provided), that licensees may convey the
108
+ work under this License, and how to view a copy of this License. If
109
+ the interface presents a list of user commands or options, such as a
110
+ menu, a prominent item in the list meets this criterion.
111
+
112
+ 1. Source Code.
113
+
114
+ The "source code" for a work means the preferred form of the work
115
+ for making modifications to it. "Object code" means any non-source
116
+ form of a work.
117
+
118
+ A "Standard Interface" means an interface that either is an official
119
+ standard defined by a recognized standards body, or, in the case of
120
+ interfaces specified for a particular programming language, one that
121
+ is widely used among developers working in that language.
122
+
123
+ The "System Libraries" of an executable work include anything, other
124
+ than the work as a whole, that (a) is included in the normal form of
125
+ packaging a Major Component, but which is not part of that Major
126
+ Component, and (b) serves only to enable use of the work with that
127
+ Major Component, or to implement a Standard Interface for which an
128
+ implementation is available to the public in source code form. A
129
+ "Major Component", in this context, means a major essential component
130
+ (kernel, window system, and so on) of the specific operating system
131
+ (if any) on which the executable work runs, or a compiler used to
132
+ produce the work, or an object code interpreter used to run it.
133
+
134
+ The "Corresponding Source" for a work in object code form means all
135
+ the source code needed to generate, install, and (for an executable
136
+ work) run the object code and to modify the work, including scripts to
137
+ control those activities. However, it does not include the work's
138
+ System Libraries, or general-purpose tools or generally available free
139
+ programs which are used unmodified in performing those activities but
140
+ which are not part of the work. For example, Corresponding Source
141
+ includes interface definition files associated with source files for
142
+ the work, and the source code for shared libraries and dynamically
143
+ linked subprograms that the work is specifically designed to require,
144
+ such as by intimate data communication or control flow between those
145
+ subprograms and other parts of the work.
146
+
147
+ The Corresponding Source need not include anything that users
148
+ can regenerate automatically from other parts of the Corresponding
149
+ Source.
150
+
151
+ The Corresponding Source for a work in source code form is that
152
+ same work.
153
+
154
+ 2. Basic Permissions.
155
+
156
+ All rights granted under this License are granted for the term of
157
+ copyright on the Program, and are irrevocable provided the stated
158
+ conditions are met. This License explicitly affirms your unlimited
159
+ permission to run the unmodified Program. The output from running a
160
+ covered work is covered by this License only if the output, given its
161
+ content, constitutes a covered work. This License acknowledges your
162
+ rights of fair use or other equivalent, as provided by copyright law.
163
+
164
+ You may make, run and propagate covered works that you do not
165
+ convey, without conditions so long as your license otherwise remains
166
+ in force. You may convey covered works to others for the sole purpose
167
+ of having them make modifications exclusively for you, or provide you
168
+ with facilities for running those works, provided that you comply with
169
+ the terms of this License in conveying all material for which you do
170
+ not control copyright. Those thus making or running the covered works
171
+ for you must do so exclusively on your behalf, under your direction
172
+ and control, on terms that prohibit them from making any copies of
173
+ your copyrighted material outside their relationship with you.
174
+
175
+ Conveying under any other circumstances is permitted solely under
176
+ the conditions stated below. Sublicensing is not allowed; section 10
177
+ makes it unnecessary.
178
+
179
+ 3. Protecting Users' Legal Rights From Anti-Circumvention Law.
180
+
181
+ No covered work shall be deemed part of an effective technological
182
+ measure under any applicable law fulfilling obligations under article
183
+ 11 of the WIPO copyright treaty adopted on 20 December 1996, or
184
+ similar laws prohibiting or restricting circumvention of such
185
+ measures.
186
+
187
+ When you convey a covered work, you waive any legal power to forbid
188
+ circumvention of technological measures to the extent such circumvention
189
+ is effected by exercising rights under this License with respect to
190
+ the covered work, and you disclaim any intention to limit operation or
191
+ modification of the work as a means of enforcing, against the work's
192
+ users, your or third parties' legal rights to forbid circumvention of
193
+ technological measures.
194
+
195
+ 4. Conveying Verbatim Copies.
196
+
197
+ You may convey verbatim copies of the Program's source code as you
198
+ receive it, in any medium, provided that you conspicuously and
199
+ appropriately publish on each copy an appropriate copyright notice;
200
+ keep intact all notices stating that this License and any
201
+ non-permissive terms added in accord with section 7 apply to the code;
202
+ keep intact all notices of the absence of any warranty; and give all
203
+ recipients a copy of this License along with the Program.
204
+
205
+ You may charge any price or no price for each copy that you convey,
206
+ and you may offer support or warranty protection for a fee.
207
+
208
+ 5. Conveying Modified Source Versions.
209
+
210
+ You may convey a work based on the Program, or the modifications to
211
+ produce it from the Program, in the form of source code under the
212
+ terms of section 4, provided that you also meet all of these conditions:
213
+
214
+ a) The work must carry prominent notices stating that you modified
215
+ it, and giving a relevant date.
216
+
217
+ b) The work must carry prominent notices stating that it is
218
+ released under this License and any conditions added under section
219
+ 7. This requirement modifies the requirement in section 4 to
220
+ "keep intact all notices".
221
+
222
+ c) You must license the entire work, as a whole, under this
223
+ License to anyone who comes into possession of a copy. This
224
+ License will therefore apply, along with any applicable section 7
225
+ additional terms, to the whole of the work, and all its parts,
226
+ regardless of how they are packaged. This License gives no
227
+ permission to license the work in any other way, but it does not
228
+ invalidate such permission if you have separately received it.
229
+
230
+ d) If the work has interactive user interfaces, each must display
231
+ Appropriate Legal Notices; however, if the Program has interactive
232
+ interfaces that do not display Appropriate Legal Notices, your
233
+ work need not make them do so.
234
+
235
+ A compilation of a covered work with other separate and independent
236
+ works, which are not by their nature extensions of the covered work,
237
+ and which are not combined with it such as to form a larger program,
238
+ in or on a volume of a storage or distribution medium, is called an
239
+ "aggregate" if the compilation and its resulting copyright are not
240
+ used to limit the access or legal rights of the compilation's users
241
+ beyond what the individual works permit. Inclusion of a covered work
242
+ in an aggregate does not cause this License to apply to the other
243
+ parts of the aggregate.
244
+
245
+ 6. Conveying Non-Source Forms.
246
+
247
+ You may convey a covered work in object code form under the terms
248
+ of sections 4 and 5, provided that you also convey the
249
+ machine-readable Corresponding Source under the terms of this License,
250
+ in one of these ways:
251
+
252
+ a) Convey the object code in, or embodied in, a physical product
253
+ (including a physical distribution medium), accompanied by the
254
+ Corresponding Source fixed on a durable physical medium
255
+ customarily used for software interchange.
256
+
257
+ b) Convey the object code in, or embodied in, a physical product
258
+ (including a physical distribution medium), accompanied by a
259
+ written offer, valid for at least three years and valid for as
260
+ long as you offer spare parts or customer support for that product
261
+ model, to give anyone who possesses the object code either (1) a
262
+ copy of the Corresponding Source for all the software in the
263
+ product that is covered by this License, on a durable physical
264
+ medium customarily used for software interchange, for a price no
265
+ more than your reasonable cost of physically performing this
266
+ conveying of source, or (2) access to copy the
267
+ Corresponding Source from a network server at no charge.
268
+
269
+ c) Convey individual copies of the object code with a copy of the
270
+ written offer to provide the Corresponding Source. This
271
+ alternative is allowed only occasionally and noncommercially, and
272
+ only if you received the object code with such an offer, in accord
273
+ with subsection 6b.
274
+
275
+ d) Convey the object code by offering access from a designated
276
+ place (gratis or for a charge), and offer equivalent access to the
277
+ Corresponding Source in the same way through the same place at no
278
+ further charge. You need not require recipients to copy the
279
+ Corresponding Source along with the object code. If the place to
280
+ copy the object code is a network server, the Corresponding Source
281
+ may be on a different server (operated by you or a third party)
282
+ that supports equivalent copying facilities, provided you maintain
283
+ clear directions next to the object code saying where to find the
284
+ Corresponding Source. Regardless of what server hosts the
285
+ Corresponding Source, you remain obligated to ensure that it is
286
+ available for as long as needed to satisfy these requirements.
287
+
288
+ e) Convey the object code using peer-to-peer transmission, provided
289
+ you inform other peers where the object code and Corresponding
290
+ Source of the work are being offered to the general public at no
291
+ charge under subsection 6d.
292
+
293
+ A separable portion of the object code, whose source code is excluded
294
+ from the Corresponding Source as a System Library, need not be
295
+ included in conveying the object code work.
296
+
297
+ A "User Product" is either (1) a "consumer product", which means any
298
+ tangible personal property which is normally used for personal, family,
299
+ or household purposes, or (2) anything designed or sold for incorporation
300
+ into a dwelling. In determining whether a product is a consumer product,
301
+ doubtful cases shall be resolved in favor of coverage. For a particular
302
+ product received by a particular user, "normally used" refers to a
303
+ typical or common use of that class of product, regardless of the status
304
+ of the particular user or of the way in which the particular user
305
+ actually uses, or expects or is expected to use, the product. A product
306
+ is a consumer product regardless of whether the product has substantial
307
+ commercial, industrial or non-consumer uses, unless such uses represent
308
+ the only significant mode of use of the product.
309
+
310
+ "Installation Information" for a User Product means any methods,
311
+ procedures, authorization keys, or other information required to install
312
+ and execute modified versions of a covered work in that User Product from
313
+ a modified version of its Corresponding Source. The information must
314
+ suffice to ensure that the continued functioning of the modified object
315
+ code is in no case prevented or interfered with solely because
316
+ modification has been made.
317
+
318
+ If you convey an object code work under this section in, or with, or
319
+ specifically for use in, a User Product, and the conveying occurs as
320
+ part of a transaction in which the right of possession and use of the
321
+ User Product is transferred to the recipient in perpetuity or for a
322
+ fixed term (regardless of how the transaction is characterized), the
323
+ Corresponding Source conveyed under this section must be accompanied
324
+ by the Installation Information. But this requirement does not apply
325
+ if neither you nor any third party retains the ability to install
326
+ modified object code on the User Product (for example, the work has
327
+ been installed in ROM).
328
+
329
+ The requirement to provide Installation Information does not include a
330
+ requirement to continue to provide support service, warranty, or updates
331
+ for a work that has been modified or installed by the recipient, or for
332
+ the User Product in which it has been modified or installed. Access to a
333
+ network may be denied when the modification itself materially and
334
+ adversely affects the operation of the network or violates the rules and
335
+ protocols for communication across the network.
336
+
337
+ Corresponding Source conveyed, and Installation Information provided,
338
+ in accord with this section must be in a format that is publicly
339
+ documented (and with an implementation available to the public in
340
+ source code form), and must require no special password or key for
341
+ unpacking, reading or copying.
342
+
343
+ 7. Additional Terms.
344
+
345
+ "Additional permissions" are terms that supplement the terms of this
346
+ License by making exceptions from one or more of its conditions.
347
+ Additional permissions that are applicable to the entire Program shall
348
+ be treated as though they were included in this License, to the extent
349
+ that they are valid under applicable law. If additional permissions
350
+ apply only to part of the Program, that part may be used separately
351
+ under those permissions, but the entire Program remains governed by
352
+ this License without regard to the additional permissions.
353
+
354
+ When you convey a copy of a covered work, you may at your option
355
+ remove any additional permissions from that copy, or from any part of
356
+ it. (Additional permissions may be written to require their own
357
+ removal in certain cases when you modify the work.) You may place
358
+ additional permissions on material, added by you to a covered work,
359
+ for which you have or can give appropriate copyright permission.
360
+
361
+ Notwithstanding any other provision of this License, for material you
362
+ add to a covered work, you may (if authorized by the copyright holders of
363
+ that material) supplement the terms of this License with terms:
364
+
365
+ a) Disclaiming warranty or limiting liability differently from the
366
+ terms of sections 15 and 16 of this License; or
367
+
368
+ b) Requiring preservation of specified reasonable legal notices or
369
+ author attributions in that material or in the Appropriate Legal
370
+ Notices displayed by works containing it; or
371
+
372
+ c) Prohibiting misrepresentation of the origin of that material, or
373
+ requiring that modified versions of such material be marked in
374
+ reasonable ways as different from the original version; or
375
+
376
+ d) Limiting the use for publicity purposes of names of licensors or
377
+ authors of the material; or
378
+
379
+ e) Declining to grant rights under trademark law for use of some
380
+ trade names, trademarks, or service marks; or
381
+
382
+ f) Requiring indemnification of licensors and authors of that
383
+ material by anyone who conveys the material (or modified versions of
384
+ it) with contractual assumptions of liability to the recipient, for
385
+ any liability that these contractual assumptions directly impose on
386
+ those licensors and authors.
387
+
388
+ All other non-permissive additional terms are considered "further
389
+ restrictions" within the meaning of section 10. If the Program as you
390
+ received it, or any part of it, contains a notice stating that it is
391
+ governed by this License along with a term that is a further
392
+ restriction, you may remove that term. If a license document contains
393
+ a further restriction but permits relicensing or conveying under this
394
+ License, you may add to a covered work material governed by the terms
395
+ of that license document, provided that the further restriction does
396
+ not survive such relicensing or conveying.
397
+
398
+ If you add terms to a covered work in accord with this section, you
399
+ must place, in the relevant source files, a statement of the
400
+ additional terms that apply to those files, or a notice indicating
401
+ where to find the applicable terms.
402
+
403
+ Additional terms, permissive or non-permissive, may be stated in the
404
+ form of a separately written license, or stated as exceptions;
405
+ the above requirements apply either way.
406
+
407
+ 8. Termination.
408
+
409
+ You may not propagate or modify a covered work except as expressly
410
+ provided under this License. Any attempt otherwise to propagate or
411
+ modify it is void, and will automatically terminate your rights under
412
+ this License (including any patent licenses granted under the third
413
+ paragraph of section 11).
414
+
415
+ However, if you cease all violation of this License, then your
416
+ license from a particular copyright holder is reinstated (a)
417
+ provisionally, unless and until the copyright holder explicitly and
418
+ finally terminates your license, and (b) permanently, if the copyright
419
+ holder fails to notify you of the violation by some reasonable means
420
+ prior to 60 days after the cessation.
421
+
422
+ Moreover, your license from a particular copyright holder is
423
+ reinstated permanently if the copyright holder notifies you of the
424
+ violation by some reasonable means, this is the first time you have
425
+ received notice of violation of this License (for any work) from that
426
+ copyright holder, and you cure the violation prior to 30 days after
427
+ your receipt of the notice.
428
+
429
+ Termination of your rights under this section does not terminate the
430
+ licenses of parties who have received copies or rights from you under
431
+ this License. If your rights have been terminated and not permanently
432
+ reinstated, you do not qualify to receive new licenses for the same
433
+ material under section 10.
434
+
435
+ 9. Acceptance Not Required for Having Copies.
436
+
437
+ You are not required to accept this License in order to receive or
438
+ run a copy of the Program. Ancillary propagation of a covered work
439
+ occurring solely as a consequence of using peer-to-peer transmission
440
+ to receive a copy likewise does not require acceptance. However,
441
+ nothing other than this License grants you permission to propagate or
442
+ modify any covered work. These actions infringe copyright if you do
443
+ not accept this License. Therefore, by modifying or propagating a
444
+ covered work, you indicate your acceptance of this License to do so.
445
+
446
+ 10. Automatic Licensing of Downstream Recipients.
447
+
448
+ Each time you convey a covered work, the recipient automatically
449
+ receives a license from the original licensors, to run, modify and
450
+ propagate that work, subject to this License. You are not responsible
451
+ for enforcing compliance by third parties with this License.
452
+
453
+ An "entity transaction" is a transaction transferring control of an
454
+ organization, or substantially all assets of one, or subdividing an
455
+ organization, or merging organizations. If propagation of a covered
456
+ work results from an entity transaction, each party to that
457
+ transaction who receives a copy of the work also receives whatever
458
+ licenses to the work the party's predecessor in interest had or could
459
+ give under the previous paragraph, plus a right to possession of the
460
+ Corresponding Source of the work from the predecessor in interest, if
461
+ the predecessor has it or can get it with reasonable efforts.
462
+
463
+ You may not impose any further restrictions on the exercise of the
464
+ rights granted or affirmed under this License. For example, you may
465
+ not impose a license fee, royalty, or other charge for exercise of
466
+ rights granted under this License, and you may not initiate litigation
467
+ (including a cross-claim or counterclaim in a lawsuit) alleging that
468
+ any patent claim is infringed by making, using, selling, offering for
469
+ sale, or importing the Program or any portion of it.
470
+
471
+ 11. Patents.
472
+
473
+ A "contributor" is a copyright holder who authorizes use under this
474
+ License of the Program or a work on which the Program is based. The
475
+ work thus licensed is called the contributor's "contributor version".
476
+
477
+ A contributor's "essential patent claims" are all patent claims
478
+ owned or controlled by the contributor, whether already acquired or
479
+ hereafter acquired, that would be infringed by some manner, permitted
480
+ by this License, of making, using, or selling its contributor version,
481
+ but do not include claims that would be infringed only as a
482
+ consequence of further modification of the contributor version. For
483
+ purposes of this definition, "control" includes the right to grant
484
+ patent sublicenses in a manner consistent with the requirements of
485
+ this License.
486
+
487
+ Each contributor grants you a non-exclusive, worldwide, royalty-free
488
+ patent license under the contributor's essential patent claims, to
489
+ make, use, sell, offer for sale, import and otherwise run, modify and
490
+ propagate the contents of its contributor version.
491
+
492
+ In the following three paragraphs, a "patent license" is any express
493
+ agreement or commitment, however denominated, not to enforce a patent
494
+ (such as an express permission to practice a patent or covenant not to
495
+ sue for patent infringement). To "grant" such a patent license to a
496
+ party means to make such an agreement or commitment not to enforce a
497
+ patent against the party.
498
+
499
+ If you convey a covered work, knowingly relying on a patent license,
500
+ and the Corresponding Source of the work is not available for anyone
501
+ to copy, free of charge and under the terms of this License, through a
502
+ publicly available network server or other readily accessible means,
503
+ then you must either (1) cause the Corresponding Source to be so
504
+ available, or (2) arrange to deprive yourself of the benefit of the
505
+ patent license for this particular work, or (3) arrange, in a manner
506
+ consistent with the requirements of this License, to extend the patent
507
+ license to downstream recipients. "Knowingly relying" means you have
508
+ actual knowledge that, but for the patent license, your conveying the
509
+ covered work in a country, or your recipient's use of the covered work
510
+ in a country, would infringe one or more identifiable patents in that
511
+ country that you have reason to believe are valid.
512
+
513
+ If, pursuant to or in connection with a single transaction or
514
+ arrangement, you convey, or propagate by procuring conveyance of, a
515
+ covered work, and grant a patent license to some of the parties
516
+ receiving the covered work authorizing them to use, propagate, modify
517
+ or convey a specific copy of the covered work, then the patent license
518
+ you grant is automatically extended to all recipients of the covered
519
+ work and works based on it.
520
+
521
+ A patent license is "discriminatory" if it does not include within
522
+ the scope of its coverage, prohibits the exercise of, or is
523
+ conditioned on the non-exercise of one or more of the rights that are
524
+ specifically granted under this License. You may not convey a covered
525
+ work if you are a party to an arrangement with a third party that is
526
+ in the business of distributing software, under which you make payment
527
+ to the third party based on the extent of your activity of conveying
528
+ the work, and under which the third party grants, to any of the
529
+ parties who would receive the covered work from you, a discriminatory
530
+ patent license (a) in connection with copies of the covered work
531
+ conveyed by you (or copies made from those copies), or (b) primarily
532
+ for and in connection with specific products or compilations that
533
+ contain the covered work, unless you entered into that arrangement,
534
+ or that patent license was granted, prior to 28 March 2007.
535
+
536
+ Nothing in this License shall be construed as excluding or limiting
537
+ any implied license or other defenses to infringement that may
538
+ otherwise be available to you under applicable patent law.
539
+
540
+ 12. No Surrender of Others' Freedom.
541
+
542
+ If conditions are imposed on you (whether by court order, agreement or
543
+ otherwise) that contradict the conditions of this License, they do not
544
+ excuse you from the conditions of this License. If you cannot convey a
545
+ covered work so as to satisfy simultaneously your obligations under this
546
+ License and any other pertinent obligations, then as a consequence you may
547
+ not convey it at all. For example, if you agree to terms that obligate you
548
+ to collect a royalty for further conveying from those to whom you convey
549
+ the Program, the only way you could satisfy both those terms and this
550
+ License would be to refrain entirely from conveying the Program.
551
+
552
+ 13. Use with the GNU Affero General Public License.
553
+
554
+ Notwithstanding any other provision of this License, you have
555
+ permission to link or combine any covered work with a work licensed
556
+ under version 3 of the GNU Affero General Public License into a single
557
+ combined work, and to convey the resulting work. The terms of this
558
+ License will continue to apply to the part which is the covered work,
559
+ but the special requirements of the GNU Affero General Public License,
560
+ section 13, concerning interaction through a network will apply to the
561
+ combination as such.
562
+
563
+ 14. Revised Versions of this License.
564
+
565
+ The Free Software Foundation may publish revised and/or new versions of
566
+ the GNU General Public License from time to time. Such new versions will
567
+ be similar in spirit to the present version, but may differ in detail to
568
+ address new problems or concerns.
569
+
570
+ Each version is given a distinguishing version number. If the
571
+ Program specifies that a certain numbered version of the GNU General
572
+ Public License "or any later version" applies to it, you have the
573
+ option of following the terms and conditions either of that numbered
574
+ version or of any later version published by the Free Software
575
+ Foundation. If the Program does not specify a version number of the
576
+ GNU General Public License, you may choose any version ever published
577
+ by the Free Software Foundation.
578
+
579
+ If the Program specifies that a proxy can decide which future
580
+ versions of the GNU General Public License can be used, that proxy's
581
+ public statement of acceptance of a version permanently authorizes you
582
+ to choose that version for the Program.
583
+
584
+ Later license versions may give you additional or different
585
+ permissions. However, no additional obligations are imposed on any
586
+ author or copyright holder as a result of your choosing to follow a
587
+ later version.
588
+
589
+ 15. Disclaimer of Warranty.
590
+
591
+ THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
592
+ APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
593
+ HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY
594
+ OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
595
+ THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
596
+ PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM
597
+ IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
598
+ ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
599
+
600
+ 16. Limitation of Liability.
601
+
602
+ IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
603
+ WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS
604
+ THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
605
+ GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE
606
+ USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF
607
+ DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD
608
+ PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),
609
+ EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
610
+ SUCH DAMAGES.
611
+
612
+ 17. Interpretation of Sections 15 and 16.
613
+
614
+ If the disclaimer of warranty and limitation of liability provided
615
+ above cannot be given local legal effect according to their terms,
616
+ reviewing courts shall apply local law that most closely approximates
617
+ an absolute waiver of all civil liability in connection with the
618
+ Program, unless a warranty or assumption of liability accompanies a
619
+ copy of the Program in return for a fee.
620
+
621
+ END OF TERMS AND CONDITIONS
622
+
623
+ How to Apply These Terms to Your New Programs
624
+
625
+ If you develop a new program, and you want it to be of the greatest
626
+ possible use to the public, the best way to achieve this is to make it
627
+ free software which everyone can redistribute and change under these terms.
628
+
629
+ To do so, attach the following notices to the program. It is safest
630
+ to attach them to the start of each source file to most effectively
631
+ state the exclusion of warranty; and each file should have at least
632
+ the "copyright" line and a pointer to where the full notice is found.
633
+
634
+ <one line to give the program's name and a brief idea of what it does.>
635
+ Copyright (C) <year> <name of author>
636
+
637
+ This program is free software: you can redistribute it and/or modify
638
+ it under the terms of the GNU General Public License as published by
639
+ the Free Software Foundation, either version 3 of the License, or
640
+ (at your option) any later version.
641
+
642
+ This program is distributed in the hope that it will be useful,
643
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
644
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
645
+ GNU General Public License for more details.
646
+
647
+ You should have received a copy of the GNU General Public License
648
+ along with this program. If not, see <https://www.gnu.org/licenses/>.
649
+
650
+ Also add information on how to contact you by electronic and paper mail.
651
+
652
+ If the program does terminal interaction, make it output a short
653
+ notice like this when it starts in an interactive mode:
654
+
655
+ <program> Copyright (C) <year> <name of author>
656
+ This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
657
+ This is free software, and you are welcome to redistribute it
658
+ under certain conditions; type `show c' for details.
659
+
660
+ The hypothetical commands `show w' and `show c' should show the appropriate
661
+ parts of the General Public License. Of course, your program's commands
662
+ might be different; for a GUI interface, you would use an "about box".
663
+
664
+ You should also get your employer (if you work as a programmer) or school,
665
+ if any, to sign a "copyright disclaimer" for the program, if necessary.
666
+ For more information on this, and how to apply and follow the GNU GPL, see
667
+ <https://www.gnu.org/licenses/>.
668
+
669
+ The GNU General Public License does not permit incorporating your program
670
+ into proprietary programs. If your program is a subroutine library, you
671
+ may consider it more useful to permit linking proprietary applications with
672
+ the library. If this is what you want to do, use the GNU Lesser General
673
+ Public License instead of this License. But first, please read
674
+ <https://www.gnu.org/licenses/why-not-lgpl.html>.
custom_nodes/ComfyUI-VideoHelperSuite/README.md ADDED
@@ -0,0 +1,110 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # ComfyUI-VideoHelperSuite
2
+ Nodes related to video workflows
3
+
4
+ ## I/O Nodes
5
+ ### Load Video
6
+ Converts a video file into a series of images
7
+ - video: The video file to be loaded
8
+ - force_rate: Discards or duplicates frames as needed to hit a target frame rate. Disabled by setting to 0. This can be used to quickly match a suggested frame rate like the 8 fps of AnimateDiff.
9
+ - force_size: Allows for quick resizing to a number of suggested sizes. Several options allow you to set only width or height and determine the other from aspect ratio.
10
+ - frame_load_cap: The maximum number of frames which will be returned. This could also be thought of as the maximum batch size.
11
+ - skip_first_frames: How many frames to skip from the start of the video after adjusting for a forced frame rate. By incrementing this number by the frame_load_cap, you can easily process a longer input video in parts.
12
+ - select_every_nth: Allows for skipping a number of frames without considering the base frame rate or risking frame duplication. Often useful when working with animated gifs
13
+ A path variant of the Load Video node exists that allows loading videos from external paths
14
+ ![step](https://github.com/Kosinkadink/ComfyUI-VideoHelperSuite/assets/4284322/b5fc993c-5c9b-4608-afa4-48ae2e1380ef)
15
+ ![resize](https://github.com/Kosinkadink/ComfyUI-VideoHelperSuite/assets/4284322/98d2e78e-1c44-443c-a8fe-0dab0b5947f3)
16
+ If [Advanced Previews](#advanced-previews) is enabled in the options menu of the web ui, the preview will reflect the current settings on the node.
17
+ ### Load Image Sequence
18
+ Loads all image files from a subfolder. Options are similar to Load Video.
19
+ - image_load_cap: The maximum number of images which will be returned. This could also be thought of as the maximum batch size.
20
+ - skip_first_images: How many images to skip. By incrementing this number by image_load_cap, you can easily divide a long sequence of images into multiple batches.
21
+ - select_every_nth: Allows for skipping a number of images between every returned frame.
22
+
23
+ A path variant of Load Image sequence also exists.
24
+ ### Video Combine
25
+ Combines a series of images into an output video
26
+ If the optional audio input is provided, it will also be combined into the output video
27
+ - frame_rate: How many of the input frames are displayed per second. A higher frame rate means that the output video plays faster and has less duration. This should usually be kept to 8 for AnimateDiff, or matched to the force_rate of a Load Video node.
28
+ - loop_count: How many additional times the video should repeat
29
+ - filename_prefix: The base file name used for output.
30
+ - You can save output to a subfolder: `subfolder/video`
31
+ - Like the builtin Save Image node, you can add timestamps. `%date:yyyy-MM-ddThh:mm:ss%` might become 2023-10-31T6:45:25
32
+ - format: The file format to use. Advanced information on configuring or adding additional video formats can be found in the [Video Formats](#video-formats) section.
33
+ - pingpong: Causes the input to be played back in the reverse to create a clean loop.
34
+ - save_output: Whether the image should be put into the output directory or the temp directory.
35
+ Returns: a `VHS_FILENAMES` which consists of a boolean indicating if save_output is enabled and a list of the full filepaths of all generated outputs in the order created. Accordingly `output[1][-1]` will be the most complete output.
36
+
37
+ Depending on the format chosen, additional options may become available, including
38
+ - crf: Describes the quality of the output video. A lower number gives a higher quality video and a larger file size, while a higher number gives a lower quality video with a smaller size. Scaling varies by codec, but visually lossless output generally occurs around 20.
39
+ - save_metadata: Includes a copy of the workflow in the output video which can be loaded by dragging and dropping the video, just like with images.
40
+ - pix_fmt: Changes how the pixel data is stored. `yuv420p10le` has higher color quality, but won't work on all devices
41
+ ### Load Audio
42
+ Provides a way to load standalone audio files.
43
+ - seek_seconds: An optional start time for the audio file in seconds.
44
+
45
+ ## Latent/Image Nodes
46
+ A number of utility nodes exist for managing latents. For each, there is an equivalent node which works on images.
47
+ ### Split Batch
48
+ Divides the latents into two sets. The first `split_index` latents go to output A and the remainder to output B. If less then `split_index` latents are provided as input, all are passed to output A and output B is empty.
49
+ ### Merge Batch
50
+ Combines two groups of latents into a single output. The order of the output is the latents in A followed by the latents in B.
51
+ If the input groups are not the same size, the node provides options for rescaling the latents before merging.
52
+ ### Select Every Nth
53
+ The first of every `select_every_nth` input is passed and the remainder are discarded
54
+ ### Get Count
55
+ ### Duplicate Batch
56
+
57
+ ## Video Previews
58
+ Load Video (Upload), Load Video (Path), Load Images (Upload), Load Images (Path) and Video Combine provide animated previews.
59
+ Nodes with previews provide additional functionality when right clicked
60
+ - Open preview
61
+ - Save preview
62
+ - Pause preview: Can improve performance with very large videos
63
+ - Hide preview: Can improve performance, save space
64
+ - Sync preview: Restarts all previews for side-by-side comparisons
65
+
66
+ ### Advanced Previews
67
+ Advanced Previews must be manually enabled by clicking the settings gear next to Queue Prompt and checking the box for VHS Advanced Previews.
68
+ If enabled, videos which are displayed in the ui will be converted with ffmpeg on request. This has several benefits
69
+ - Previews for Load Video nodes will reflect the settings on the node such as skip_first_frames and frame_load_cap
70
+ - This makes it easy to select an exact portion of an input video and sync it with outputs
71
+ - It can use substantially less bandwidth if running the server remotely
72
+ - It can greatly improve the browser performance by downsizing videos to the in ui resolution, particularly useful with animated gifs
73
+ - It allows for previews of videos that would not normally be playable in browser.
74
+ - Can be limited to subdirectories of ComyUI if `VHS_STRICT_PATHS` is set as an environment variable.
75
+
76
+ This fucntionality is disabled since it comes with several downsides
77
+ - There is a delay before videos show in the browser. This delay can become quite large if the input video is long
78
+ - The preview videos are lower quality (The original can always be viewed with Right Click -> Open preview)
79
+
80
+ ## Video Formats
81
+ Those familiar with ffmpeg are able to add json files to the video_formats folders to add new output types to Video Combine.
82
+ Consider the following example for av1-webm
83
+ ```json
84
+ {
85
+ "main_pass":
86
+ [
87
+ "-n", "-c:v", "libsvtav1",
88
+ "-pix_fmt", "yuv420p10le",
89
+ "-crf", ["crf","INT", {"default": 23, "min": 0, "max": 100, "step": 1}]
90
+ ],
91
+ "audio_pass": ["-c:a", "libopus"],
92
+ "extension": "webm",
93
+ "environment": {"SVT_LOG": "1"}
94
+ }
95
+ ```
96
+ Most configuration takes place in `main_pass`, which is a list of arguments that are passed to ffmpeg.
97
+ - `"-n"` designates that the command should fail if a file of the same name already exists. This should never happen, but if some bug were to occur, it would ensure other files aren't overwritten.
98
+ - `"-c:v", "libsvtav1"` designates that the video should be encoded with an av1 codec using the new SVT-AV1 encoder. SVT-AV1 is much faster than libaom-av1, but may not exist in older versions of ffmpeg. Alternatively, av1_nvenc could be used for gpu encoding with newer nvidia cards.
99
+ - `"-pix_fmt", "yuv420p10le"` designates the standard pixel format with 10-bit color. It's important that some pixel format be specified to ensure a nonconfigurable input pix_fmt isn't used.
100
+
101
+ `audio pass` contains a list of arguments which are passed to ffmpeg when audio is passed into Video Combine
102
+
103
+ `extension` designates both the file extension and the container format that is used. If some of the above options are omitted from `main_pass` it can affect what default options are chosen.
104
+ `environment` can optionally be provided to set environment variables during execution. For av1 it's used to reduce the verbosity of logging so that only major errors are displayed.
105
+ `input_color_depth` effects the format in which pixels are passed to the ffmpeg subprocess. Current valid options are `8bit` and `16bit`. The later will produce higher quality output, but is experimental.
106
+
107
+ Fields can be exposed in the webui as a widget using a format similar to what is used in the creation of custom nodes. In the above example, the argument for `-crf` will be exposed as a format widget in the webui. Format widgets are a list of up to 3 terms
108
+ - The name of the widget that will be displayed in the web ui
109
+ - Either a primitive such as "INT" or "BOOLEAN", or a list of string options
110
+ - A dictionary of options
custom_nodes/ComfyUI-VideoHelperSuite/__init__.py ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ from .videohelpersuite.nodes import NODE_CLASS_MAPPINGS, NODE_DISPLAY_NAME_MAPPINGS
2
+ import folder_paths
3
+ from .videohelpersuite.server import server
4
+ from .videohelpersuite import documentation
5
+ from .videohelpersuite import latent_preview
6
+
7
+ WEB_DIRECTORY = "./web"
8
+ __all__ = ["NODE_CLASS_MAPPINGS", "NODE_DISPLAY_NAME_MAPPINGS", "WEB_DIRECTORY"]
9
+ documentation.format_descriptions(NODE_CLASS_MAPPINGS)
custom_nodes/ComfyUI-VideoHelperSuite/__pycache__/__init__.cpython-311.pyc ADDED
Binary file (693 Bytes). View file
 
custom_nodes/ComfyUI-VideoHelperSuite/__pycache__/__init__.cpython-312.pyc ADDED
Binary file (663 Bytes). View file
 
custom_nodes/ComfyUI-VideoHelperSuite/pyproject.toml ADDED
@@ -0,0 +1,15 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [project]
2
+ name = "comfyui-videohelpersuite"
3
+ description = "Nodes related to video workflows"
4
+ version = "1.5.1"
5
+ license = { file = "LICENSE" }
6
+ dependencies = ["opencv-python", "imageio-ffmpeg"]
7
+
8
+ [project.urls]
9
+ Repository = "https://github.com/Kosinkadink/ComfyUI-VideoHelperSuite"
10
+
11
+ # Used by Comfy Registry https://comfyregistry.org
12
+ [tool.comfy]
13
+ PublisherId = "kosinkadink"
14
+ DisplayName = "ComfyUI-VideoHelperSuite"
15
+ Icon = ""
custom_nodes/ComfyUI-VideoHelperSuite/requirements.txt ADDED
@@ -0,0 +1,2 @@
 
 
 
1
+ opencv-python
2
+ imageio-ffmpeg
custom_nodes/ComfyUI-VideoHelperSuite/testframework/README.md ADDED
@@ -0,0 +1,5 @@
 
 
 
 
 
 
1
+ Code to automate execution of the tests and evaluate the results.
2
+ Distributed as a `custom node`, and can be installed by copying or simlinking to the `custom_nodes` directory.
3
+ Requires that ffprobe be available and added to the path. Note that imageio-ffmpeg does not bundle ffprobe.
4
+
5
+ When installed, it adds a new sidebar tab to automate running one, or a folder of tests. This requires that the `Use new menu and workflow management` setting not be disabled
custom_nodes/ComfyUI-VideoHelperSuite/testframework/__init__.py ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ from . import server
2
+ NODE_CLASS_MAPPINGS = {}
3
+ NODE_DISPLAY_NAME_MAPPINGS = {}
4
+
5
+ WEB_DIRECTORY = "./web"
6
+ __all__ = ["NODE_CLASS_MAPPINGS", "NODE_DISPLAY_NAME_MAPPINGS", "WEB_DIRECTORY"]
custom_nodes/ComfyUI-VideoHelperSuite/testframework/server.py ADDED
@@ -0,0 +1,60 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import subprocess
2
+ import json
3
+ import os
4
+ import torch
5
+ import shutil
6
+
7
+ import server
8
+ import folder_paths
9
+
10
+ web = server.web
11
+
12
+ @server.PromptServer.instance.routes.post("/VHS_test")
13
+ async def test(request):
14
+ try:
15
+ req_data = await request.json()
16
+ output = req_data['output']['gifs'][0]
17
+ filename = output['filename']
18
+ typ = output['type']
19
+ base_args = ["ffprobe", "-v", "error", '-count_packets', "-show_entries", "stream", "-of", "json"]
20
+ video = folder_paths.get_annotated_filepath(f'{filename} [{typ}]')
21
+ vprobe = json.loads(subprocess.run(base_args + ['-select_streams', 'v:0', video],
22
+ capture_output=True, check=True).stdout)['streams'][0]
23
+ aprobe = json.loads(subprocess.run(base_args + ['-select_streams', 'a:0', video],
24
+ capture_output=True, check=True).stdout)['streams']
25
+ probe = {'video': vprobe}
26
+ if len(aprobe) > 0:
27
+ probe['audio'] = aprobe[0]
28
+ errors = []
29
+ compare = None
30
+ for test in req_data['tests']:
31
+ if test['type'] == 'compare':
32
+ compare = test
33
+ continue
34
+ key = test['key']
35
+ expected = test['value']
36
+ actual = probe[test['type']][key]
37
+ if expected != actual:
38
+ #Consider always dumping type?
39
+ errors.append(f'{key}: {expected} != {actual}')
40
+ if len(errors) == 0 and compare is not None:
41
+ if not os.path.exists(compare['filename']):
42
+ os.makedirs(os.path.split(compare['filename'])[0], exist_ok=True)
43
+ shutil.copy(video, compare['filename'])
44
+ print("Missing comparison file has been initialized from output:", os.path.abspath(compare['filename']))
45
+ else:
46
+ #NOTE: This does not include the full memory optimizations of VHS
47
+ #Tests should be small
48
+ #TODO: Figure out way to do opacity comparison. May need to do blending in python
49
+ #(easy, but slower and more memory intensive)
50
+ diff = subprocess.run(['ffmpeg', '-v', 'error', '-i', video, '-i', compare['filename'], '-filter_complex', 'blend=all_mode=grainextract', '-pix_fmt', 'rgb24', '-f', 'rawvideo', '-'], stdout=subprocess.PIPE, check=True).stdout
51
+ diff = torch.frombuffer(diff, dtype=torch.uint8).to(dtype=torch.float32).div_(255)
52
+ #diff = diff.reshape((-1,4))
53
+ d = (diff-0.5).abs().sum()/diff.size(0)
54
+ if d > compare['tolerance']:
55
+ errors.append(f'Similarity is outside specified tolerance: {d}')
56
+ else:
57
+ print('d:', d)
58
+ return web.json_response(errors)
59
+ except Exception as e:
60
+ return web.json_response(str(e))
custom_nodes/ComfyUI-VideoHelperSuite/testframework/web/js/testRunner.js ADDED
@@ -0,0 +1,93 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+
2
+ import {app} from "../../../scripts/app.js";
3
+ import {api} from "../../../scripts/api.js";
4
+
5
+ let watched_nodes = {}
6
+ let resolve = undefined
7
+ let testURL = api.apiURL("/VHS_test")
8
+ let errors = []
9
+ api.addEventListener("executed", async function ({detail}) {
10
+ if (watched_nodes && watched_nodes[detail?.node]) {
11
+ if (detail?.output?.unfinished_batch) {
12
+ return
13
+ }
14
+ let requestBody = {tests: watched_nodes[detail.node], output: detail.output}
15
+ try {
16
+ let req = await fetch(api.apiURL("/VHS_test"),
17
+ {method: "POST", body: JSON.stringify(requestBody)});
18
+ let testResult = await req.json()
19
+ if (testResult.length != 0) {
20
+ errors.push(testResult)
21
+ }
22
+ } catch(e) {
23
+ errors.push(e)
24
+ }
25
+ if (!(watched_nodes.length -= 1)) {
26
+ resolve()
27
+ }
28
+ }
29
+ });
30
+
31
+ async function runTest(file) {
32
+ if (!file?.name?.endsWith(".json")) {
33
+ return false
34
+ }
35
+ let workflow = JSON.parse(await file.text())
36
+ await app.loadGraphData(workflow)
37
+ //NOTE: API is not used so workflow data is actually processed
38
+ watched_nodes = workflow.tests
39
+ errors = []
40
+ let p = new Promise((r) => resolve = r)
41
+ await app.queuePrompt()
42
+ //block until execution completes
43
+ await p
44
+ watched_nodes = {}
45
+ if (errors.length > 0) {
46
+ app.ui.dialog.show("Failed " + errors.length + " tests:\n" + errors)
47
+ return true
48
+ }
49
+ return false
50
+ }
51
+ let iconOverride = document.createElement("style")
52
+ iconOverride.innerHTML = `.VHSTestIcon:before {content: '🧪';}`
53
+ document.body.append(iconOverride)
54
+
55
+ let testSidebar = {id: 'VHStest', title: 'VHS Test', icon: 'VHSTestIcon', type: 'custom',
56
+ render: (e) => {
57
+ e.innerHTML = `Select a folder containing tests
58
+ <input>
59
+ Or select a single test
60
+ <input>
61
+ `
62
+
63
+ const folderInput = e.children[0]
64
+ const fileInput = e.children[1]
65
+ Object.assign(folderInput, {
66
+ type: "file",
67
+ webkitdirectory: true,
68
+ onchange: async function() {
69
+ const startTime = Date.now()
70
+ let failedTests = false
71
+ for(const file of this.files) {
72
+ failedTests ||= await runTest(file)
73
+ }
74
+ this.value=""
75
+ if (!failedTests) {
76
+ console.log("All tests passed in " + ((Date.now() - startTime)/1000) + "s")
77
+ }
78
+ },
79
+ });
80
+ Object.assign(fileInput, {
81
+ type: "file",
82
+ accept: ".json",
83
+ onchange: async function() {
84
+ if (this.files.length) {
85
+ if(!(await runTest(this.files[0]))) {
86
+ console.log("Test complete")
87
+ }
88
+ this.value=""
89
+ }
90
+ },
91
+ });
92
+ }}
93
+ app.extensionManager.registerSidebarTab(testSidebar)
custom_nodes/ComfyUI-VideoHelperSuite/tests/README.md ADDED
@@ -0,0 +1 @@
 
 
1
+ Workflows for automated testing of VHS. Most include an additional tests key to check the properties or perform comparisons on node outputs
custom_nodes/ComfyUI-VideoHelperSuite/tests/batch4x4.json ADDED
@@ -0,0 +1,535 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "last_node_id": 18,
3
+ "last_link_id": 28,
4
+ "nodes": [
5
+ {
6
+ "id": 16,
7
+ "type": "SolidMask",
8
+ "pos": [
9
+ 38,
10
+ 1066
11
+ ],
12
+ "size": {
13
+ "0": 315,
14
+ "1": 106
15
+ },
16
+ "flags": {},
17
+ "order": 0,
18
+ "mode": 0,
19
+ "outputs": [
20
+ {
21
+ "name": "MASK",
22
+ "type": "MASK",
23
+ "links": [
24
+ 18
25
+ ],
26
+ "slot_index": 0,
27
+ "shape": 3
28
+ }
29
+ ],
30
+ "properties": {
31
+ "Node name for S&R": "SolidMask"
32
+ },
33
+ "widgets_values": [
34
+ 1,
35
+ 512,
36
+ 512
37
+ ]
38
+ },
39
+ {
40
+ "id": 15,
41
+ "type": "ImageCompositeMasked",
42
+ "pos": [
43
+ 412.0800030517579,
44
+ 591.4099975585939
45
+ ],
46
+ "size": {
47
+ "0": 315,
48
+ "1": 146
49
+ },
50
+ "flags": {},
51
+ "order": 5,
52
+ "mode": 0,
53
+ "inputs": [
54
+ {
55
+ "name": "destination",
56
+ "type": "IMAGE",
57
+ "link": 16
58
+ },
59
+ {
60
+ "name": "source",
61
+ "type": "IMAGE",
62
+ "link": 17
63
+ },
64
+ {
65
+ "name": "mask",
66
+ "type": "MASK",
67
+ "link": 18
68
+ }
69
+ ],
70
+ "outputs": [
71
+ {
72
+ "name": "IMAGE",
73
+ "type": "IMAGE",
74
+ "links": [
75
+ 19
76
+ ],
77
+ "slot_index": 0,
78
+ "shape": 3
79
+ }
80
+ ],
81
+ "properties": {
82
+ "Node name for S&R": "ImageCompositeMasked"
83
+ },
84
+ "widgets_values": [
85
+ 0,
86
+ 0,
87
+ false
88
+ ]
89
+ },
90
+ {
91
+ "id": 18,
92
+ "type": "VHS_BatchManager",
93
+ "pos": [
94
+ 329.8000881958008,
95
+ -87.40008056640622
96
+ ],
97
+ "size": {
98
+ "0": 315,
99
+ "1": 58
100
+ },
101
+ "flags": {},
102
+ "order": 1,
103
+ "mode": 0,
104
+ "outputs": [
105
+ {
106
+ "name": "VHS_BatchManager",
107
+ "type": "VHS_BatchManager",
108
+ "links": [
109
+ 24,
110
+ 25,
111
+ 26,
112
+ 27
113
+ ],
114
+ "slot_index": 0,
115
+ "shape": 3
116
+ }
117
+ ],
118
+ "properties": {
119
+ "Node name for S&R": "VHS_BatchManager"
120
+ },
121
+ "widgets_values": {
122
+ "frames_per_batch": 4,
123
+ "count": 2
124
+ }
125
+ },
126
+ {
127
+ "id": 10,
128
+ "type": "VHS_LoadVideoPath",
129
+ "pos": [
130
+ 24,
131
+ 102
132
+ ],
133
+ "size": [
134
+ 320,
135
+ 420.7188019966722
136
+ ],
137
+ "flags": {},
138
+ "order": 2,
139
+ "mode": 0,
140
+ "inputs": [
141
+ {
142
+ "name": "meta_batch",
143
+ "type": "VHS_BatchManager",
144
+ "link": 25,
145
+ "slot_index": 0
146
+ },
147
+ {
148
+ "name": "vae",
149
+ "type": "VAE",
150
+ "link": null
151
+ }
152
+ ],
153
+ "outputs": [
154
+ {
155
+ "name": "IMAGE",
156
+ "type": "IMAGE",
157
+ "links": [
158
+ 16,
159
+ 22
160
+ ],
161
+ "slot_index": 0,
162
+ "shape": 3
163
+ },
164
+ {
165
+ "name": "frame_count",
166
+ "type": "INT",
167
+ "links": null,
168
+ "shape": 3
169
+ },
170
+ {
171
+ "name": "audio",
172
+ "type": "AUDIO",
173
+ "links": [
174
+ 28
175
+ ],
176
+ "slot_index": 2,
177
+ "shape": 3
178
+ },
179
+ {
180
+ "name": "video_info",
181
+ "type": "VHS_VIDEOINFO",
182
+ "links": null,
183
+ "shape": 3
184
+ }
185
+ ],
186
+ "properties": {
187
+ "Node name for S&R": "VHS_LoadVideoPath"
188
+ },
189
+ "widgets_values": {
190
+ "video": "input/bigbuckbunny.mp4",
191
+ "force_rate": 8,
192
+ "force_size": "512x?",
193
+ "custom_width": 512,
194
+ "custom_height": 512,
195
+ "frame_load_cap": 16,
196
+ "skip_first_frames": 64,
197
+ "select_every_nth": 1,
198
+ "videopreview": {
199
+ "hidden": false,
200
+ "paused": false,
201
+ "params": {
202
+ "frame_load_cap": 16,
203
+ "skip_first_frames": 64,
204
+ "force_rate": 8,
205
+ "filename": "input/bigbuckbunny.mp4",
206
+ "type": "path",
207
+ "format": "video/mp4",
208
+ "select_every_nth": 1,
209
+ "force_size": "512x?"
210
+ }
211
+ }
212
+ }
213
+ },
214
+ {
215
+ "id": 14,
216
+ "type": "VHS_LoadVideoPath",
217
+ "pos": [
218
+ 26,
219
+ 598
220
+ ],
221
+ "size": [
222
+ 320,
223
+ 444.7188019966722
224
+ ],
225
+ "flags": {},
226
+ "order": 3,
227
+ "mode": 0,
228
+ "inputs": [
229
+ {
230
+ "name": "meta_batch",
231
+ "type": "VHS_BatchManager",
232
+ "link": 26,
233
+ "slot_index": 0
234
+ },
235
+ {
236
+ "name": "vae",
237
+ "type": "VAE",
238
+ "link": null
239
+ }
240
+ ],
241
+ "outputs": [
242
+ {
243
+ "name": "IMAGE",
244
+ "type": "IMAGE",
245
+ "links": [
246
+ 17
247
+ ],
248
+ "slot_index": 0,
249
+ "shape": 3
250
+ },
251
+ {
252
+ "name": "frame_count",
253
+ "type": "INT",
254
+ "links": null,
255
+ "shape": 3
256
+ },
257
+ {
258
+ "name": "audio",
259
+ "type": "VHS_AUDIO",
260
+ "links": [],
261
+ "slot_index": 2,
262
+ "shape": 3
263
+ },
264
+ {
265
+ "name": "video_info",
266
+ "type": "VHS_VIDEOINFO",
267
+ "links": null,
268
+ "shape": 3
269
+ }
270
+ ],
271
+ "properties": {
272
+ "Node name for S&R": "VHS_LoadVideoPath"
273
+ },
274
+ "widgets_values": {
275
+ "video": "input/bigbuckbunny.mp4",
276
+ "force_rate": 8,
277
+ "force_size": "Custom Width",
278
+ "custom_width": 384,
279
+ "custom_height": 512,
280
+ "frame_load_cap": 16,
281
+ "skip_first_frames": 64,
282
+ "select_every_nth": 1,
283
+ "videopreview": {
284
+ "hidden": false,
285
+ "paused": false,
286
+ "params": {
287
+ "frame_load_cap": 16,
288
+ "skip_first_frames": 64,
289
+ "force_rate": 8,
290
+ "filename": "input/bigbuckbunny.mp4",
291
+ "type": "path",
292
+ "format": "video/mp4",
293
+ "select_every_nth": 1,
294
+ "force_size": "512x?"
295
+ }
296
+ }
297
+ }
298
+ },
299
+ {
300
+ "id": 11,
301
+ "type": "VHS_VideoCombine",
302
+ "pos": [
303
+ 762,
304
+ 646
305
+ ],
306
+ "size": [
307
+ 320,
308
+ 492.75
309
+ ],
310
+ "flags": {},
311
+ "order": 6,
312
+ "mode": 0,
313
+ "inputs": [
314
+ {
315
+ "name": "images",
316
+ "type": "IMAGE",
317
+ "link": 19
318
+ },
319
+ {
320
+ "name": "audio",
321
+ "type": "AUDIO",
322
+ "link": 28
323
+ },
324
+ {
325
+ "name": "meta_batch",
326
+ "type": "VHS_BatchManager",
327
+ "link": 27,
328
+ "slot_index": 2
329
+ },
330
+ {
331
+ "name": "vae",
332
+ "type": "VAE",
333
+ "link": null
334
+ }
335
+ ],
336
+ "outputs": [
337
+ {
338
+ "name": "Filenames",
339
+ "type": "VHS_FILENAMES",
340
+ "links": null,
341
+ "shape": 3
342
+ }
343
+ ],
344
+ "properties": {
345
+ "Node name for S&R": "VHS_VideoCombine"
346
+ },
347
+ "widgets_values": {
348
+ "frame_rate": 8,
349
+ "loop_count": 0,
350
+ "filename_prefix": "AnimateDiff",
351
+ "format": "video/h264-mp4",
352
+ "pix_fmt": "yuv420p",
353
+ "crf": 19,
354
+ "save_metadata": true,
355
+ "pingpong": false,
356
+ "save_output": false,
357
+ "videopreview": {
358
+ "hidden": false,
359
+ "paused": false,
360
+ "params": {
361
+ "filename": "AnimateDiff_00005-audio.mp4",
362
+ "subfolder": "",
363
+ "type": "temp",
364
+ "format": "video/h264-mp4",
365
+ "frame_rate": 8
366
+ }
367
+ }
368
+ }
369
+ },
370
+ {
371
+ "id": 17,
372
+ "type": "VHS_VideoCombine",
373
+ "pos": [
374
+ 756,
375
+ 100
376
+ ],
377
+ "size": [
378
+ 320,
379
+ 492.75
380
+ ],
381
+ "flags": {},
382
+ "order": 4,
383
+ "mode": 0,
384
+ "inputs": [
385
+ {
386
+ "name": "images",
387
+ "type": "IMAGE",
388
+ "link": 22
389
+ },
390
+ {
391
+ "name": "audio",
392
+ "type": "VHS_AUDIO",
393
+ "link": null
394
+ },
395
+ {
396
+ "name": "meta_batch",
397
+ "type": "VHS_BatchManager",
398
+ "link": 24,
399
+ "slot_index": 2
400
+ },
401
+ {
402
+ "name": "vae",
403
+ "type": "VAE",
404
+ "link": null
405
+ }
406
+ ],
407
+ "outputs": [
408
+ {
409
+ "name": "Filenames",
410
+ "type": "VHS_FILENAMES",
411
+ "links": null,
412
+ "shape": 3
413
+ }
414
+ ],
415
+ "properties": {
416
+ "Node name for S&R": "VHS_VideoCombine"
417
+ },
418
+ "widgets_values": {
419
+ "frame_rate": 8,
420
+ "loop_count": 0,
421
+ "filename_prefix": "AnimateDiff",
422
+ "format": "video/webm",
423
+ "pix_fmt": "yuv420p",
424
+ "crf": 20,
425
+ "save_metadata": true,
426
+ "pingpong": false,
427
+ "save_output": false,
428
+ "videopreview": {
429
+ "hidden": false,
430
+ "paused": false,
431
+ "params": {
432
+ "filename": "AnimateDiff_00004.webm",
433
+ "subfolder": "",
434
+ "type": "temp",
435
+ "format": "video/webm",
436
+ "frame_rate": 8
437
+ }
438
+ }
439
+ }
440
+ }
441
+ ],
442
+ "links": [
443
+ [
444
+ 16,
445
+ 10,
446
+ 0,
447
+ 15,
448
+ 0,
449
+ "IMAGE"
450
+ ],
451
+ [
452
+ 17,
453
+ 14,
454
+ 0,
455
+ 15,
456
+ 1,
457
+ "IMAGE"
458
+ ],
459
+ [
460
+ 18,
461
+ 16,
462
+ 0,
463
+ 15,
464
+ 2,
465
+ "MASK"
466
+ ],
467
+ [
468
+ 19,
469
+ 15,
470
+ 0,
471
+ 11,
472
+ 0,
473
+ "IMAGE"
474
+ ],
475
+ [
476
+ 22,
477
+ 10,
478
+ 0,
479
+ 17,
480
+ 0,
481
+ "IMAGE"
482
+ ],
483
+ [
484
+ 24,
485
+ 18,
486
+ 0,
487
+ 17,
488
+ 2,
489
+ "VHS_BatchManager"
490
+ ],
491
+ [
492
+ 25,
493
+ 18,
494
+ 0,
495
+ 10,
496
+ 0,
497
+ "VHS_BatchManager"
498
+ ],
499
+ [
500
+ 26,
501
+ 18,
502
+ 0,
503
+ 14,
504
+ 0,
505
+ "VHS_BatchManager"
506
+ ],
507
+ [
508
+ 27,
509
+ 18,
510
+ 0,
511
+ 11,
512
+ 2,
513
+ "VHS_BatchManager"
514
+ ],
515
+ [
516
+ 28,
517
+ 10,
518
+ 2,
519
+ 11,
520
+ 1,
521
+ "VHS_AUDIO"
522
+ ]
523
+ ],
524
+ "groups": [],
525
+ "config": {},
526
+ "extra": {},
527
+ "version": 0.4,
528
+ "tests": {
529
+ "17": [{"type": "video", "key": "nb_read_packets", "value": "16"}],
530
+ "11": [{"type": "video", "key": "nb_read_packets", "value": "16"},
531
+ {"type": "compare", "filename": "custom_nodes/ComfyUI-VideoHelperSuite/tests/outputs/batch.mp4", "tolerance": 0.02}
532
+ ],
533
+ "length": 1
534
+ }
535
+ }
custom_nodes/ComfyUI-VideoHelperSuite/tests/converted-format-input.json ADDED
@@ -0,0 +1,253 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "last_node_id": 19,
3
+ "last_link_id": 20,
4
+ "nodes": [
5
+ {
6
+ "id": 18,
7
+ "type": "PrimitiveNode",
8
+ "pos": [
9
+ 318,
10
+ 618
11
+ ],
12
+ "size": [
13
+ 210,
14
+ 82
15
+ ],
16
+ "flags": {},
17
+ "order": 0,
18
+ "mode": 0,
19
+ "inputs": [],
20
+ "outputs": [
21
+ {
22
+ "name": "INT",
23
+ "type": "INT",
24
+ "links": [
25
+ 18
26
+ ],
27
+ "widget": {
28
+ "name": "crf"
29
+ }
30
+ }
31
+ ],
32
+ "properties": {
33
+ "Run widget replace on values": false
34
+ },
35
+ "widgets_values": [
36
+ 60,
37
+ "fixed"
38
+ ]
39
+ },
40
+ {
41
+ "id": 11,
42
+ "type": "LoadImage",
43
+ "pos": [
44
+ 260.4530029296875,
45
+ 233.2003173828125
46
+ ],
47
+ "size": [
48
+ 315,
49
+ 314
50
+ ],
51
+ "flags": {},
52
+ "order": 1,
53
+ "mode": 0,
54
+ "inputs": [],
55
+ "outputs": [
56
+ {
57
+ "name": "IMAGE",
58
+ "type": "IMAGE",
59
+ "links": [
60
+ 19
61
+ ],
62
+ "slot_index": 0
63
+ },
64
+ {
65
+ "name": "MASK",
66
+ "type": "MASK",
67
+ "links": null
68
+ }
69
+ ],
70
+ "properties": {
71
+ "Node name for S&R": "LoadImage"
72
+ },
73
+ "widgets_values": [
74
+ "example.png",
75
+ "image"
76
+ ]
77
+ },
78
+ {
79
+ "id": 17,
80
+ "type": "VHS_VideoCombine",
81
+ "pos": [
82
+ 733.3749389648438,
83
+ 338.28924560546875
84
+ ],
85
+ "size": [
86
+ 222.91415405273438,
87
+ 522.9141845703125
88
+ ],
89
+ "flags": {},
90
+ "order": 3,
91
+ "mode": 0,
92
+ "inputs": [
93
+ {
94
+ "name": "images",
95
+ "type": "IMAGE",
96
+ "link": 19
97
+ },
98
+ {
99
+ "name": "audio",
100
+ "type": "AUDIO",
101
+ "link": null,
102
+ "shape": 7
103
+ },
104
+ {
105
+ "name": "meta_batch",
106
+ "type": "VHS_BatchManager",
107
+ "link": null,
108
+ "shape": 7
109
+ },
110
+ {
111
+ "name": "vae",
112
+ "type": "VAE",
113
+ "link": null,
114
+ "shape": 7
115
+ },
116
+ {
117
+ "name": "crf",
118
+ "type": "INT",
119
+ "link": 18,
120
+ "widget": {
121
+ "name": "crf"
122
+ }
123
+ },
124
+ {
125
+ "name": "pix_fmt",
126
+ "type": [
127
+ "yuv420p",
128
+ "yuv420p10le"
129
+ ],
130
+ "link": 20,
131
+ "widget": {
132
+ "name": "pix_fmt"
133
+ }
134
+ }
135
+ ],
136
+ "outputs": [
137
+ {
138
+ "name": "Filenames",
139
+ "type": "VHS_FILENAMES",
140
+ "links": null
141
+ }
142
+ ],
143
+ "properties": {
144
+ "Node name for S&R": "VHS_VideoCombine"
145
+ },
146
+ "widgets_values": {
147
+ "frame_rate": 8,
148
+ "loop_count": 0,
149
+ "filename_prefix": "AnimateDiff",
150
+ "format": "video/h264-mp4",
151
+ "pix_fmt": "yuv420p10le",
152
+ "crf": 60,
153
+ "save_metadata": true,
154
+ "pingpong": false,
155
+ "save_output": false,
156
+ "videopreview": {
157
+ "hidden": false,
158
+ "paused": false,
159
+ "params": {
160
+ "filename": "AnimateDiff_00001.mp4",
161
+ "subfolder": "",
162
+ "type": "temp",
163
+ "format": "video/h264-mp4",
164
+ "frame_rate": 8
165
+ },
166
+ "muted": false
167
+ }
168
+ }
169
+ },
170
+ {
171
+ "id": 19,
172
+ "type": "PrimitiveNode",
173
+ "pos": [
174
+ 300,
175
+ 760
176
+ ],
177
+ "size": [
178
+ 290,
179
+ 110
180
+ ],
181
+ "flags": {},
182
+ "order": 2,
183
+ "mode": 0,
184
+ "inputs": [],
185
+ "outputs": [
186
+ {
187
+ "name": "COMBO",
188
+ "type": "COMBO",
189
+ "links": [
190
+ 20
191
+ ],
192
+ "widget": {
193
+ "name": "pix_fmt"
194
+ }
195
+ }
196
+ ],
197
+ "properties": {
198
+ "Run widget replace on values": false
199
+ },
200
+ "widgets_values": [
201
+ "yuv420p10le",
202
+ "fixed",
203
+ ""
204
+ ]
205
+ }
206
+ ],
207
+ "links": [
208
+ [
209
+ 18,
210
+ 18,
211
+ 0,
212
+ 17,
213
+ 4,
214
+ "INT"
215
+ ],
216
+ [
217
+ 19,
218
+ 11,
219
+ 0,
220
+ 17,
221
+ 0,
222
+ "IMAGE"
223
+ ],
224
+ [
225
+ 20,
226
+ 19,
227
+ 0,
228
+ 17,
229
+ 5,
230
+ [
231
+ "yuv420p",
232
+ "yuv420p10le"
233
+ ]
234
+ ]
235
+ ],
236
+ "groups": [],
237
+ "config": {},
238
+ "extra": {
239
+ "ds": {
240
+ "scale": 0.8264462809917354,
241
+ "offset": [
242
+ 45.8650452880864,
243
+ -157.46987175292935
244
+ ]
245
+ }
246
+ },
247
+ "version": 0.4,
248
+ "tests": {
249
+ "17": [{"type": "video", "key": "pix_fmt", "value": "yuv420p10le"}
250
+ ],
251
+ "length": 1
252
+ }
253
+ }
custom_nodes/ComfyUI-VideoHelperSuite/tests/converted-input.json ADDED
@@ -0,0 +1,307 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "last_node_id": 20,
3
+ "last_link_id": 23,
4
+ "nodes": [
5
+ {
6
+ "id": 18,
7
+ "type": "VHS_VideoInfoLoaded",
8
+ "pos": [
9
+ 424,
10
+ 427
11
+ ],
12
+ "size": {
13
+ "0": 304.79998779296875,
14
+ "1": 106
15
+ },
16
+ "flags": {},
17
+ "order": 2,
18
+ "mode": 0,
19
+ "inputs": [
20
+ {
21
+ "name": "video_info",
22
+ "type": "VHS_VIDEOINFO",
23
+ "link": 19
24
+ }
25
+ ],
26
+ "outputs": [
27
+ {
28
+ "name": "fps🟦",
29
+ "type": "FLOAT",
30
+ "links": [
31
+ 20
32
+ ],
33
+ "slot_index": 0,
34
+ "shape": 3
35
+ },
36
+ {
37
+ "name": "frame_count🟦",
38
+ "type": "INT",
39
+ "links": null,
40
+ "shape": 3
41
+ },
42
+ {
43
+ "name": "duration🟦",
44
+ "type": "FLOAT",
45
+ "links": null,
46
+ "shape": 3
47
+ },
48
+ {
49
+ "name": "width🟦",
50
+ "type": "INT",
51
+ "links": null,
52
+ "shape": 3
53
+ },
54
+ {
55
+ "name": "height🟦",
56
+ "type": "INT",
57
+ "links": null,
58
+ "shape": 3
59
+ }
60
+ ],
61
+ "properties": {
62
+ "Node name for S&R": "VHS_VideoInfoLoaded"
63
+ },
64
+ "widgets_values": {}
65
+ },
66
+ {
67
+ "id": 17,
68
+ "type": "VHS_VideoCombine",
69
+ "pos": [
70
+ 783,
71
+ 223
72
+ ],
73
+ "size": [
74
+ 315,
75
+ 286
76
+ ],
77
+ "flags": {},
78
+ "order": 3,
79
+ "mode": 0,
80
+ "inputs": [
81
+ {
82
+ "name": "images",
83
+ "type": "IMAGE",
84
+ "link": 21
85
+ },
86
+ {
87
+ "name": "audio",
88
+ "type": "VHS_AUDIO",
89
+ "link": null
90
+ },
91
+ {
92
+ "name": "meta_batch",
93
+ "type": "VHS_BatchManager",
94
+ "link": null
95
+ },
96
+ {
97
+ "name": "frame_rate",
98
+ "type": "FLOAT",
99
+ "link": 20,
100
+ "widget": {
101
+ "name": "frame_rate"
102
+ }
103
+ }
104
+ ],
105
+ "outputs": [
106
+ {
107
+ "name": "Filenames",
108
+ "type": "VHS_FILENAMES",
109
+ "links": null,
110
+ "shape": 3
111
+ }
112
+ ],
113
+ "properties": {
114
+ "Node name for S&R": "VHS_VideoCombine"
115
+ },
116
+ "widgets_values": {
117
+ "frame_rate": 8,
118
+ "loop_count": 0,
119
+ "filename_prefix": "AnimateDiff",
120
+ "format": "video/h264-mp4",
121
+ "pix_fmt": "yuv420p",
122
+ "crf": 19,
123
+ "save_metadata": true,
124
+ "pingpong": false,
125
+ "save_output": false,
126
+ "videopreview": {
127
+ "hidden": false,
128
+ "paused": false,
129
+ "params": {
130
+ "filename": "AnimateDiff_00001.mp4",
131
+ "subfolder": "",
132
+ "type": "temp",
133
+ "format": "video/h264-mp4"
134
+ }
135
+ }
136
+ }
137
+ },
138
+ {
139
+ "id": 16,
140
+ "type": "VHS_LoadVideoPath",
141
+ "pos": [
142
+ 96,
143
+ 230
144
+ ],
145
+ "size": [
146
+ 315,
147
+ 449.5
148
+ ],
149
+ "flags": {},
150
+ "order": 1,
151
+ "mode": 0,
152
+ "inputs": [
153
+ {
154
+ "name": "meta_batch",
155
+ "type": "VHS_BatchManager",
156
+ "link": null
157
+ },
158
+ {
159
+ "name": "frame_load_cap",
160
+ "type": "INT",
161
+ "link": 23,
162
+ "slot_index": 1,
163
+ "widget": {
164
+ "name": "frame_load_cap"
165
+ }
166
+ }
167
+ ],
168
+ "outputs": [
169
+ {
170
+ "name": "IMAGE",
171
+ "type": "IMAGE",
172
+ "links": [
173
+ 21
174
+ ],
175
+ "slot_index": 0,
176
+ "shape": 3
177
+ },
178
+ {
179
+ "name": "frame_count",
180
+ "type": "INT",
181
+ "links": null,
182
+ "shape": 3
183
+ },
184
+ {
185
+ "name": "audio",
186
+ "type": "VHS_AUDIO",
187
+ "links": null,
188
+ "shape": 3
189
+ },
190
+ {
191
+ "name": "video_info",
192
+ "type": "VHS_VIDEOINFO",
193
+ "links": [
194
+ 19
195
+ ],
196
+ "slot_index": 3,
197
+ "shape": 3
198
+ }
199
+ ],
200
+ "properties": {
201
+ "Node name for S&R": "VHS_LoadVideoPath"
202
+ },
203
+ "widgets_values": {
204
+ "video": "input/leader.webm",
205
+ "force_rate": 0,
206
+ "force_size": "Disabled",
207
+ "custom_width": 512,
208
+ "custom_height": 512,
209
+ "frame_load_cap": 64,
210
+ "skip_first_frames": 0,
211
+ "select_every_nth": 1,
212
+ "videopreview": {
213
+ "hidden": false,
214
+ "paused": false,
215
+ "params": {
216
+ "frame_load_cap": 64,
217
+ "skip_first_frames": 0,
218
+ "force_rate": 0,
219
+ "filename": "input/leader.webm",
220
+ "type": "path",
221
+ "format": "video/webm",
222
+ "select_every_nth": 1
223
+ }
224
+ }
225
+ }
226
+ },
227
+ {
228
+ "id": 20,
229
+ "type": "PrimitiveNode",
230
+ "pos": [
231
+ -240,
232
+ 170
233
+ ],
234
+ "size": {
235
+ "0": 210,
236
+ "1": 80
237
+ },
238
+ "flags": {},
239
+ "order": 0,
240
+ "mode": 0,
241
+ "outputs": [
242
+ {
243
+ "name": "INT",
244
+ "type": "INT",
245
+ "links": [
246
+ 23
247
+ ],
248
+ "widget": {
249
+ "name": "frame_load_cap"
250
+ }
251
+ }
252
+ ],
253
+ "properties": {
254
+ "Run widget replace on values": false
255
+ },
256
+ "widgets_values": [
257
+ 64,
258
+ "fixed"
259
+ ]
260
+ }
261
+ ],
262
+ "links": [
263
+ [
264
+ 19,
265
+ 16,
266
+ 3,
267
+ 18,
268
+ 0,
269
+ "VHS_VIDEOINFO"
270
+ ],
271
+ [
272
+ 20,
273
+ 18,
274
+ 0,
275
+ 17,
276
+ 3,
277
+ "FLOAT"
278
+ ],
279
+ [
280
+ 21,
281
+ 16,
282
+ 0,
283
+ 17,
284
+ 0,
285
+ "IMAGE"
286
+ ],
287
+ [
288
+ 23,
289
+ 20,
290
+ 0,
291
+ 16,
292
+ 1,
293
+ "INT"
294
+ ]
295
+ ],
296
+ "groups": [],
297
+ "config": {},
298
+ "extra": {},
299
+ "version": 0.4,
300
+ "tests": {
301
+ "17": [{"type": "video", "key": "width", "value": 1440},
302
+ {"type": "video", "key": "height", "value": 1080},
303
+ {"type": "video", "key": "nb_read_packets", "value": "64"}
304
+ ],
305
+ "length": 1
306
+ }
307
+ }
custom_nodes/ComfyUI-VideoHelperSuite/tests/loop.json ADDED
@@ -0,0 +1,178 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "last_node_id": 3,
3
+ "last_link_id": 1,
4
+ "nodes": [
5
+ {
6
+ "id": 1,
7
+ "type": "VHS_LoadVideo",
8
+ "pos": {
9
+ "0": 54,
10
+ "1": 89
11
+ },
12
+ "size": [
13
+ 260,
14
+ 460
15
+ ],
16
+ "flags": {},
17
+ "order": 0,
18
+ "mode": 0,
19
+ "inputs": [
20
+ {
21
+ "name": "meta_batch",
22
+ "type": "VHS_BatchManager",
23
+ "link": null
24
+ },
25
+ {
26
+ "name": "vae",
27
+ "type": "VAE",
28
+ "link": null
29
+ }
30
+ ],
31
+ "outputs": [
32
+ {
33
+ "name": "IMAGE",
34
+ "type": "IMAGE",
35
+ "links": [
36
+ 1
37
+ ],
38
+ "slot_index": 0,
39
+ "shape": 3
40
+ },
41
+ {
42
+ "name": "frame_count",
43
+ "type": "INT",
44
+ "links": null,
45
+ "shape": 3
46
+ },
47
+ {
48
+ "name": "audio",
49
+ "type": "VHS_AUDIO",
50
+ "links": null,
51
+ "shape": 3
52
+ },
53
+ {
54
+ "name": "video_info",
55
+ "type": "VHS_VIDEOINFO",
56
+ "links": null,
57
+ "shape": 3
58
+ }
59
+ ],
60
+ "properties": {
61
+ "Node name for S&R": "VHS_LoadVideo"
62
+ },
63
+ "widgets_values": {
64
+ "video": "leader.webm",
65
+ "force_rate": 8,
66
+ "force_size": "Disabled",
67
+ "custom_width": 304,
68
+ "custom_height": 312,
69
+ "frame_load_cap": 16,
70
+ "skip_first_frames": 1,
71
+ "select_every_nth": 1,
72
+ "choose video to upload": "image",
73
+ "videopreview": {
74
+ "hidden": false,
75
+ "paused": false,
76
+ "params": {
77
+ "frame_load_cap": 16,
78
+ "skip_first_frames": 1,
79
+ "force_rate": 8,
80
+ "filename": "leader.webm",
81
+ "type": "input",
82
+ "format": "video/mp4",
83
+ "force_size": "410.4x?",
84
+ "select_every_nth": 1
85
+ }
86
+ }
87
+ }
88
+ },
89
+ {
90
+ "id": 3,
91
+ "type": "VHS_VideoCombine",
92
+ "pos": {
93
+ "0": 629,
94
+ "1": 222
95
+ },
96
+ "size": [
97
+ 320,
98
+ 550
99
+ ],
100
+ "flags": {},
101
+ "order": 1,
102
+ "mode": 0,
103
+ "inputs": [
104
+ {
105
+ "name": "images",
106
+ "type": "IMAGE",
107
+ "link": 1
108
+ },
109
+ {
110
+ "name": "audio",
111
+ "type": "AUDIO",
112
+ "link": null
113
+ },
114
+ {
115
+ "name": "meta_batch",
116
+ "type": "VHS_BatchManager",
117
+ "link": null
118
+ },
119
+ {
120
+ "name": "vae",
121
+ "type": "VAE",
122
+ "link": null
123
+ }
124
+ ],
125
+ "outputs": [
126
+ {
127
+ "name": "Filenames",
128
+ "type": "VHS_FILENAMES",
129
+ "links": null,
130
+ "shape": 3
131
+ }
132
+ ],
133
+ "properties": {
134
+ "Node name for S&R": "VHS_VideoCombine"
135
+ },
136
+ "widgets_values": {
137
+ "frame_rate": 8,
138
+ "loop_count": 1,
139
+ "filename_prefix": "AnimateDiff",
140
+ "format": "video/h264-mp4",
141
+ "pix_fmt": "yuv420p",
142
+ "crf": 19,
143
+ "save_metadata": true,
144
+ "pingpong": false,
145
+ "save_output": false,
146
+ "videopreview": {
147
+ "hidden": false,
148
+ "paused": false,
149
+ "params": {
150
+ "filename": "AnimateDiff_00005.mp4",
151
+ "subfolder": "",
152
+ "type": "temp",
153
+ "format": "video/h264-mp4",
154
+ "frame_rate": 8
155
+ }
156
+ }
157
+ }
158
+ }
159
+ ],
160
+ "links": [
161
+ [
162
+ 1,
163
+ 1,
164
+ 0,
165
+ 3,
166
+ 0,
167
+ "IMAGE"
168
+ ]
169
+ ],
170
+ "groups": [],
171
+ "config": {},
172
+ "extra": {},
173
+ "version": 0.4,
174
+ "tests": {
175
+ "3": [{"type": "video", "key": "nb_read_packets", "value": "32"}],
176
+ "length": 1
177
+ }
178
+ }
custom_nodes/ComfyUI-VideoHelperSuite/tests/old-vae-conversion.json ADDED
@@ -0,0 +1,229 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "last_node_id": 10,
3
+ "last_link_id": 9,
4
+ "nodes": [
5
+ {
6
+ "id": 7,
7
+ "type": "VHS_VideoCombine",
8
+ "pos": [
9
+ 746,
10
+ 309
11
+ ],
12
+ "size": [
13
+ 320,
14
+ 468.7188019966722
15
+ ],
16
+ "flags": {},
17
+ "order": 2,
18
+ "mode": 0,
19
+ "inputs": [
20
+ {
21
+ "name": "images",
22
+ "type": "LATENT",
23
+ "link": 9
24
+ },
25
+ {
26
+ "name": "audio",
27
+ "type": "AUDIO",
28
+ "link": null
29
+ },
30
+ {
31
+ "name": "meta_batch",
32
+ "type": "VHS_BatchManager",
33
+ "link": null
34
+ },
35
+ {
36
+ "name": "vae",
37
+ "type": "VAE",
38
+ "link": 8
39
+ }
40
+ ],
41
+ "outputs": [
42
+ {
43
+ "name": "Filenames",
44
+ "type": "VHS_FILENAMES",
45
+ "links": null,
46
+ "shape": 3
47
+ }
48
+ ],
49
+ "properties": {
50
+ "Node name for S&R": "VHS_VideoCombine"
51
+ },
52
+ "widgets_values": {
53
+ "frame_rate": 8,
54
+ "loop_count": 0,
55
+ "filename_prefix": "AnimateDiff",
56
+ "format": "video/webm",
57
+ "crf": 20,
58
+ "save_metadata": true,
59
+ "pingpong": false,
60
+ "save_output": false,
61
+ "videopreview": {
62
+ "hidden": false,
63
+ "paused": false,
64
+ "params": {
65
+ "filename": "AnimateDiff_00001.webm",
66
+ "subfolder": "",
67
+ "type": "temp",
68
+ "format": "video/webm",
69
+ "frame_rate": 8
70
+ }
71
+ }
72
+ }
73
+ },
74
+ {
75
+ "id": 6,
76
+ "type": "VHS_LoadVideoPath",
77
+ "pos": [
78
+ 171,
79
+ 239
80
+ ],
81
+ "size": [
82
+ 320,
83
+ 420.7188019966722
84
+ ],
85
+ "flags": {},
86
+ "order": 1,
87
+ "mode": 0,
88
+ "inputs": [
89
+ {
90
+ "name": "meta_batch",
91
+ "type": "VHS_BatchManager",
92
+ "link": null
93
+ },
94
+ {
95
+ "name": "vae",
96
+ "type": "VAE",
97
+ "link": 7,
98
+ "slot_index": 1
99
+ }
100
+ ],
101
+ "outputs": [
102
+ {
103
+ "name": "LATENT",
104
+ "type": "LATENT",
105
+ "links": [
106
+ 9
107
+ ],
108
+ "slot_index": 0,
109
+ "shape": 3
110
+ },
111
+ {
112
+ "name": "frame_count",
113
+ "type": "INT",
114
+ "links": null,
115
+ "shape": 3
116
+ },
117
+ {
118
+ "name": "audio",
119
+ "type": "AUDIO",
120
+ "links": [],
121
+ "slot_index": 2,
122
+ "shape": 3
123
+ },
124
+ {
125
+ "name": "video_info",
126
+ "type": "VHS_VIDEOINFO",
127
+ "links": null,
128
+ "shape": 3
129
+ }
130
+ ],
131
+ "properties": {
132
+ "Node name for S&R": "VHS_LoadVideoPath"
133
+ },
134
+ "widgets_values": {
135
+ "video": "/home/austin/Downloads/bigbuckbunny.mp4",
136
+ "force_rate": 8,
137
+ "force_size": "Disabled",
138
+ "custom_width": 512,
139
+ "custom_height": 512,
140
+ "frame_load_cap": 64,
141
+ "skip_first_frames": 0,
142
+ "select_every_nth": 1,
143
+ "videopreview": {
144
+ "hidden": false,
145
+ "paused": false,
146
+ "params": {
147
+ "frame_load_cap": 64,
148
+ "skip_first_frames": 0,
149
+ "force_rate": 8,
150
+ "filename": "/home/austin/Downloads/bigbuckbunny.mp4",
151
+ "type": "path",
152
+ "format": "video/mp4",
153
+ "select_every_nth": 1
154
+ }
155
+ }
156
+ }
157
+ },
158
+ {
159
+ "id": 10,
160
+ "type": "VAELoader",
161
+ "pos": [
162
+ -42,
163
+ 88
164
+ ],
165
+ "size": {
166
+ "0": 315,
167
+ "1": 58
168
+ },
169
+ "flags": {},
170
+ "order": 0,
171
+ "mode": 0,
172
+ "outputs": [
173
+ {
174
+ "name": "VAE",
175
+ "type": "VAE",
176
+ "links": [
177
+ 7,
178
+ 8
179
+ ],
180
+ "shape": 3,
181
+ "slot_index": 0
182
+ }
183
+ ],
184
+ "properties": {
185
+ "Node name for S&R": "VAELoader"
186
+ },
187
+ "widgets_values": [
188
+ "taesd"
189
+ ]
190
+ }
191
+ ],
192
+ "links": [
193
+ [
194
+ 7,
195
+ 10,
196
+ 0,
197
+ 6,
198
+ 1,
199
+ "VAE"
200
+ ],
201
+ [
202
+ 8,
203
+ 10,
204
+ 0,
205
+ 7,
206
+ 3,
207
+ "VAE"
208
+ ],
209
+ [
210
+ 9,
211
+ 6,
212
+ 0,
213
+ 7,
214
+ 0,
215
+ "LATENT"
216
+ ]
217
+ ],
218
+ "groups": [],
219
+ "config": {},
220
+ "extra": {},
221
+ "version": 0.4,
222
+ "tests": {
223
+ "7": [{"type": "video", "key": "width", "value": 1920},
224
+ {"type": "video", "key": "height", "value": 1080},
225
+ {"type": "video", "key": "nb_read_packets", "value": "64"}
226
+ ],
227
+ "length": 1
228
+ }
229
+ }
custom_nodes/ComfyUI-VideoHelperSuite/tests/simple.json ADDED
@@ -0,0 +1,134 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "last_node_id": 3,
3
+ "last_link_id": 1,
4
+ "nodes": [
5
+ {
6
+ "id": 1,
7
+ "type": "VHS_LoadVideo",
8
+ "pos": [
9
+ 54,
10
+ 89
11
+ ],
12
+ "size": [
13
+ 235.1999969482422,
14
+ 384.56999829610186
15
+ ],
16
+ "flags": {},
17
+ "order": 0,
18
+ "mode": 0,
19
+ "outputs": [
20
+ {
21
+ "name": "IMAGE",
22
+ "type": "IMAGE",
23
+ "links": [
24
+ 1
25
+ ],
26
+ "shape": 3,
27
+ "slot_index": 0
28
+ },
29
+ {
30
+ "name": "frame_count",
31
+ "type": "INT",
32
+ "links": null,
33
+ "shape": 3
34
+ },
35
+ {
36
+ "name": "audio",
37
+ "type": "VHS_AUDIO",
38
+ "links": null,
39
+ "shape": 3
40
+ }
41
+ ],
42
+ "properties": {
43
+ "Node name for S&R": "VHS_LoadVideo"
44
+ },
45
+ "widgets_values": {
46
+ "video": "leader.webm",
47
+ "force_rate": 8,
48
+ "force_size": "Custom Width",
49
+ "custom_width": 304,
50
+ "custom_height": 312,
51
+ "frame_load_cap": 16,
52
+ "skip_first_frames": 1,
53
+ "select_every_nth": 1,
54
+ "choose video to upload": "image",
55
+ "videopreview": {
56
+ "hidden": false,
57
+ "paused": false,
58
+ "params": {
59
+ "frame_load_cap": 0,
60
+ "skip_first_frames": 0,
61
+ "force_rate": 0,
62
+ "filename": "leader.webm",
63
+ "type": "input",
64
+ "format": "video/mp4",
65
+ "force_size": "410.4x?",
66
+ "select_every_nth": 1
67
+ }
68
+ }
69
+ }
70
+ },
71
+ {
72
+ "id": 3,
73
+ "type": "VHS_VideoCombine",
74
+ "pos": [
75
+ 629,
76
+ 222
77
+ ],
78
+ "size": {
79
+ "0": 315,
80
+ "1": 250
81
+ },
82
+ "flags": {},
83
+ "order": 1,
84
+ "mode": 0,
85
+ "inputs": [
86
+ {
87
+ "name": "images",
88
+ "type": "IMAGE",
89
+ "link": 1
90
+ }
91
+ ],
92
+ "outputs": [],
93
+ "properties": {
94
+ "Node name for S&R": "VHS_VideoCombine"
95
+ },
96
+ "widgets_values": {
97
+ "frame_rate": 8,
98
+ "loop_count": 0,
99
+ "filename_prefix": "AnimateDiff",
100
+ "format": "video/webm",
101
+ "pingpong": false,
102
+ "save_image": false,
103
+ "crf": 20,
104
+ "save_metadata": false,
105
+ "audio_file": "",
106
+ "videopreview": {
107
+ "hidden": false,
108
+ "paused": false
109
+ }
110
+ }
111
+ }
112
+ ],
113
+ "links": [
114
+ [
115
+ 1,
116
+ 1,
117
+ 0,
118
+ 3,
119
+ 0,
120
+ "IMAGE"
121
+ ]
122
+ ],
123
+ "groups": [],
124
+ "config": {},
125
+ "extra": {},
126
+ "version": 0.4,
127
+ "tests": {
128
+ "3": [{"type": "video", "key": "width", "value": 304},
129
+ {"type": "video", "key": "height", "value": 232},
130
+ {"type": "compare", "filename": "custom_nodes/ComfyUI-VideoHelperSuite/tests/outputs/simple.webm", "tolerance": 0.02}
131
+ ],
132
+ "length": 1
133
+ }
134
+ }
custom_nodes/ComfyUI-VideoHelperSuite/video_formats/16bit-png.json ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "main_pass":
3
+ [
4
+ "-n",
5
+ "-pix_fmt", "rgba64"
6
+ ],
7
+ "input_color_depth": "16bit",
8
+ "extension": "%03d.png"
9
+ }
custom_nodes/ComfyUI-VideoHelperSuite/video_formats/8bit-png.json ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ {
2
+ "main_pass":
3
+ [
4
+ "-n"
5
+ ],
6
+ "extension": "%03d.png"
7
+ }
custom_nodes/ComfyUI-VideoHelperSuite/video_formats/ProRes.json ADDED
@@ -0,0 +1,11 @@
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "main_pass":
3
+ [
4
+ "-n", "-c:v", "prores_ks",
5
+ "-profile:v", ["profile",["1","2","3","4"], {"default": "3"}],
6
+ "-colorspace", "1", "-color_primaries", "1", "-color_trc", "1"
7
+
8
+ ],
9
+ "audio_pass": ["-c:a", "pcm_s16le"],
10
+ "extension": "mov"
11
+ }
custom_nodes/ComfyUI-VideoHelperSuite/video_formats/av1-webm.json ADDED
@@ -0,0 +1,15 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "main_pass":
3
+ [
4
+ "-n", "-c:v", "libsvtav1",
5
+ "-pix_fmt", ["pix_fmt", ["yuv420p10le", "yuv420p"]],
6
+ "-crf", ["crf","INT", {"default": 23, "min": 0, "max": 100, "step": 1}],
7
+ "-vf", "colorspace=all=bt709:iall=bt601-6-625:fast=1",
8
+ "-colorspace", "1", "-color_primaries", "1", "-color_trc", "1"
9
+ ],
10
+ "audio_pass": ["-c:a", "libopus"],
11
+ "input_color_depth": ["input_color_depth", ["8bit", "16bit"]],
12
+ "save_metadata": ["save_metadata", "BOOLEAN", {"default": true}],
13
+ "extension": "webm",
14
+ "environment": {"SVT_LOG": "1"}
15
+ }
custom_nodes/ComfyUI-VideoHelperSuite/video_formats/ffmpeg-gif.json ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "main_pass":
3
+ [
4
+ "-n",
5
+ "-filter_complex", ["dither", ["bayer", "heckbert", "floyd_steinberg", "sierra2", "sierra2_4a", "sierra3", "burkes", "atkinson", "none"], {"default": "sierra2_4a"}, "[0:v] split [a][b]; [a] palettegen=reserve_transparent=on:transparency_color=ffffff [p]; [b][p] paletteuse=dither=$val"]
6
+ ],
7
+ "extension": "gif"
8
+ }
custom_nodes/ComfyUI-VideoHelperSuite/video_formats/gifski.json ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "main_pass":
3
+ [
4
+ "-pix_fmt", "yuv420p"
5
+ ],
6
+ "extension": "gif",
7
+ "gifski_pass": [
8
+ "-Q", ["quality","INT", {"default": 90, "min": 1, "max": 100, "step": 1}]
9
+ ]
10
+ }
custom_nodes/ComfyUI-VideoHelperSuite/video_formats/h264-mp4.json ADDED
@@ -0,0 +1,14 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "main_pass":
3
+ [
4
+ "-n", "-c:v", "libx264",
5
+ "-pix_fmt", ["pix_fmt", ["yuv420p", "yuv420p10le"]],
6
+ "-crf", ["crf","INT", {"default": 19, "min": 0, "max": 100, "step": 1}],
7
+ "-vf", "colorspace=all=bt709:iall=bt601-6-625:fast=1",
8
+ "-colorspace", "1", "-color_primaries", "1", "-color_trc", "1"
9
+ ],
10
+ "audio_pass": ["-c:a", "aac"],
11
+ "save_metadata": ["save_metadata", "BOOLEAN", {"default": true}],
12
+ "trim_to_audio": ["trim_to_audio", "BOOLEAN", {"default": false}],
13
+ "extension": "mp4"
14
+ }
custom_nodes/ComfyUI-VideoHelperSuite/video_formats/h265-mp4.json ADDED
@@ -0,0 +1,16 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "main_pass":
3
+ [
4
+ "-n", "-c:v", "libx265",
5
+ "-vtag", "hvc1",
6
+ "-pix_fmt", ["pix_fmt", ["yuv420p10le", "yuv420p"]],
7
+ "-crf", ["crf","INT", {"default": 22, "min": 0, "max": 100, "step": 1}],
8
+ "-preset", "medium",
9
+ "-vf", "colorspace=all=bt709:iall=bt601-6-625:fast=1",
10
+ "-colorspace", "1", "-color_primaries", "1", "-color_trc", "1",
11
+ "-x265-params", "log-level=quiet"
12
+ ],
13
+ "audio_pass": ["-c:a", "aac"],
14
+ "save_metadata": ["save_metadata", "BOOLEAN", {"default": true}],
15
+ "extension": "mp4"
16
+ }
custom_nodes/ComfyUI-VideoHelperSuite/video_formats/nvenc_h264-mp4.json ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "main_pass":
3
+ [
4
+ "-n", "-c:v", "h264_nvenc",
5
+ "-pix_fmt", ["pix_fmt", ["yuv420p", "yuv420p10le", "rgba"]]
6
+ ],
7
+ "audio_pass": ["-c:a", "aac"],
8
+ "bitrate": ["bitrate","INT", {"default": 10, "min": 1, "max": 999, "step": 1 }],
9
+ "megabit": ["megabit","BOOLEAN", {"default": true}],
10
+ "save_metadata": ["save_metadata", "BOOLEAN", {"default": true}],
11
+ "extension": "mp4"
12
+ }
custom_nodes/ComfyUI-VideoHelperSuite/video_formats/nvenc_hevc-mp4.json ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "main_pass":
3
+ [
4
+ "-n", "-c:v", "hevc_nvenc",
5
+ "-vtag", "hvc1",
6
+ "-pix_fmt", ["pix_fmt", ["yuv420p", "yuv420p10le", "rgba"]]
7
+ ],
8
+ "audio_pass": ["-c:a", "aac"],
9
+ "bitrate": ["bitrate","INT", {"default": 10, "min": 1, "max": 999, "step": 1 }],
10
+ "megabit": ["megabit","BOOLEAN", {"default": true}],
11
+ "save_metadata": ["save_metadata", "BOOLEAN", {"default": true}],
12
+ "extension": "mp4"
13
+ }
custom_nodes/ComfyUI-VideoHelperSuite/video_formats/webm.json ADDED
@@ -0,0 +1,14 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "main_pass":
3
+ [
4
+ "-n",
5
+ "-pix_fmt", ["pix_fmt",["yuv420p","yuva420p"]],
6
+ "-crf", ["crf","INT", {"default": 20, "min": 0, "max": 100, "step": 1}],
7
+ "-b:v", "0",
8
+ "-colorspace", "1", "-color_primaries", "1", "-color_trc", "1"
9
+ ],
10
+ "audio_pass": ["-c:a", "libvorbis"],
11
+ "save_metadata": ["save_metadata", "BOOLEAN", {"default": true}],
12
+ "trim_to_audio": ["trim_to_audio", "BOOLEAN", {"default": false}],
13
+ "extension": "webm"
14
+ }
custom_nodes/ComfyUI-VideoHelperSuite/videohelpersuite/__pycache__/batched_nodes.cpython-311.pyc ADDED
Binary file (3.36 kB). View file
 
custom_nodes/ComfyUI-VideoHelperSuite/videohelpersuite/__pycache__/batched_nodes.cpython-312.pyc ADDED
Binary file (3.01 kB). View file
 
custom_nodes/ComfyUI-VideoHelperSuite/videohelpersuite/__pycache__/documentation.cpython-311.pyc ADDED
Binary file (32.8 kB). View file
 
custom_nodes/ComfyUI-VideoHelperSuite/videohelpersuite/__pycache__/documentation.cpython-312.pyc ADDED
Binary file (31.2 kB). View file
 
custom_nodes/ComfyUI-VideoHelperSuite/videohelpersuite/__pycache__/image_latent_nodes.cpython-311.pyc ADDED
Binary file (26.3 kB). View file
 
custom_nodes/ComfyUI-VideoHelperSuite/videohelpersuite/__pycache__/image_latent_nodes.cpython-312.pyc ADDED
Binary file (23.7 kB). View file
 
custom_nodes/ComfyUI-VideoHelperSuite/videohelpersuite/__pycache__/latent_preview.cpython-311.pyc ADDED
Binary file (8.01 kB). View file
 
custom_nodes/ComfyUI-VideoHelperSuite/videohelpersuite/__pycache__/latent_preview.cpython-312.pyc ADDED
Binary file (7.57 kB). View file
 
custom_nodes/ComfyUI-VideoHelperSuite/videohelpersuite/__pycache__/load_images_nodes.cpython-311.pyc ADDED
Binary file (12.2 kB). View file
 
custom_nodes/ComfyUI-VideoHelperSuite/videohelpersuite/__pycache__/load_images_nodes.cpython-312.pyc ADDED
Binary file (11 kB). View file
 
custom_nodes/ComfyUI-VideoHelperSuite/videohelpersuite/__pycache__/load_video_nodes.cpython-311.pyc ADDED
Binary file (34.2 kB). View file
 
custom_nodes/ComfyUI-VideoHelperSuite/videohelpersuite/__pycache__/load_video_nodes.cpython-312.pyc ADDED
Binary file (30.4 kB). View file
 
custom_nodes/ComfyUI-VideoHelperSuite/videohelpersuite/__pycache__/logger.cpython-311.pyc ADDED
Binary file (1.9 kB). View file
 
custom_nodes/ComfyUI-VideoHelperSuite/videohelpersuite/__pycache__/logger.cpython-312.pyc ADDED
Binary file (1.83 kB). View file
 
custom_nodes/ComfyUI-VideoHelperSuite/videohelpersuite/__pycache__/nodes.cpython-311.pyc ADDED
Binary file (57.5 kB). View file
 
custom_nodes/ComfyUI-VideoHelperSuite/videohelpersuite/__pycache__/nodes.cpython-312.pyc ADDED
Binary file (51.5 kB). View file
 
custom_nodes/ComfyUI-VideoHelperSuite/videohelpersuite/__pycache__/server.cpython-311.pyc ADDED
Binary file (17.1 kB). View file
 
custom_nodes/ComfyUI-VideoHelperSuite/videohelpersuite/__pycache__/server.cpython-312.pyc ADDED
Binary file (15.7 kB). View file
 
custom_nodes/ComfyUI-VideoHelperSuite/videohelpersuite/__pycache__/utils.cpython-311.pyc ADDED
Binary file (23.3 kB). View file