2024-04-14 20:40:42 -07:00
2024-03-27 19:53:11 -07:00
2024-03-27 19:53:11 -07:00
2024-03-27 19:53:11 -07:00
2024-03-22 21:17:33 -07:00
2024-03-22 14:09:36 -07:00
2024-04-14 20:40:42 -07:00

Frame Selector & Sequence Selection Node for ComfyUI

The Late Night Labs (LNL) Frame Selector node for ComfyUI is aimed at enhancing video interaction within the ComfyUI framework. It enables users to upload, playback, and perform basic In/Out on video files directly within the ComfyUI environment.

Features

Video Upload and Playback: Users can upload video files and utilize standard playback controls including Play, Pause, Scrub, and Rewind. Editing Tools: The node offers simple editing capabilities such as setting In/Out points for selecting specific video sections, frame selection for detailed editing, and outputting frames with handles for further processing. Structure The project is structured into two main components: the web directory, containing front-end JavaScript and CSS files, and the modules directory, containing back-end Python scripts.

Web Directory

eventHandlers.js: Manages event handling for video playback and editing features. nodes.js: Defines the Load Video Node structure and integration within ComfyUI. utils.js: Contains utility functions for video processing and manipulation. widgets.js: Implements UI components for video editing. styles.js: Handles dynamic styling of the video node elements. css/lnlNodes.css: Provides styling for the Load Video Node components. images/: Contains icons used for playback and editing controls.

Modules Directory

server.py: Back-end server implementation for handling video upload and processing. utils.py: Back-end utility functions supporting video editing features. nodes.py: Defines the server-side representation of the Load Video Node.

Installation

  1. Ensure you have ComfyUI and its dependencies installed.
  2. Clone or download this repository into your \ComfyUI\custom_nodes
  3. Run pip install -r requirements. txt to setup your environment.

To use the Load Video Node:

Upload a video file using the provided upload functionality. Use controls for the playback Set In & Out points to extract specified frame ranges Use Current Frame for look development before running longer sequences of clips image

Installation To install and use the SDXL Prompt Styler nodes, follow these steps:

Open a terminal or command line interface. Navigate to the ComfyUI/custom_nodes/ directory. Run the following command: git clone https://github.com/twri/sdxl_prompt_styler.git Restart ComfyUI. This command clones the SDXL Prompt Styler repository into your ComfyUI/custom_nodes/ directory. You should now be able to access and use the nodes from this repository.

Inputs text_positive - text for the positive base prompt text_negative - text for the negative base prompt log_prompt - print inputs and outputs to stdout Outputs text_positive - combined prompt with style for positive prompt text_negative - combined prompt with style for negative prompt

Credits

This project uses parts of code and some ideas from the following repositories: ComfyUI-Custom-Scripts ComfyUI-VideoHelperSuite Make sure to check them out, they both offer awesome tool suites!

We also use icons for player controls supplied by Icons8.

Contributing

Contributions to the Load Video Node project are welcome. Please

License

This project is licensed under the GNU General Public License.

S
Description
No description provided
Readme GPL-3.0
184 KiB
Languages
JavaScript 60.3%
Python 37.4%
CSS 2.3%