DEV Community

Nguyen Bin
Nguyen Bin

Posted on

How I Replaced $540/Year of Creator Subscriptions with 3 Zero-Dependency Local Tools (Python + FFmpeg + Single-File HTML)

Every solo developer, video editor, and freelancer hits the same subscription wall:

  • $15–$25/mo just to burn animated word-by-word captions on short clips without a watermark.
  • $12–$20/mo just to generate clean PDF invoices and track quarterly taxes.
  • $13–$15/mo just to export 1280x720 thumbnails without opening a bloated cloud editor.

That adds up to $480–$540/year for workflows your laptop can already run offline in milliseconds.

Here is the exact technical architecture behind three lightweight, zero-subscription local tools I built—including the working FFmpeg, CSS Print, and HTML5 Canvas patterns you can reuse in your own projects today.


1. Animated Word-by-Word "Hormozi" Karaoke Captions in Pure Python + FFmpeg (Zero pip install)

Most web captioners upload your 1080p clip to a cloud GPU and charge per minute. On a local machine, FFmpeg + libass already supports sub-frame animated karaoke styling natively—without Premiere Pro, After Effects, or paid SaaS APIs.

The trick is converting standard .srt timing lines into an ASS (Advanced SubStation Alpha) file with {\kf<centiseconds>} karaoke timing and \t() pop-in scale tags, then burning it in a single FFmpeg filtergraph alongside a blurred 16:9 to 9:16 vertical reframe:

def build_karaoke_ass_line(words, start_s, end_s):
    """Distribute word timings across a short subtitle chunk using ASS karaoke tags."""
    total_cs = max(10, int((end_s - start_s) * 100))
    per_word = max(5, total_cs // max(1, len(words)))
    anim = r"{\fscx92\fscy92\t(0,80,\fscx108\fscy108)\t(80,150,\fscx100\fscy100)}"
    chunks = "".join(rf"{{\kf{per_word}}}{w} " for w in words)
    return f"{anim}{chunks.strip()}"
Enter fullscreen mode Exit fullscreen mode

Then run a single FFmpeg command that creates a smooth blurred background behind horizontal footage, centers the foreground clip, and burns the UTF-8 ASS captions cleanly:

ffmpeg -y -i input.mp4 \
  -filter_complex "[0:v]scale=1080:1920:force_original_aspect_ratio=increase,crop=1080:1920,boxblur=24:6[bg]; \
  [0:v]scale=1080:-2:force_original_aspect_ratio=decrease[fg]; \
  [bg][fg]overlay=(W-w)/2:(H-h)/2,ass=captions.ass[v]" \
  -map "[v]" -map 0:a? -c:v libx264 -preset fast -crf 18 -c:a aac -b:a 192k output_9x16.mp4
Enter fullscreen mode Exit fullscreen mode

Why this beats cloud tools:

  • Works 100% offline on Windows, macOS, and Linux (Python stdlib http.server provides a clean local browser UI with zero pip dependencies).
  • Full UTF-8 support (English, Vietnamese, Spanish, etc.) with crisp outlines and zero watermarks.

2. Clean Print-Ready PDF Invoices + Tax CSV Ledger in a Single Offline HTML File

Why pay $15/month for invoicing SaaS when Chrome/Edge's native print engine renders pixel-perfect vector PDFs directly from CSS @media print?

Two small CSS rules eliminate 99% of browser PDF glitches:

@page { size: A4; margin: 12mm; }
@media print {
  body { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .no-print, .toolbar, .sidebar { display: none !important; }
  .invoice-sheet { box-shadow: none !important; margin: 0 !important; width: 100% !important; }
}
Enter fullscreen mode Exit fullscreen mode

Combine that with FileReader.readAsDataURL() to embed a client logo + payment QR code straight into the DOM without uploading anything to a server, plus localStorage to export a clean .csv tax ledger on demand. The entire app weighs under 25 KB.


3. Native Full-Resolution YouTube & Freelance Thumbnails via HTML5 Canvas 2D

Instead of logging into Canva every time you need a crisp 1280x720 YouTube cover or 1280x769 gig thumbnail, an offscreen <canvas> gives you deterministic typography, auto-wrapped headlines, high-contrast badges, and 1-click full-res PNG exports (canvas.toDataURL('image/png')) locally in your browser.


Want the Pre-Packaged 1-Click Suite?

You can absolutely build your own scripts using the patterns above!

If you'd rather save a weekend and grab all three finished, cross-platform offline tools (polished local UIs, 1-click launchers, lifetime use, zero subscriptions, zero watermarks):

  • CaptionForge Pro v1.0 ($19) — Offline Hormozi/Karaoke Captions & 9:16 Studio
  • InvoiceForge Pro 2027 ($15) — Single-File Offline PDF Invoice, QR & Tax CSV Studio
  • ThumbnailForge Studio 2027 ($17) — Offline Full-Res HD Thumbnail & Gig Cover Maker
  • Zero-SaaS Creator Suite 2027 Bundle ($39 — Save 25%, all 3 tools included):

Happy to answer any questions about the FFmpeg ASS karaoke filtergraph, @media print PDF layout, or Canvas auto-fit typography in the comments!

Top comments (1)

Collapse
 
userxnom profile image
Abdullah Naseer •

The part that actually sold me is the ASS karaoke trick — converting .srt timings into {\kf} and letting libass do the word-by-word pop-in inside a single FFmpeg filtergraph, with the blurred 16:9 to 9:16 background in the same pass. Most people reaching for captions assume they need a cloud GPU or Premiere; the idea that the whole thing is a text file plus a filtergraph is the kind of leverage that's easy to underestimate until you try it.

The invoice one is the sleeper hit for me, though: @page { size: A4; margin: 12mm } plus print-color-adjust: exact is two rules, and it kills the whole class of "the PDF looked fine in the browser" bugs. Embedding the logo and payment QR with FileReader.readAsDataURL so nothing ever leaves the machine is the right call for a finance doc — a client invoice is the last thing you want uploaded to a random SaaS.

Two sharp questions: for the karaoke captions, how do you handle a word that spans a line break, or a chunk where the speaker pauses mid-sentence — do you split the timing across the \kf tags, or hold the word on screen? And on the thumbnail canvas, when a headline wraps, do you shrink the font to fit or reflow onto a second line?