mpv-player / mpv-player/mpv

Render subtitles without anti-alias / Render subtitle borders squarely

Open
#13,269 3 comments 4 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

meta:feature-request
Dominant language
C
Stars
37k
Forks
3.5k
Avg merge
1d 10h
Merged PRs (30d)
22

Description

Expected behavior of the wanted feature

Would like to copy the look of VobSub style would come in DVDs for nostalgia purposes. Since sub-border-size="" renders with anti-alias, it's not currently possible to copy the pixelated look of it:

img217_5659_pelote4jy7

Alternative behavior of the wanted feature

Short of finding a font which somehow renders its insides pixelated in purpose, I can't think of an alternative solution for live rendering of the style.

Log file

Tentatively related: https://github.com/mpv-player/mpv/issues/2820

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by tracing the subtitle rendering path for the sub-border-size option and review the related issue #2820. Determine how anti-aliasing and border shapes are currently handled; done means subtitles can reproduce a pixelated VobSub-like appearance with square borders.

Written by the indexing model from the issue text.

Assessment

Tech stack
c
Domain
audio-video-rtc, cli
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.