A CLI for transcribing videos and burning subtitles into MP4 with ffmpeg.
Install directly from the repository with uv:
uv tool install git+https://github.com/blasferna/suburn.gitThis installs the suburn command globally.
suburn transcribe video.mkvGenerates video.srt using the default small.en whisperfile model.
suburn burn video.mkvCreates video-sub.mp4 with auto-generated subtitles.
Use your own SRT file:
suburn burn video.mkv -s subtitles.srtsuburn preview video.mkv -s subtitles.srt --duration 10Creates a 10-second preview with burned subtitles.
suburn models list
suburn models download tiny.en
suburn models default tiny.enDefault subtitle style is Netflix-like: white text on a semi-transparent dark grey box at the bottom.
You can customize it:
suburn burn video.mkv \
--font-size 24 \
--font-color white \
--box-color "#333333" \
--position bottomFor a fully opaque background, use an ASS alpha value of 00:
suburn burn video.mkv --box-color "&H00333333"- When you provide an SRT with
-s, it is never modified or deleted. - Auto-generated SRT files are kept next to the input video by default.
Clone the repository and run the tests:
uv run pytestRun slow end-to-end tests with:
uv run pytest -m slowMIT