Commit Graph
14 Commits
Author SHA1 Message Date
scofano 3e9dcbb67f feat: support inline alignment overrides in rich text
Parse align attributes on span/div tags and apply left, center, or right alignment to wrapped line blocks without changing the node-wide font_alignment.

Update the README with new supported tags, examples, and notes so users can understand how inline alignment works and when it starts a new aligned block.feat: support inline alignment overrides in rich text

Parse align attributes on span/div tags and apply left, center, or right alignment to wrapped line blocks without changing the node-wide font_alignment.

Update the README with new supported tags, examples, and notes so users can understand how inline alignment works and when it starts a new aligned block.
2026-03-23 09:15:55 -03:00
scofano ae7a0923f6 feat: add inline rich text styling support to overlays
Support HTML-like inline tags in text overlays for bold, italic,
line breaks, per-segment colors, and highlight backgrounds.

Update text parsing, font selection, measurement, and wrapping logic
so mixed-style segments render accurately while preserving existing
plain-text behavior, and document the new rich text syntax in README.feat: add inline rich text styling support to overlays

Support HTML-like inline tags in text overlays for bold, italic,
line breaks, per-segment colors, and highlight backgrounds.

Update text parsing, font selection, measurement, and wrapping logic
so mixed-style segments render accurately while preserving existing
plain-text behavior, and document the new rich text syntax in README.
2026-03-23 09:06:52 -03:00
scofano ffab79b7fc feat: add font dropdown with system font discovery
- Automatically detects installed fonts on Windows, macOS, and Linux
- Provides cross-platform font scanning with fallback to common fonts
- Adds reusable font system for future nodes
- Updates TextOverlay node to use font dropdown instead of hardcoded font path
2026-02-12 13:46:48 -03:00
scofano 76c82b7af5 Add pause before text overlay animation
Introduces a pause option before starting text overlay for both image and video nodes. The new parameters 'pause_frames_before_start' (frames) and 'pause_seconds_before_start' (seconds) allow delaying the overlay animation, with logic updated to skip overlay during the pause period. Refactors batch and video processing to respect the pause, and updates input types accordingly.
2025-11-24 21:59:22 -03:00
scofano 03b0096be6 Add option to delete original video after processing
Introduces a 'delete_original' boolean parameter to the TextOverlayVideo node. When enabled, the original input video is deleted after processing is complete. This helps manage disk space when processing large numbers of videos.
2025-11-20 16:11:34 -03:00
scofano 86f8686d30 Add audio muxing to processed videos using ffmpeg
After processing a video, the original audio track is now muxed into the output file using ffmpeg if available. This ensures the resulting video retains its original audio, and the process fails gracefully if ffmpeg is not present or an error occurs.
2025-11-20 12:47:52 -03:00
scofano 63253a9267 Update filename prefix and node mapping for video overlay
Changed the default filename prefix for video overlays to 'TxtOver' and updated the node mapping name from 'Advanced Text Overlay Video' to 'Advanced Text Overlay - Video' for consistency.
2025-11-20 11:51:43 -03:00
scofano 28f8d58532 Add Advanced Text Overlay Video node
Introduces the TextOverlayVideo class, enabling text overlay processing on video files with animation support. The new node processes each video frame using the existing text overlay logic, writes the result to a new video file, and provides progress updates via tqdm and ComfyUI's ProgressBar. Also updates the node category and expands NODE_CLASS_MAPPINGS to include the new video node.
2025-11-20 11:45:26 -03:00
scofano 405e4b4d19 Add animation support to TextOverlay node
Introduces a new animations.py module with easing, opacity, and offset helpers. Updates nodes.py to support animated text overlays, including fade and move-in effects, with new parameters for animation kind, duration, easing, and opacity. The node now handles both single images and batches, animating the overlay for a configurable number of frames and holding the final pose for the remainder of the sequence.
2025-10-29 10:54:00 -03:00
scofano 824b888222 Parameters order changed 2025-10-28 12:05:51 -03:00
scofano bcfb465380 Added Font Alignment 2025-10-28 11:27:10 -03:00
scofano bc5428af5d Added new Parameter - Letter Spacing 2025-10-28 10:21:45 -03:00
scofano ba0a48677e new ranges 2025-10-24 15:26:50 -03:00
scofano c27db45e6d Updates 2025-10-24 13:49:05 -03:00