Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Subtitle antialiasing (or independent scaling) #2820

Open
D4Ndan opened this issue Feb 14, 2016 · 5 comments
Open

Subtitle antialiasing (or independent scaling) #2820

D4Ndan opened this issue Feb 14, 2016 · 5 comments

Comments

@D4Ndan
Copy link

D4Ndan commented Feb 14, 2016

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
@ghost
Copy link

ghost commented Feb 14, 2016

Seems unlikely to get implemented, unless someone wants to work on it.

@haasn
Copy link
Member

haasn commented Feb 14, 2016

It would be very easy to add a sub-blur=<strength> option that just does a gaussian blur or something.

Is supporting the whole scale-filter mechanism really necessary? It wouldn't be too difficult but I'd be opposed to the extra option bloat more than anything else.

@ghost ghost closed this as completed in fa821de Feb 14, 2016
@ghost
Copy link

ghost commented Feb 14, 2016

Wrong issue.

@ghost ghost reopened this Feb 14, 2016
@ghost
Copy link

ghost commented May 26, 2016

Also there is --sub-gauss, which does it in software, and only works for bitmap subtitles.

@Akemi Akemi changed the title Request: Subtitle antialiasing (or independent scaling) Subtitle antialiasing (or independent scaling) Sep 21, 2019
@co5mo
Copy link

co5mo commented Nov 24, 2019

this is preventing me from using this app the subs are horribly pixelated even vobsub has better rendering

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants