Commit Graph
12 Commits
Author SHA1 Message Date
ComfyUI Attic 3b81ca3de9 Update README.md 2026-04-11 09:08:38 -04:00
ComfyUI Attic 5b54f8f81e Performance & Memory Optimizations
Improvements
Reduced video file I/O by 67%
The node previously opened the source video file 6 times per execution. It now opens it twice — once to read metadata and once to extract frames. For large or network-mounted video files this is a meaningful reduction in per-run overhead.

Halved peak memory during frame extraction
Frame data is now written directly into a pre-allocated buffer rather than building an intermediate list that was then copied into a stacked array. Peak memory during extraction is approximately half what it was previously.

Boundary frames served from memory instead of disk
first_frame and last_frame outputs are now sliced from the already-loaded frame batch rather than triggering two additional video reads. This eliminates redundant I/O and removes two numpy allocations per execution.

Bug Fixes
Fixed: BytesIO buffer not released in thumbnail endpoint
The /video_frame_extractor/thumbnail API handler now explicitly closes its internal buffer after encoding the JPEG response, ensuring memory is freed promptly on each request.

All changes are internal — no inputs, outputs, or node behavior has changed.
2026-04-11 09:04:17 -04:00
ComfyUI Attic 2feecdad6e Added YouTube usage video 2026-04-08 21:18:30 -04:00
ComfyUI Attic aab42dc7e9 Update README.md
Added Node screenshot
2026-04-08 19:33:45 -04:00
ComfyUI Attic 06c2433b5a Update README.md 2026-04-08 19:31:46 -04:00
ComfyUI Attic b0ce16007e Added Node screenshot 2026-04-08 19:29:18 -04:00
ComfyUI Attic f7d387668b Update README.md 2026-04-08 19:21:17 -04:00
ComfyUI Attic 99c8cdc628 Add files via upload 2026-04-08 19:17:49 -04:00
ComfyUI Attic 63117e42ef Create README.md 2026-04-08 19:09:29 -04:00
ComfyUI Attic c380a9ab2b Added icon graphic 2026-04-08 17:06:39 -04:00
ComfyUI Attic e22a16eb74 Updated README.md 2026-04-08 16:01:57 -04:00
ComfyUI Attic 4812354dd0 Initial commit 2026-04-08 15:52:54 -04:00