@Ryrenz: 好家伙,一个直接在浏览器里剪 4K 视频的开源编辑器。 刚起步的小项目,却把一整个视频编辑器塞进了 ComfyUI 里。 做 AI 视频的人最烦的就是:ComfyUI 里生成完,还得导出去别的软件剪。ComfyUI-OpenCut 让你在…
摘要
ComfyUI-OpenCut is a new open-source plugin that integrates a full-featured video editor directly into ComfyUI, allowing multi-track editing, keyframes, effects, and real-time preview in the browser without server-side processing.
查看缓存全文
缓存时间: 2026/07/24 15:15
好家伙,一个直接在浏览器里剪 4K 视频的开源编辑器。
刚起步的小项目,却把一整个视频编辑器塞进了 ComfyUI 里。
做 AI 视频的人最烦的就是:ComfyUI 里生成完,还得导出去别的软件剪。ComfyUI-OpenCut 让你在同一个界面里直接剪:多轨时间线、实时预览、拖拽、非破坏编辑,支持视频音频图片、最高 4K,处理全在浏览器本地跑(FFmpeg.wasm 加 WebGPU 渲染,没显卡也有 WebGL 兜底)。新版还加了关键帧编辑、效果堆叠和遮罩。
生成和剪辑不用来回倒腾,工作流一下就顺了。
GitHub:
jtydhr88/ComfyUI-OpenCut
Source: https://github.com/jtydhr88/ComfyUI-OpenCut
ComfyUI-OpenCut
A powerful, privacy-focused video editor integrated directly into ComfyUI. This plugin brings professional video editing capabilities to your ComfyUI workflow without any server-side processing.

