How rayzoc24/yt-editing-pipeline works
YT Pipeline turns local recordings into edited long-form or Shorts exports, captions, and transcripts. Users can submit one file, process the raw folder, or run a polling watcher; all paths converge on the pipeline coordinator, which conditionally removes silence, enhances audio, generates subtitles, exports the selected format, and archives the source. The graph includes the documented transcript and caption outputs and Hinglish support. Edges follow shown imports and calls; unsampled implementation details are represented only where the README documents the capability.
Main entry points: pipeline.py Pipeline Coordinator · subtitle_generator.py Subtitle Generation · ffmpeg_utils.py FFmpeg Tools · raw Raw Recordings
Components 18
Input & Control
- Raw Recordings
raw - CLI & Batch
scripts/process.py - Folder Watcher
scripts/watcher.py - Pipeline Coordinator
scripts/pipeline.py - Edited Exports
out - Processed Archive
raw/processed
Audio & Video Editing
- Silence Removal
scripts/silence_remover.py - Audio Enhancement
scripts/audio_enhancer.py - Format Export
scripts/subtitle_generator.py
Captions & Language
- Subtitle Generation
scripts/subtitle_generator.py - Hinglish Transliteration
scripts/hinglish_utils.py - Speech Transcription
scripts/subtitle_generator.py - ASS / SRT Captions
scripts/subtitle_generator.py - Plain Transcript
scripts/subtitle_generator.py
Media Runtime
- FFmpeg Tools
scripts/ffmpeg_utils.py - FFmpeg / FFprobe
- Speech Recognition Service
Other components
- Video Creator
Connections 20
- Video Creator → Raw Recordings: saves recording
README.MD - Raw Recordings → Folder Watcher: scans for videos
scripts/watcher.py - Raw Recordings → CLI & Batch: selects files
scripts/process.py - CLI & Batch → Pipeline Coordinator: processes videos
scripts/process.py - Folder Watcher → Pipeline Coordinator: processes ready files
scripts/watcher.py - Pipeline Coordinator → Silence Removal: removes silence
scripts/pipeline.py - Pipeline Coordinator → Audio Enhancement: enhances audio
scripts/pipeline.py - Pipeline Coordinator → Subtitle Generation: generates captions
scripts/pipeline.py - Subtitle Generation → Speech Transcription: transcribes speech
scripts/subtitle_generator.py - Speech Transcription → Hinglish Transliteration: transliterates Hindi
scripts/subtitle_generator.py - Speech Transcription → Speech Recognition Service: recognizes speech
- Subtitle Generation → ASS / SRT Captions: writes captions
scripts/subtitle_generator.py - Subtitle Generation → Plain Transcript: writes transcript
README.MD - Pipeline Coordinator → Format Export: exports format
scripts/pipeline.py - Format Export → Edited Exports: writes outputs
- Pipeline Coordinator → Processed Archive: moves source
scripts/pipeline.py - Silence Removal → FFmpeg Tools: runs media commands
scripts/silence_remover.py - Audio Enhancement → FFmpeg Tools: runs media commands
scripts/audio_enhancer.py - Subtitle Generation → FFmpeg Tools: probes and renders
scripts/subtitle_generator.py - FFmpeg Tools → FFmpeg / FFprobe: invokes tools
scripts/ffmpeg_utils.py