-
Notifications
You must be signed in to change notification settings - Fork 223
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
\fry strange random behavior #522
Comments
Found the better link: #285 (comment) |
@SSgumS If you want your rotation to actually look right—and this affects VSFilter, too—you need to make the yellow rectangle smaller. When you rotate it beyond about 29.5°, its left edge gets too close to the camera, so both VSFilter and libass start to distort it. As you can see, libass may even drop it entirely when it gets too large, or when it does show it, e. g. for \fry between 61.2 and 74.5, it takes multiple seconds for every single frame to rasterize it. But again, even ignoring performance and disappearance issues, it simply looks wrong in both VSFilter and libass:
Generally, at such extreme \fry rotations, the source coordinates of the points that rotate towards the camera should be at most −296.875 relative to the \org point. (In your example, the x coordinate is −600, i. e. half of the 1200 width, as the rectangle is centre-aligned.) |
This is really a problematic case as it can lead to overlarge bitmaps. I think it's better to not render it at all than to freeze. Also for such cases to look right we should implement rational spline rendering (but it would be incompatible with VSFIlter). |
Hello
I tested this situation on mpv and aegisub. Both had the issue. So I thought maybe it's from libass itself.
As we can see in the video, the drawing with
\fry
disappears suddenly. I should mention that this is not consistent between different\fry
. With\fry
29 it's ok but when I set it to 30 or 60, it breaks.In mpv:
https://user-images.githubusercontent.com/25867589/122224932-d3acd600-cec9-11eb-872b-0df9d1ca4a9d.mp4
In Aegisub:

Subtitle file used:
fry.zip
The text was updated successfully, but these errors were encountered: