/work/mediamix

mediamix

what it is
tool / automation
role
scoping, code, tests
year
2026
platform
Python + ffmpeg

Demo project: the businesses in the examples are fictional, there is no client. Code and tests were written for the portfolio.

Demo project for the portfolio.

The task: a voice-over, music and a video should become a ready MP4 with subtitles for social media, with no manual editing.

A single mediamix.

py, only ffmpeg is required.

Music is looped or trimmed to the voice, ducked under speech (sidechaincompress), loudness is normalised to −16 LUFS, with a fade-out; if the video is shorter, the last frame is held.

Subtitles from timed text, untimed text (split on pauses), an SRT file or optional Whisper.

pytest 34/34; the demo clip is 14.

7 s, 1.

8 MB, −15.

8 LUFS, ducking measured at −14.

5 dB.

Demo inputs are synthetic.

skills and tools

  • Python + ffmpeg
  • Python
  • ffmpeg
  • SRT
  • Whisper
  • pytest
  • automation

screens

cover
cover
inputs and the output waveform: music ducks under the voice
inputs and the output waveform: music ducks under the voice
next projectn8n leads
human