How tuncaen/yakamoz works
This is a command-line tool for producing vertical, captioned alumni interview videos. Its principal workflow transcribes a source video into word-timed subtitles, allows a person to correct the text and define cuts, applies the edit list and remaps subtitle timing, styles captions, then combines the clip with a faculty emblem and opening/closing cards. The README also documents an automated legacy route and subtitle-only embedding. The graph follows documented workflow and indexed imports; unsampled implementation details are not inferred.
Main entry points: run.py CLI orchestrator · compose.py Final composition · cut.py Cut and remap · srt2ass.py ASS and karaoke styling
Components 20
Workflow control
- CLI orchestrator
src/run.py - Text and cut decisions
Speech and captions
- Word transcription
src/transcribe.py - Word-timed SRT
- Subtitle repacking
src/repack.py - Packed SRT
- ASS and karaoke styling
src/srt2ass.py - Styled ASS
Video editing
- Edit list (EDL)
- Cut and remap
src/cut.py - Cut video
Cards and render
- Final composition
src/compose.py - Graduate cards
src/card.py - Final vertical video
- Subtitle-only embed
src/run.py
Shared utilities
- Paths and SRT helpers
src/common.py
Other components
- Operator / editor
- Source video
- faster-whisper
- FFmpeg
Connections 28
- Operator / editor → CLI orchestrator: runs stages
README.md - Source video → CLI orchestrator: selects input
README.md - CLI orchestrator → Word transcription: dispatches
src/run.py - Word transcription → faster-whisper: transcribes with
src/transcribe.py - Word transcription → Word-timed SRT: writes word cues
src/transcribe.py - Operator / editor → Text and cut decisions: corrects and edits
README.md - Word-timed SRT → Text and cut decisions: provides timings
README.md - Text and cut decisions → Edit list (EDL): creates
README.md - CLI orchestrator → Cut and remap: dispatches
src/run.py - Edit list (EDL) → Cut and remap: defines removals
README.md - Cut and remap → FFmpeg: cuts video
src/cut.py - Cut and remap → Cut video: writes
src/cut.py - Cut and remap → Word-timed SRT: remaps timings
src/cut.py - CLI orchestrator → Subtitle repacking: dispatches
src/run.py - Subtitle repacking → Packed SRT: builds captions
src/repack.py - CLI orchestrator → ASS and karaoke styling: dispatches
src/run.py - Packed SRT → ASS and karaoke styling: styles cues
src/srt2ass.py - Word-timed SRT → ASS and karaoke styling: aligns karaoke
README.md - ASS and karaoke styling → Styled ASS: writes ASS
src/srt2ass.py - CLI orchestrator → Final composition: dispatches
src/run.py - Styled ASS → Final composition: burns captions
README.md - Cut video → Final composition: supplies edited clip
README.md - Final composition → Graduate cards: uses card assets
src/compose.py - Final composition → FFmpeg: renders with
src/compose.py - Final composition → Final vertical video: writes final
README.md - CLI orchestrator → Subtitle-only embed: dispatches legacy
src/run.py - Subtitle-only embed → FFmpeg: embeds subtitles
src/run.py - CLI orchestrator → Paths and SRT helpers: uses path helpers
src/run.py