Giter Site home page Giter Site logo

SSA AlphaLevel support about libass HOT 2 CLOSED

libass avatar libass commented on May 27, 2024
SSA AlphaLevel support

from libass.

Comments (2)

astiob avatar astiob commented on May 27, 2024

Frankly, I don’t see how the override tags relate to injecting something through player settings. But let’s get on to the main question.

AlphaLevel is a style property in SSA; it does not exist in ASS because alpha is specified in the colour fields. I think libass currently ignores AlphaLevel; this should probably be fixed. I suppose we can add support for AlphaLevel forced overrides at the same time. Note that you can already use colour field overrides to change the alpha, but, of course, you need to specify the colour too, so this is probably not very useful if you just want all subtitles to be semi-transparent.

Note also that changing AlphaLevel does not make the whole line equally translucent: it affects shadows separately from main glyphs and outlines, so if you have a line with some shadow, you will see a translucent shadow and overlaid on top of that translucent glyphs (with borders).

from libass.

bitingsock avatar bitingsock commented on May 27, 2024

Sorry, I'm not actually very knowledgeable about a lot of this. Just seemed like libass might implement it this or some other way.
The specs said "AlphaLevel. This defines the transparency of the text." do you just have to specify which element it's affecting or what?
Anyway, do you know why they don't include it in ASS? Seems useful still. Or do you know of anyway to change alpha levels but keep the same colors the style dictates?

from libass.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.