Giter Site home page Giter Site logo

Comments (1)

astiob avatar astiob commented on June 26, 2024

libass only outputs alpha masks and doesn’t blend them onto the video itself; the video player does that. Our calculations for blur are exactly the same on all platforms; at most, we have differently accelerated versions of the code for different CPUs, but we verify that they produce the same output. I suspect that your Android video renderer does something wrong when it blends the alpha masks onto the video, although I’m afraid I can’t say what exactly is wrong just from looking at the picture.

If there were many layers stacked on top of each other, it would be normal to see banding if each layer is blended without dithering, e. g. as pictured in #442, but again this should happen on all platforms. (This can be avoided by blending in floating point or applying random dithering. But this doesn’t seem to be your issue anyway.)

The two pictures in the report show different subtitles and (also important for blending) different videos, and the bad case’s ASS isn’t shown, so I also can’t completely rule out (based on these samples alone) the possibility that there’s some problem with that particular sample’s ASS, after all, although I trust you that you’ve verified this before filing the report. At the very least, the ASS does seem to differ: one sample has underline but the other doesn’t, and the size or resolution seems different too.

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.