Subtitle antialiasing (or independent scaling)
Nobody has claimed this yet.
- Dominant language
- C
- Stars
- 37k
- Forks
- 3.5k
- Avg merge
- 1d 10h
- Merged PRs (30d)
- 22
Description
Aliasing in ASS subtitles can be "solved" with blend-subtitles=video:scale=ewa_lanczossharp:scale-blur=1.5:dscale=bicubic/mitchell, but this also applies blur to whole image, causing loss of detail.
It would be great to have the option to apply blur only to the ASS subtitles or use different upscaling/downscaling methods for the subs (independently from the video scalers).
Some ideas:
#Independent subtitle scaling
scale=ewa_lanczossharp:ass-scale=bicubic
dscale=anysharpdownscaler:ass-dscale=mitchell
#Blur/antialiasing
scale=ewa_lanczossharp:scale-blur=1.15:ass-scale=ewa_lanczos:ass-scale-blur=1.6
scale=ewa_lanczossharp:dscale=mitchell:ass-aa=yes
#AA/blur when not scaling
wns-ass-blur=1.12
wns-ass-aa=yes
ass-scale=bicubic:ass-dscale=mitchell:wns-ass-blur=1.12
#drawing subtitles to window resolution and then apply a soft downscaling to video resolution
ass-autoscaling #not supposed to work with _blend-subtitles=video_
ass-autoscaling:wns-ass-aa=yes
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No files, tests, or entry points are identified in the issue. Start by locating mpv's ASS subtitle rendering and video scaling paths, then define and test a focused design that applies subtitle antialiasing or independent scaling without blurring the video.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- c
- Domain
- audio-video-rtc, cli
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100