💾 Archived View for idiomdrottning.org › undertexter captured on 2024-05-10 at 11:31:28. Gemini links have been rewritten to link to archived content
⬅️ Previous capture (2023-01-29)
-=-=-=-=-=-=-
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.
undertexter --help Usage: undertexter [OPTIONS] --video=ARG Video file --sub-dir=ARG Subs directory
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