r/Python • • 19d ago

Showcase Showcase Thread

Post all of your code/projects/showcases/AI slop here.

Recycles once a month.

26 Upvotes

146 comments sorted by

View all comments

1

u/Important-Carpet329 6d ago

CUEVA Subtitle Core — I extracted the subtitle segmenter from my desktop video editor into a small Python library.

What my project does: Give it words with start and end times, and it groups them into cues with line-length and timing limits. It writes SRT, WebVTT and ASS. The README has a runnable Turkish example, and the tests include Japanese text without spaces.

Target audience: Python developers who already have word timestamps from a recognizer and need captions for a video or player.

Comparison: A speech recognizer gives you the transcript and timestamps. This package handles the step between those timestamps and a readable subtitle file. It runs without a speech model, API key or Resolve installation.

If you work with multilingual captions, I’d be interested in short examples where automatic line breaks make a sentence harder to read.

https://github.com/emreyunusbas/cueva-subtitle-core