Saltar al contenido
Node packVerificadoExterno
Abrir fuente

ComfyUI-VideoSlice

ComfyUI custom node: ib video slicer — MP4/MOV to single IMAGE frame

Responsable@youngfuluBcalidad

Perfil del paquete

Estado
Verificado
Publicador
@youngfulu
Fuente
GitHub

Léeme

ComfyUI-VideoSlice — ib video slicer

Custom ComfyUI node that reads .mov / .mp4 and outputs one frame as an IMAGE (plus sizes, slice index, and file frame counters).

Before you copy commands

  • YOUR_REAL_GITHUB_USERNAME (or any YOUR_… URL in this doc) is a placeholder. Use your real login, e.g. https://github.com/octocat/ComfyUI-VideoSlice.git. Repository not found means the URL is wrong or the repo was not created on GitHub yet.
  • /workspace/... paths are for RunPod (Linux pods) only. On your Mac, that folder does not exist—use Local Mac (no GitHub yet) or your real Comfy path.
  • Do not paste whole blocks including lines that start with # unless you know they are comments. If the shell says command not found: #, you pasted a comment line as a command.
  • cd: too many arguments: Usually a bad paste (extra words on the cd line) or a “smart” # character. Run cd on its own line with only the path, in quotes if the path has spaces.

Local Mac ComfyUI (no GitHub yet)

If the repo is not on GitHub yet, copy the folder into your local Comfy install:

# Example: adjust COMFY to where your ComfyUI lives
COMFY="$HOME/path/to/ComfyUI"
cp -R "/Users/ilyaduganov/Desktop/Comfy/Sliser__video/ComfyUI-VideoSlice" "$COMFY/custom_nodes/"

Then install deps with the same Python as Comfy:

cd "$COMFY/custom_nodes/ComfyUI-VideoSlice"
pip install -r requirements.txt

Restart ComfyUI.


Install from GitHub (any machine)

  1. Clone into ComfyUI’s custom_nodes folder (name must stay ComfyUI-VideoSlice or Comfy will still load it if the folder contains __init__.py):

    cd /path/to/ComfyUI/custom_nodes
    git clone https://github.com/YOUR_REAL_GITHUB_USERNAME/ComfyUI-VideoSlice.git
    
  2. Install opencv-python with the same Python / pip that runs ComfyUI:

    cd ComfyUI-VideoSlice
    pip install -r requirements.txt
    

    Or run the helper (tries common RunPod venv paths; see RunPod below):

    bash install_deps.sh
    
  3. Restart ComfyUI (full process restart, not only refresh).


Publish this repo on GitHub

Fastest (GitHub CLI): install and log in once (brew install gh, then gh auth login), then from this repo:

bash create_github_repo.sh

That creates ComfyUI-VideoSlice under your GitHub user and pushes main.


From the folder that contains this README (skip git init if .git already exists):

git init
git add .
git commit -m "Initial commit: ib video slicer custom node"

On github.com/new: create a repository named ComfyUI-VideoSlice (empty repo, no template). Skip git init below if this folder is already a git repo.

git branch -M main
git remote add origin https://github.com/YOUR_REAL_GITHUB_USERNAME/ComfyUI-VideoSlice.git
git push -u origin main

If you see remote origin already exists, do not run remote add again—update the URL:

git remote set-url origin https://github.com/YOUR_REAL_GITHUB_USERNAME/ComfyUI-VideoSlice.git
git push -u origin main

Replace YOUR_REAL_GITHUB_USERNAME with your GitHub login in every clone/push URL.


RunPod ComfyUI

RunPod templates differ slightly; the idea is always: node code in custom_nodes/, deps in Comfy’s Python, videos in ComfyUI/input/ (upload or copy).

A. One-time setup on the pod

  1. Open Terminal (or SSH) on the pod.

  2. Find ComfyUI root (common cases):

    ls /workspace/ComfyUI/custom_nodes 2>/dev/null || ls /workspace/comfyui/custom_nodes 2>/dev/null
    
  3. cd into custom_nodes on the pod (path varies by template; common: /workspace/ComfyUI/custom_nodes). Run cd alone on one line—no extra words after the path.

    cd /workspace/ComfyUI/custom_nodes
    git clone https
    

Nodos de este paquete

2 nodos
  • IBVideoSlicer
  • VideoSliceFrame

Fuentes

3 fuentes
GitHubFuenteVersión 399aed0e43c2c13ac9da247d1f104a4d032f5f0f
github.com/youngfulu/ComfyUI-VideoSlice

Verificado 16 oct

GitHubFuente
github.com/youngfulu/ComfyUI-VideoSlice

Verificado 28 oct

Extractos de fuentes

1 extracto

Source context: Repo youngfulu/ComfyUI-VideoSlice