Audio Split Export(AudioSegmentExportStage)
Audio Split Export (AudioSegmentExportStage) is a ComfyTV audio-effects stage that splits or exports media into segments and returns a text result.
Audio Segment Export Stage
Description
Audio Split Export (AudioSegmentExportStage) is a ComfyTV audio-effects stage that splits or exports media into segments and returns a text result. It accepts an audio stream, a video stream, or both, and uses a filename prefix plus optional JSON segment boundaries to control the exported output. The node is grouped under ComfyTV/AudioFX.
Inputs
prefix
Type: STRING, required, default: "segment".
Filename prefix used when naming exported segment files. Change it to group output files by source, session, or project. The default produces filenames based on segment.
segments
Type: STRING, required, default: "".
JSON description of segment boundaries for JSON-based detection. The expected format is [{"start":s,"end":s}], where each array item defines one segment with a start and end timestamp. The tooltip ties this field to a detect=json mode, so provide an array of objects with both start and end when using explicit JSON segments. Leave it empty when no JSON boundary list is supplied.
audio
Type: COMFYTV_AUDIO, optional.
Audio input to split and export. Connect this when the source material is already an audio stream.
video
Type: COMFYTV_VIDEO, optional.
Video input accepted by the stage. Use this when the source media is a video rather than a standalone audio stream.
Outputs
COMFYTV_TEXT
Type: COMFYTV_TEXT.
Single text output carrying the result of the split/export operation for downstream ComfyTV nodes.
Usage Notes
- Both
audioandvideoare optional in the node definition. Connect the media source you want to process; useaudiofor audio-only workflows andvideowhen the source is video. - Use
segmentswhen you need explicit JSON-driven boundaries. The field should contain valid JSON in the form of an array of objects, each withstartandendvalues. - Keep
prefixshort and filesystem-friendly if exported filenames are used later in the workflow. - With the default empty
segmentsvalue, no JSON boundary list is supplied; provide the segment JSON when you need specific cuts.
Comments
Sign in with GitHub to join the discussion.