VRGDG_LoadAudioSplit_SRTOnly
Split scenes where the subtitle file says the lyrics change
- audio
- trigger
- meta
- total_duration
- index
- frames_for_ltx
- start_time
- end_time
- instructions
- total_sets
- frames_per_scene
- preroll_frames
- audio_meta
- output_folder
- overwrite_mode
- audio
- signal_out
The other splitters guess scene boundaries from fixed durations. VRGDG_LoadAudioSplit_SRTOnly doesn't guess at all: it reads a subtitle (SRT) file and splits the audio at the lyric boundaries it defines. If you already have an SRT - from an external transcription, a music source, or a previous run of this pack's own transcription step - this is the node that honors it exactly.
It's also the splitter with the most "director control" knobs in the family: you can redo a specific scene, rebuild into a separate remake folder, pad the front of scenes, and trim dead tail frames. That's the signature of a node that got battle-tested on real music-video iterations - the failure modes it guards against are the ones people actually hit.
What it does
Inputs that matter:
- audio (
AUDIO) - the loaded track. - trigger (
*) - advance to the next scene. - srt_file (
STRING, default empty) - the subtitle file to split against. Pair it withVRGDG_LatestSRTAutoLoader, which hands you the newest SRT's path automatically. - fixed_duration (
INT, default 0) - if set above 0, ignores the SRT and uses a uniform duration instead. Your "actually, just chop evenly" fallback. - fps (
INT, default 24) - frame math for the LTX side. - folder_path (
STRING, defaultVRGDG_Video) - output location. - enable_auto_queue (
BOOLEAN, defaulttrue) - auto-advance the scene queue. - redo_prompt_number (
INT, default 0) - re-render a specific scene prompt instead of the whole track. - use_remake_folder (
BOOLEAN, defaultfalse) - send redone scenes to a separate folder so you don't clobber the good take. - overwrite_mode (enum
overwrite/backup) - replace or preserve existing output. - tail_loss_frames (
INT, default 5) - frames trimmed off scene tails; a small trim avoids the ragged edges that come from encoding boundaries. - pre_frames (
INT, default 0) - leading frames added to a scene, so motion can ease in before the lyric line.
Outputs: the chunker set - meta, audio_meta, total_duration, index, total_sets, start_time, end_time, instructions, frames_for_ltx, frames_per_scene, preroll_frames, output_folder, overwrite_mode, plus audio (AUDIO) for the current scene and signal_out (*) for chaining.
How to use it
Get an SRT (this pack's own transcription writes them, and VRGDG_LatestSRTAutoLoader finds the newest), feed it in, and let the timestamps drive the split. The pre_frames/tail_loss_frames pair is worth understanding: SRT timing is word-accurate but video hates hard cuts, so a few leading frames let the model settle into the scene and a few trailing ones stop the clip from ending on a half-frame. The use_remake_folder + redo_prompt_number combo is your surgical-edit workflow: regenerate one bad scene without touching the rest.
Installing it
Part of the comfyui-vrgamedevgirl pack. ComfyUI Manager: search "vrgamedev", install, restart. Or:
cd ComfyUI/custom_nodes
git clone https://github.com/vrgamegirl19/comfyui-vrgamedevgirl
then install the README's requirements:
pip install -r custom_nodes/comfyui-vrgamedevgirl/requirements.txt
If it's not working
- Scenes ignore the SRT - check
fixed_duration. If it's nonzero, the SRT is bypassed by design. - Every scene starts a hair too late - raise
pre_frames. The lyric line and the motion should meet in the middle. - Scene tails look cut off - raise
tail_loss_frames. - A redo wrecked your good scene - you hit
redo_prompt_numberwithuse_remake_folderoff. That combo overwrites; flip the flag when you care about the take. - Nothing loads -
srt_fileis empty or points at a missing file. WireVRGDG_LatestSRTAutoLoaderin or set the path explicitly.
Inputs (12)
| Name | Type | Default | Description |
|---|---|---|---|
| audio | AUDIO | — | |
| trigger | * | — | |
| srt_file | STRING | — | |
| fixed_duration | INT | 0 | — |
| fps | INT | 24 | — |
| folder_path | STRING | VRGDG_Video | — |
| enable_auto_queue | BOOLEAN | true | — |
| redo_prompt_number | INT | 0 | — |
| use_remake_folder | BOOLEAN | false | — |
| overwrite_mode | COMBO | 2 options: overwrite, backup | |
| tail_loss_frames | INT | 5 | — |
| pre_frames | INT | 0 | — |
Outputs (15)
| Name | Type | Description |
|---|---|---|
| meta | DICT | — |
| total_duration | FLOAT | — |
| index | INT | — |
| frames_for_ltx | INT | — |
| start_time | STRING | — |
| end_time | STRING | — |
| instructions | STRING | — |
| total_sets | INT | — |
| frames_per_scene | INT | — |
| preroll_frames | INT | — |
| audio_meta | DICT | — |
| output_folder | STRING | — |
| overwrite_mode | STRING | — |
| audio | AUDIO | — |
| signal_out | * | — |