Automating video edits via code
Using manual video editors takes hours. I designed Python scripts to automate scene transitions, audio ducking (reducing background music when voiceover plays), and caption synchronization programmatically.



A complete channel management automation tool that generates video scripts, voiceovers, and uploads content.
Using manual video editors takes hours. I designed Python scripts to automate scene transitions, audio ducking (reducing background music when voiceover plays), and caption synchronization programmatically.
I kept the prompt templates separate from the code so I could easily tune the scriptwriting style or switch between OpenAI and Anthropic models depending on cost and quality.
Generating subtitles that align perfectly with the voiceover required parsing word-level timestamps returned by the TTS engine and drawing them onto individual frames of the video.