Comments (1)
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)
- Investigate unexpected vsfilter behavior with \h on certain font HOT 15
- Font size differs from VSFilter for specific fonts HOT 4
- Try to parse script properties even if missing "[Script Info]" HOT 1
- Significant perf drop for specific, lower(!) resolution HOT 2
- Rendering: Unable to render some bitmap style fonts HOT 2
- Rendering: unexpected stretching HOT 3
- Rendering: libass doesn't set a default name for the style when it is empty HOT 1
- How to handle auto wrap when burn chinese subtitle with ffmpeg HOT 1
- Rendering: Drawing without m isn't rendered by VSFilter HOT 2
- Why is the macro definition 'PARSE_START if (0)' executed HOT 1
- image question HOT 4
- A subset font has ligatures applied in VSFilter even without complex scripts HOT 1
- Some questions about ASS File Format Guide HOT 7
- Rendering: English glyph for Segoe UI Variable Display is wrong from yesterday HOT 2
- \ko fails to remove outline from shadow HOT 3
- Rendering: performance issue while rendering running rainbow animated subtitles HOT 4
- Rendering: Wrong font used for mpv OSD on Fedora 39+ HOT 2
- Multiple \pos tags in one line, any way to use them? HOT 2
- Inline fallback fonts should be sized to main font’s EM height, not line height
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from libass.