🆕 What’s New in v0.4.0
This release rebases the embedded OpenCut onto upstream main after ~8 months
of heavy development (≈364 commits since the v0.3.0 build on 2025-08-30).
The highlights below are from the OpenCut project itself — they apply to
the editor running inside this plugin as well.
Rendering engine — WebGL ➜ Rust/WASM GPU renderer
- New GPU renderer migrated from WebGL to wgpu compiled to WASM (with a WebGL fallback while WebGPU support stabilizes in browsers).
- Time, effects, and mask logic split into dedicated Rust crates
(
opencut-wasm) — shared between web and the new desktop build. - Batched GPU command encoding, degraded-renderer banner, and graceful handling when no GPU is available.
Keyframes & animation
- Rewritten animation system using scalar-channel bindings.
- Graph editor for flat keyframe segments — a new popover lets you edit multiple properties at once.
- Expandable keyframe lanes directly in the timeline.
- Keyframes now wired for opacity, text color, every background property, and per-axis position animation.
- Clipboard-level keyframe paste.
Effects & masks
- New WebGL effects system — starts with a Blur effect and per-clip effect stacking with asset sorting.
- Cinematic bars, diamond, heart, star, and custom/text masks, with stable background-blur previews.
Timeline & editor UX
- Move/resize/split/delete multiple elements at once.
- Clip volume line visualized directly in the timeline.
- Waveform rendering improvements and correct audio waveform height.
- Timeline auto-scroll while dragging clips.
- Copy/paste for elements; ripple support for element resize.
- Select-on-insert; centralized selection management.
- New preview overlay system (guides, bookmark notes).
App surface
- Desktop app scaffolding (Tauri) introduced.
- Changelog page with markdown + technical-detail support; “new release” notice.
- Branding page; mobile-gate screen; history view in the feedback popover.
- Audio separated from elements (export now handles audio consistently).
- Migration system rewritten (
run()+ pure v1→v2 transforms) with new storage-schema migrations.
Under the hood
- File tree restructured into domain modules (
editor/,timeline/,preview/,project/,media/, etc.) with a cleaner dependency graph. - Time utilities migrated from TypeScript to Rust WASM.
- Unified element-update pipeline and centralized ripple handling.
Plugin-side fixes in this build
- All assets and routes honor the
/opencutbasePath (logo, landing image, country flags, effect previews, PWA manifest). - RSC prefetch URLs served by the Python handler now cover Next.js 16’s
dot-separated
__next.<seg>.__PAGE__.txtformat. getEditorUrl/getProjectsUrlno longer double-prefix basePath when passed to<Link>.- Sounds-search and other removed server routes are gracefully skipped in ComfyUI mode.
- Save timer no longer throws after closing a project.
See docs/COMFYUI_INTEGRATION.md and docs/COMFYUI_BUILD_CHECKLIST.md
in the OpenCut repo for adaptation details and future rebase guidance.
🌟 Features
Core Editing Capabilities
- Multi-track Timeline Editor: Professional timeline with support for multiple video, audio, and overlay tracks
- Real-time Preview: Instant preview of edits without rendering
- Drag & Drop Interface: Intuitive drag-and-drop for media files and timeline elements
- Non-destructive Editing: All edits are non-destructive, preserving original media files
Media Support
- Video Formats: MP4, WebM, MOV, AVI, and more
- Audio Formats: MP3, WAV, OGG, AAC
- Image Formats: PNG, JPG, GIF, WebP
- Resolution Support: From SD to 4K video editing
Advanced Features
- Keyframe Animation: Animate position, scale, rotation, and opacity
- Audio Waveform Visualization: See audio waveforms directly on the timeline
- Snap-to-Grid: Precise alignment with magnetic timeline snapping
- Multiple Export Options: Export in various formats and resolutions
- Undo/Redo System: Full undo/redo support with keyboard shortcuts
Layout & Workflow
- Customizable Layouts: 4 preset layouts optimized for different workflows:
- Default: Balanced layout for general editing
- Media Focus: Larger media panel for asset-heavy projects
- Inspector Focus: Expanded properties panel for detailed adjustments
- Vertical Preview: Optimized for vertical video editing (TikTok, Reels)
- Resizable Panels: Drag to resize any panel to your preference
- Keyboard Shortcuts: Comprehensive keyboard shortcuts for efficient editing
Privacy & Performance
- 100% Client-side Processing: All video processing happens in your browser using WebAssembly
- No Upload Required: Your media files never leave your computer
- FFmpeg Integration: Powered by FFmpeg.wasm for professional-grade processing
- IndexedDB Storage: Projects saved locally in your browser
- OPFS Support: Large files stored efficiently using Origin Private File System
📦 Installation
Prerequisites
- ComfyUI (latest version recommended)
- Modern web browser (Chrome, Firefox, Edge, Safari)
- At least 4GB of available RAM for video processing
Installation Steps
-
Navigate to your ComfyUI
custom_nodesdirectory:cd /path/to/ComfyUI/custom_nodes -
Clone this repository:
git clone https://github.com/[your-repo]/ComfyUI-OpenCut.git -
Install dependencies (if any):
cd ComfyUI-OpenCut pip install -r requirements.txt # If Python dependencies exist -
Restart ComfyUI
🚀 Usage
Method 1: Direct Browser Access
Open your browser and navigate to:
http://127.0.0.1:8188/opencut/
Method 2: ComfyUI Interface (Requires ComfyUI Frontend v1.24.4+)
- Open ComfyUI in your browser
- Look for the “OpenCut” button in the interface
- Click to launch the video editor in a new tab
🎬 Getting Started
Creating Your First Project
- Launch OpenCut using one of the methods above
- Click “New Project” or drag media files directly onto the interface
- Your media will appear in the Media Panel (left side)
- Drag media from the panel onto the timeline to start editing
Basic Editing Workflow
- Import Media: Drag files or click “Upload” in the Media Panel
- Add to Timeline: Drag media to the desired track and position
- Trim Clips: Hover over clip edges and drag to trim
- Add Transitions: Overlap clips to create automatic transitions
- Adjust Properties: Select a clip and use the Properties Panel to adjust settings
- Preview: Use the spacebar to play/pause your edit
- Export: Click Export and choose your desired format and quality
Keyboard Shortcuts
Space: Play/PauseS: Split clip at playheadDelete: Delete selected elementCtrl/Cmd + Z: UndoCtrl/Cmd + Shift + Z: RedoCtrl/Cmd + C/V: Copy/Paste[/]: Set in/out pointsArrow Keys: Frame-by-frame navigation
🎨 Layout Presets
Switching Layouts
Click the layout button in the header to switch between presets:
- Default Layout: Balanced view with all panels visible
- Media Layout: Enlarged media panel for browsing many assets
- Inspector Layout: Expanded properties panel for detailed editing
- Vertical Layout: Optimized for 9:16 vertical videos
Custom Panel Sizing
- Drag the dividers between panels to customize sizes
- Your custom sizes are saved per layout preset
- Click the reset button to restore default sizes
🔧 Advanced Features
Project Management
- Projects are automatically saved to browser storage
- Export/Import projects as JSON files for backup
- Multiple projects can be managed from the Projects page
Media Processing
- Automatic thumbnail generation for videos
- Waveform generation for audio tracks
- Smart proxy generation for smooth playback of large files
Export Options
- Format: MP4, WebM, MOV
- Resolution: Original, 1080p, 720p, 480p
- Quality: High, Medium, Low
- Frame Rate: 24, 30, 60 fps
- Audio: Stereo/Mono, various bitrates
🐛 Troubleshooting
Common Issues
Media not loading:
- Ensure files are in supported formats
- Check browser console for errors
- Try refreshing the page
Playback stuttering:
- Lower preview resolution in settings
- Close other browser tabs
- Ensure adequate RAM is available
Export failing:
- Check available browser storage
- Try a lower resolution/quality setting
- Ensure no corrupted media files
Layout not changing:
- Clear browser cache
- Check localStorage is enabled
- Try resetting to default layout
Browser Requirements
- Chrome 90+, Firefox 89+, Safari 15+, Edge 90+
- WebAssembly support required
- SharedArrayBuffer support recommended
- At least 4GB RAM recommended
🤝 Contributing
Contributions are welcome! Please feel free to submit issues and pull requests.
Development Setup
- Clone the repository
- Install dependencies:
bun install - Run development mode:
bun dev - Build for production:
bun run build:comfyui
📝 License
This project integrates OpenCut, originally developed by OpenCut-app. Please refer to the original project for licensing information.
🙏 Acknowledgments
- Original OpenCut developers for the amazing video editor
- ComfyUI team for the extensible platform
- FFmpeg.wasm for client-side video processing
- All contributors and users of this integration
📞 Support
For issues specific to the ComfyUI integration, please open an issue in this repository. For OpenCut-specific issues, please refer to the original OpenCut repository.
Note: This integration is under active development. Some features may be experimental or subject to change.
相似文章
@XAMTO_AI: 之前用CapCut剪个视频,导出时才发现要充会员,气得我当场找替代品。 翻到了OpenCut。免费、开源、无水印、无订阅、无广告,视频全在本地处理,隐私也没问题。Web、桌面、移动端都能用,一个项目搞定所有平台。 时间轴多轨道剪辑、实时预…
OpenCut是一款免费、开源的视频编辑器,支持本地处理、隐私保护和跨平台使用,未来计划集成AI代理和插件系统。
@gaoren7716: 朋友做抖音矩阵 剪映会员一个月 30 块,4 个号就是 120 块 我想:剪视频一定要付费软件吗?视频编辑器能开源吗? 2026 年了 视频编辑器开源了,也能跨 Web/桌面/移动三端一套代码 OpenCut,正在从零重写,Rust 核心…
OpenCut 是一个基于 Rust 核心的开源视频编辑器,支持跨 Web/桌面/移动三端,提供插件架构、MCP server 支持 AI agent 调用、Headless 模式等创新功能,旨在替代付费视频编辑软件。
@Ryrenz: 炸裂,在浏览器里就能给视频生成字幕、剪掉废话 GitHub 上 1.7K stars 剪口播视频最枯燥的两件事:一句句对着音频打字幕,以及把中间那些停顿、吸气、重复的废话一段段裁掉。这两件事加起来能占掉整个剪辑时间的一大半。 FlyCut…
FlyCut Caption 是一款基于浏览器的AI视频编辑工具,可以自动生成字幕和剪掉视频中的废话,使用 Whisper 和 FunASR 模型在本地处理,无需上传素材。
@0xluffy_eth: 有人为Claude Code开发了免费视频编辑工具...太疯狂了。 只需把原始素材和资源放入文件夹。 就这样。 它会处理一切: - 剪辑片段 - 移除冗余词 - 添加字幕 - 应用色彩分级和滤镜 - 处理动画 - 渲染最终视频 无时间线。…
A free, open-source video editing tool built for Claude Code that fully automates editing from raw footage—clipping, filler word removal, subtitles, color grading, animation, and final rendering—all without a timeline or manual edits.
OpenCut-app/OpenCut
OpenCut 是一款免费开源的视频编辑器,正在从头重写,具备编辑器 API、插件架构、跨平台支持、用于 AI 代理的 MCP 服务器、无头模式和脚本功能。