23 Commits

Author SHA1 Message Date
bilt
4ccb3cf319 encrypt default True 2025-07-11 19:26:29 +08:00
bilt
e5b016dbaf Video Generated 2025-07-09 22:28:08 +08:00
bilt
5602c1b6e2 OUTPUT_NODE = True 2025-07-09 17:05:49 +08:00
bilt
c0c5d988d5 remove default value 2025-07-09 15:17:15 +08:00
bilt
f3f6d99fa5 DisplayLinkNode 2025-07-09 12:37:53 +08:00
bilt
55206cbe44 final_filename 2025-07-08 10:22:46 +08:00
bilt
6e29cc41f7 hf upload 2025-07-08 09:01:43 +08:00
bilt
a2593638e0 RETURN_TYPES = ("STRING",) 2025-07-08 08:17:02 +08:00
bilt
ff94298b74 Test URL 2025-07-08 07:03:18 +08:00
bilt
4b4029a28c DisplayLinkNode 2025-07-08 06:36:10 +08:00
bilt
8f179a4222 TestURL 2025-07-07 23:56:24 +08:00
bilt
6b3e539d51 return (url,) 2025-07-07 23:41:18 +08:00
bilt
66086a17fb return (url) 2025-07-07 22:50:40 +08:00
bilt
a6e6bc2b3a CATEGORY = "image/video" 2025-07-07 22:08:34 +08:00
bilt
fe398fea2c show url 2025-07-07 21:43:57 +08:00
bilt
56a34522f5 example.mp4 2025-07-07 20:12:04 +08:00
bilt
585a2eef9f url 2025-07-07 18:23:48 +08:00
bilt
9296ddb8fe encrypt video node 2025-07-07 13:26:57 +08:00
guill
a7fafcd751 Add support for VIDEO as a built-in type (#7844)
* Add basic support for videos as types

This PR adds support for VIDEO as first-class types. In order to avoid
unnecessary costs, VIDEO outputs must implement the `VideoInput` ABC,
but their implementation details can vary. Included are two
implementations of this type which can be returned by other nodes:

* `VideoFromFile` - Created with either a path on disk (as a string) or
  a `io.BytesIO` containing the contents of a file in a supported format
  (like .mp4). This implementation won't actually load the video unless
  necessary. It will also avoid re-encoding when saving if possible.
* `VideoFromComponents` - Created from an image tensor and an optional
  audio tensor.

Currently, only h264 encoded videos in .mp4 containers are supported for
saving, but the plan is to add additional encodings/containers in the
near future (particularly .webm).

* Add optimization to avoid parsing entire video

* Improve type declarations to reduce warnings

* Make sure bytesIO objects can be read many times

* Fix a potential issue when saving long videos

* Fix incorrect type annotation

* Add a `LoadVideo` node to make testing easier

* Refactor new types out of the base comfy folder

I've created a new `comfy_api` top-level module. The intention is that
anything within this folder would be covered by semver-style versioning
that would allow custom nodes to rely on them not introducing breaking
changes.

* Fix linting issue
2025-04-29 05:58:00 -04:00
Alex Butler
74a0df96a7 Replace aom-av1 with svt-av1 for saving webm videos, use preset 6 + yuv420p10le pixel format (#7736)
* Add support for saving svt-av1 webm videos & yuv420p10le pixel format

* Replace aom-av1 with svt-av1

Use yuv420p10le for av1
2025-04-22 17:57:17 -04:00
Chenlei Hu
bf551a1a7e Add type hint for FileLocator (#6968)
* Add type hint for FileLocator

* nit
2025-03-05 15:35:26 -05:00
comfyanonymous
ea10348c78 Fix missing frames in SaveWEBM node. 2025-02-25 20:21:03 -05:00
comfyanonymous
65a8e324bd Add early experimental SaveWEBM node to save .webm files.
The frontend part isn't done yet so there is no video preview on the node
or dragging the webm on the interface to load the workflow yet.

This uses a new dependency: PyAV.
2025-02-19 07:12:15 -05:00