DealForge autonomously sources, scores, and writes investment memos on venture deals. Stop manually hunting.

1,180+ deals tracked  ·  22 AI investment memos  ·  Updated daily

← Back to leaderboard

I fixed FFmpeg's subtitle conversion (the bug from 2014)

Show HN: I fixed FFmpeg's subtitle conversion (the bug from 2014)

53 AI Score
Show_hn devtools Added Mar 21, 2026

Details

Sector
devtools
Total Funding
$0
Last Round
$0

About

FFmpeg converts everything except subtitles across format boundaries. SRT to Blu-ray PGS? &quot;Subtitle encoding currently only possible from text to text or bitmap to bitmap.&quot; Ticket #3819, filed 2014.<p>I built this with Claude Code over a few weeks. Claude wrote most of the encoder, found an integer overflow in the decoder buffer tracking, and ran review from five angles. I read the Panasonic and Sony patents, made the architectural calls, and told it when it was wrong about the spec. We argued about whether DTS computation belongs in the muxer. (It does, and also in fftools. We did both.)<p>Animation is an interesting problem. Advanced SubStation Alpha fades have to survive conversion to Blu-ray&#x27;s PGS format. The encoder watches pixel changes between frames and classifies them: palette shift or full redraw. Fades become palette-only updates, no bitmap retransmission. Overlapping subtitles with different end times took four rewrites and an event lookahead window.<p>I&#x27;d like to maintain this properly and get the patches upstream eventually. If you hit a bug or have a subtitle workflow that doesn&#x27;t work, open an issue. I&#x27;m dead curious what people do with this, but i have some plans for translation related plugins building on the OCR work.<p>Six iterations. 23 patches. libass and Tesseract were already in FFmpeg&#x27;s filter library. I wired them into the main pipeline the same way sub2video works. Text to bitmap, bitmap to text, 114 OCR languages, RGBA-to-GIF. The development page has the history.<p>Pre-built for 6 platforms, no dependencies: <a href="https:&#x2F;&#x2F;connollydavid.github.io&#x2F;pgs-release&#x2F;" rel="nofollow">https:&#x2F;&#x2F;connollydavid.github.io&#x2F;pgs-release&#x2F;</a>

AI Score Reasoning

The project demonstrates exceptional technical depth and problem-solving by fixing a decade-old bottleneck in the world's most critical video infrastructure (FFmpeg). While the engineering talent is top-tier and the utility is high, it currently functions as an open-source contribution rather than a commercial enterprise, lacking a clear monetization strategy or a proprietary moat once upstreamed.

Source

Show_hn — View original →