Idiomdrottning’s homepage

Undertexter

It’s fun and easy to play mp4 videos in the browser directly from a web dirlisting without having to set up a complex and heavy media server but you can’t select subtitles. So here’s a brev app that generates a minimal HTML file that just has a video tag.

It shells out to ffmpeg, which is a requirement, to convert the SRTs.

Usage

undertexter --help
Usage: undertexter [OPTIONS]
 --video=ARG              Video file
 --sub-dir=ARG            Subs directory

Installation

There’s no egg for this one yet but install csc and chicken-install and ffmpeg and then:

git clone https://idiomdrottning.org/undertexter
cd undertexter
chicken-install brev
csc -prologue <(echo "(import brev)") undertexter.brev