Commit Graph
43 Commits
Author SHA1 Message Date
Arxchibobo 0b6fe8a052 feat: add Input Image Array node for array-structured image inputs
Adds ShellAgentPluginInputImageArray node that accepts a ShellAgent-
compliant array of images and unpacks it into a batch tensor, an
image list, and an auto-detected count.

Schema (matches the pattern used by output_image and input_audio):
  {"type": "array", "items": {"type": "string", "url_type": "image"}}

Inputs
  - input_name, default_value (JSON array / object array / {items:[]} /
    {images:[]} / newline-separated)
  - Each item: HTTP(S) URL, base64 data URI, absolute path, or filename
    relative to ComfyUI input dir
  - resize_mode: resize_to_first | pad_to_first | none_keep_list_only
  - min_items / max_items (propagated to ShellAgent schema)

Outputs
  - images_batch (IMAGE, [N,H,W,C])
  - masks_batch  (MASK,  [N,H,W])
  - images_list  (IMAGE, OUTPUT_IS_LIST, preserves original sizes)
  - count        (INT, auto-computed from len(items))

Covered by 12 E2E tests (JSON/object/wrapped/newline/base64/local-file
inputs, empty fallback, schema validation, all three resize modes).
2026-04-20 05:03:22 +00:00
ArxchiboboandClaude Sonnet 4.5 a15d4b255e feat: 集成H.264高级编码功能,支持yuv420p/yuv444p格式
新增功能:
- 添加3个新视频格式: h264-advanced, h264-high444, ffmpeg-manual
- 新增9个高级参数: preset, tune, crf, pix_fmt, colorspace等
- 支持yuv420p (Mac兼容) 和 yuv444p (专业后期) 像素格式
- 实现三级模式: 标准模式/高级模式/手动模式
- 自动处理High444 profile和色彩元数据

代码改进:
- 优化VIDEO_FORMATS字典,添加兼容性标记
- 扩展INPUT_TYPES,添加完整的高级参数支持
- 增强_create_video方法,智能处理不同模式
- 调整默认CRF值从19到20 (Mac推荐值)

文档新增:
- VIDEO_FORMATS_GUIDE.md: YUV格式完整教程
- QUICK_REFERENCE.md: 快速参考卡片
- USAGE_GUIDE.md: 详细使用指南
- INTEGRATION_SUMMARY.md: 技术整合总结
- COMPLETION_REPORT.md: 完成报告

工具脚本:
- simple_check.py: 简单验证脚本
- verify_integration.py: 完整验证脚本

h264-high444模块:
- 独立的H.264 High 4:4:4编码节点
- 支持专业yuv444p格式
- 完整的色彩管理和高级参数

技术亮点:
- 向后兼容,不影响现有工作流
- 默认配置确保Mac/iOS兼容性
- 清晰的兼容性标注和中文提示
- 完善的三层文档体系

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-02-04 13:34:12 +08:00
Chengwei Ouyang b40301ad2a feat: add vae and audio support for encrypt video combine 2026-01-12 17:35:44 +08:00
Chengwei Ouyang 73e610e31a feat: add encryption support for saved images and videos
- Implemented XOR encryption for image files in output_image.py, allowing users to save encrypted images.
- Introduced a new module output_video_encrypt.py for combining images into videos with optional encryption.
- Added encryption options in the save_images method and video combine functionality, ensuring output files cannot be viewed directly without decryption.
2025-12-15 17:27:23 +08:00
Chengwei Ouyang 6857027895 fix: handle PNG files with MPO metadata in input image processing 2025-12-08 17:02:23 +08:00
Chengwei Ouyang d27fafbb00 fix shellagent save audio for new version comfyui 2025-05-22 14:54:40 +08:00
Chengwei Ouyang 1f16525118 update 2025-03-12 20:35:19 +08:00
Chengwei Ouyang ced3e0de2f remove image 2025-03-12 15:11:54 +08:00
shanexi 0599875a79 fix: input image error in new comfyui version 2025-03-12 14:55:39 +08:00
Chengwei Ouyang 06163a06d4 i[date 2025-03-10 23:21:36 +08:00
wl-zhao 681f716bfa update safe open image function 2024-12-18 15:18:48 +08:00
wl-zhao 637bc88fec pass validation when os.path.isfile 2024-12-17 19:24:59 +08:00
wl-zhao 604d34900a support heif image 2024-12-16 17:25:23 +08:00
wl-zhao 82f3a05f1c fix mask bug 2024-12-13 14:52:16 +08:00
wl-zhao 7238c1f40b fix error message when empty input image 2024-12-13 11:45:43 +08:00
wl-zhao 623ea454cc support input/output audio backend 2024-12-10 16:35:26 +08:00
wl-zhao 27613ed685 support models in nodes / skip configs / input image support mask 2024-11-22 11:49:10 +08:00
wl-zhao 24c17beccf fix output video path error 2024-11-04 12:18:01 +08:00
wl-zhao 4c8e720d05 fix output video path error 2024-11-04 12:17:40 +08:00
Xumin Yu 1aa0fc15e2 revert input_video.py 2024-11-03 22:38:56 +08:00
Xumin Yu 1faaad58f0 Update input_video.py 2024-11-03 22:38:13 +08:00
wl-zhao 0904716cd0 fix input video bug 2024-11-03 22:29:12 +08:00
wl-zhao c80f154659 input video 2024-11-01 20:21:27 +08:00
wl-zhao fb3e973b53 add boolean; fix output nodes input type bugs; fix input_video enum validate bug; compatible with none desc 2024-11-01 11:16:08 +08:00
wl-zhao 34f8feb2c0 add boolean; fix output nodes input type bugs; fix input_video enum validate bug; compatible with none desc 2024-11-01 11:15:21 +08:00
Wenliang Zhao 64ebfa42e9 Update output_image.py 2024-10-30 18:11:17 +08:00
wl-zhao 8e8d10b1c5 update output video 2024-10-30 12:07:56 +08:00
wl-zhao fc1f9afbcd add new output nodes 2024-10-22 19:47:04 +08:00
wl-zhao f1bf4485c1 update validate inputs 2024-10-18 14:05:58 +08:00
wl-zhao 60d68d99ef fix input image bug 2024-10-17 23:40:42 +08:00
wl-zhao b8b6657801 fix input image bug 2024-10-17 23:38:46 +08:00
wl-zhao ad8715f3a2 fix input image bug 2024-10-17 23:21:31 +08:00
wl-zhao 92ab0995e4 fix input image bug 2024-10-17 23:12:36 +08:00
shanexi fb4e608fc6 Fix bugs 2024-10-17 16:22:11 +08:00
shanexi f6b746b213 Support number 2024-10-17 15:55:18 +08:00
shanexi cc4f0fdd79 Choices 2024-10-16 11:16:33 +08:00
shanexi d6f8d9156a Revert forceInput, comfyUI state is related somehow 2024-10-16 10:57:40 +08:00
shanexi 1e3663f6c6 Input video 2024-10-15 15:34:26 +08:00
shanexi e9199161ea Force input 2024-10-15 10:18:14 +08:00
shanexi 261620ea3a Update image input 2024-10-14 17:32:47 +08:00
wl-zhao d2573428f5 update 2024-10-12 13:33:21 +08:00
wl-zhao 3e9bf28714 add all 2024-10-11 17:38:11 +08:00
wl-zhao 89e275252d input output nodes v1 2024-09-25 09:49:23 +08:00