💾 Archived View for idiomdrottning.org › undertexter captured on 2023-01-29 at 15:41:28. Gemini links have been rewritten to link to archived content

View Raw

More Information

⬅️ Previous capture (2023-01-29)

-=-=-=-=-=-=-

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